forked from OSchip/llvm-project
Remove some dead code. This method only gets called on
definitions. llvm-svn: 98368
This commit is contained in:
parent
6428db5089
commit
8abe1ce883
|
@ -63,11 +63,6 @@ MCSymbol *X86AsmPrinter::GetGlobalValueSymbol(const GlobalValue *GV) const {
|
|||
MMI->getObjFileInfo<X86COFFMachineModuleInfo>();
|
||||
COFFMMI.DecorateCygMingName(Symb, OutContext, GV, *TM.getTargetData());
|
||||
|
||||
// Save function name for later type emission.
|
||||
const Function *F = cast<Function>(GV);
|
||||
if (F->isDeclaration())
|
||||
COFFMMI.addExternalFunction(Symb->getName());
|
||||
|
||||
return Symb;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue