mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
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:
parent
2341f6ccf8
commit
1c95488880
@ -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