mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
MC: Clean up method names in MCContext.
The naming was a mish-mash of old and new style. Update to be consistent with the new. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -110,7 +110,7 @@ MCSymbol *TargetLoweringObjectFile::getSymbolWithGlobalValueBase(
|
||||
NameStr += DL->getPrivateGlobalPrefix();
|
||||
TM.getNameWithPrefix(NameStr, GV, Mang);
|
||||
NameStr.append(Suffix.begin(), Suffix.end());
|
||||
return Ctx->GetOrCreateSymbol(NameStr);
|
||||
return Ctx->getOrCreateSymbol(NameStr);
|
||||
}
|
||||
|
||||
MCSymbol *TargetLoweringObjectFile::getCFIPersonalitySymbol(
|
||||
@ -330,7 +330,7 @@ getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding,
|
||||
case dwarf::DW_EH_PE_pcrel: {
|
||||
// Emit a label to the streamer for the current position. This gives us
|
||||
// .-foo addressing.
|
||||
MCSymbol *PCSym = getContext().CreateTempSymbol();
|
||||
MCSymbol *PCSym = getContext().createTempSymbol();
|
||||
Streamer.EmitLabel(PCSym);
|
||||
const MCExpr *PC = MCSymbolRefExpr::Create(PCSym, getContext());
|
||||
return MCBinaryExpr::CreateSub(Sym, PC, getContext());
|
||||
|
Reference in New Issue
Block a user