mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
remove dead .erase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f38a33cd0a
commit
717ce2b8d8
@ -216,10 +216,8 @@ namespace {
|
|||||||
const MCSymbol *Sym = GetExternalSymbolSymbol(TempNameStr.str());
|
const MCSymbol *Sym = GetExternalSymbolSymbol(TempNameStr.str());
|
||||||
const MCSymbol *&StubSym =
|
const MCSymbol *&StubSym =
|
||||||
MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym);
|
MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym);
|
||||||
if (StubSym == 0) {
|
if (StubSym == 0)
|
||||||
TempNameStr.erase(TempNameStr.end()-5, TempNameStr.end());
|
|
||||||
StubSym = GetExternalSymbolSymbol(MO.getSymbolName());
|
StubSym = GetExternalSymbolSymbol(MO.getSymbolName());
|
||||||
}
|
|
||||||
O << *Sym;
|
O << *Sym;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user