summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2015-05-18 18:43:14 +0000
committerJim Grosbach <grosbach@apple.com>2015-05-18 18:43:14 +0000
commit6f482000e996767855f6452c36d127e8c7c8e82d (patch)
tree20250311ad06aeafdbc7751af9e7a2d20977fef6 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parentf8a0db50b25ce696ae0644e75188c3d2f2465f5d (diff)
downloadbcm5719-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/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index db543f33392..1b02a1c60bb 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -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());
OpenPOWER on IntegriCloud