mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +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>();
|
||||
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
Block a user