diff options
author | Jim Grosbach <grosbach@apple.com> | 2015-05-18 18:43:14 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2015-05-18 18:43:14 +0000 |
commit | 6f482000e996767855f6452c36d127e8c7c8e82d (patch) | |
tree | 20250311ad06aeafdbc7751af9e7a2d20977fef6 /llvm/lib/Target/Sparc/SparcAsmPrinter.cpp | |
parent | f8a0db50b25ce696ae0644e75188c3d2f2465f5d (diff) | |
download | bcm5719-llvm-6f482000e996767855f6452c36d127e8c7c8e82d.tar.gz bcm5719-llvm-6f482000e996767855f6452c36d127e8c7c8e82d.zip |
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.
llvm-svn: 237594
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcAsmPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp index e90988d2169..9903bc5799d 100644 --- a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp @@ -176,7 +176,7 @@ void SparcAsmPrinter::LowerGETPCXAndEmitMCInsts(const MachineInstr *MI, const MCSubtargetInfo &STI) { MCSymbol *GOTLabel = - OutContext.GetOrCreateSymbol(Twine("_GLOBAL_OFFSET_TABLE_")); + OutContext.getOrCreateSymbol(Twine("_GLOBAL_OFFSET_TABLE_")); const MachineOperand &MO = MI->getOperand(0); assert(MO.getReg() != SP::O7 && @@ -225,9 +225,9 @@ void SparcAsmPrinter::LowerGETPCXAndEmitMCInsts(const MachineInstr *MI, return; } - MCSymbol *StartLabel = OutContext.CreateTempSymbol(); - MCSymbol *EndLabel = OutContext.CreateTempSymbol(); - MCSymbol *SethiLabel = OutContext.CreateTempSymbol(); + MCSymbol *StartLabel = OutContext.createTempSymbol(); + MCSymbol *EndLabel = OutContext.createTempSymbol(); + MCSymbol *SethiLabel = OutContext.createTempSymbol(); MCOperand RegO7 = MCOperand::createReg(SP::O7); |