Remove some dead code. This method only gets called on

definitions.

llvm-svn: 98368
This commit is contained in:
Chris Lattner 2010-03-12 19:14:18 +00:00
parent 6428db5089
commit 8abe1ce883
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}