mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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 *&StubSym =
|
||||
MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym);
|
||||
if (StubSym == 0) {
|
||||
TempNameStr.erase(TempNameStr.end()-5, TempNameStr.end());
|
||||
if (StubSym == 0)
|
||||
StubSym = GetExternalSymbolSymbol(MO.getSymbolName());
|
||||
}
|
||||
O << *Sym;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user