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:
parent
0bcd93798a
commit
741b3e4e5f
@ -63,11 +63,6 @@ MCSymbol *X86AsmPrinter::GetGlobalValueSymbol(const GlobalValue *GV) const {
|
|||||||
MMI->getObjFileInfo<X86COFFMachineModuleInfo>();
|
MMI->getObjFileInfo<X86COFFMachineModuleInfo>();
|
||||||
COFFMMI.DecorateCygMingName(Symb, OutContext, GV, *TM.getTargetData());
|
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;
|
return Symb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user