1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

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 0bcd93798a
commit 741b3e4e5f

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