aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.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/CodeGen/MachineBasicBlock.cpp
parentf8a0db50b25ce696ae0644e75188c3d2f2465f5d (diff)
downloadllvm-6f482000e996767855f6452c36d127e8c7c8e82d.zip
llvm-6f482000e996767855f6452c36d127e8c7c8e82d.tar.gz
llvm-6f482000e996767855f6452c36d127e8c7c8e82d.tar.bz2
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/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 34131bb..937d370 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -53,7 +53,7 @@ MCSymbol *MachineBasicBlock::getSymbol() const {
const MachineFunction *MF = getParent();
MCContext &Ctx = MF->getContext();
const char *Prefix = Ctx.getAsmInfo()->getPrivateLabelPrefix();
- CachedMCSymbol = Ctx.GetOrCreateSymbol(Twine(Prefix) + "BB" +
+ CachedMCSymbol = Ctx.getOrCreateSymbol(Twine(Prefix) + "BB" +
Twine(MF->getFunctionNumber()) +
"_" + Twine(getNumber()));
}