summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.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/X86/MCTargetDesc/X86MachORelocationInfo.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/X86/MCTargetDesc/X86MachORelocationInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
index 81749fcc6b4..6cf5af7217f 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
@@ -36,7 +36,7 @@ public:
any_relocation_info RE = Obj->getRelocation(Rel.getRawDataRefImpl());
bool isPCRel = Obj->getAnyRelocationPCRel(RE);
- MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName);
+ MCSymbol *Sym = Ctx.getOrCreateSymbol(SymName);
// FIXME: check that the value is actually the same.
if (!Sym->isVariable())
Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx));
@@ -92,7 +92,7 @@ public:
StringRef RSymName;
RSymI->getName(RSymName);
- MCSymbol *RSym = Ctx.GetOrCreateSymbol(RSymName);
+ MCSymbol *RSym = Ctx.getOrCreateSymbol(RSymName);
if (!RSym->isVariable())
RSym->setVariableValue(MCConstantExpr::Create(RSymAddr, Ctx));
OpenPOWER on IntegriCloud