Remove some dead code. This method only gets called on

definitions.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-03-12 19:14:18 +00:00
parent 2341f6ccf8
commit 1c95488880

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