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/CodeGen/MachineModuleInfo.cpp | |
parent | f8a0db50b25ce696ae0644e75188c3d2f2465f5d (diff) | |
download | llvm-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/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 2352692a..d9da7bc 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -118,7 +118,7 @@ MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) { BBCallbacks.back().setMap(this); Entry.Index = BBCallbacks.size()-1; Entry.Fn = BB->getParent(); - MCSymbol *Result = Context.CreateTempSymbol(); + MCSymbol *Result = Context.createTempSymbol(); Entry.Symbols = Result; return Result; } @@ -401,7 +401,7 @@ void MachineModuleInfo::addInvoke(MachineBasicBlock *LandingPad, /// addLandingPad - Provide the label of a try LandingPad block. /// MCSymbol *MachineModuleInfo::addLandingPad(MachineBasicBlock *LandingPad) { - MCSymbol *LandingPadLabel = Context.CreateTempSymbol(); + MCSymbol *LandingPadLabel = Context.createTempSymbol(); LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); LP.LandingPadLabel = LandingPadLabel; return LandingPadLabel; |