summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.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/AsmPrinter/DwarfDebug.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/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index e275d3aac7d..8c792ed53a6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -997,7 +997,7 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) {
return;
if (!PrevLabel) {
- PrevLabel = MMI->getContext().CreateTempSymbol();
+ PrevLabel = MMI->getContext().createTempSymbol();
Asm->OutStreamer->EmitLabel(PrevLabel);
}
I->second = PrevLabel;
@@ -1025,7 +1025,7 @@ void DwarfDebug::endInstruction() {
// We need a label after this instruction.
if (!PrevLabel) {
- PrevLabel = MMI->getContext().CreateTempSymbol();
+ PrevLabel = MMI->getContext().createTempSymbol();
Asm->OutStreamer->EmitLabel(PrevLabel);
}
I->second = PrevLabel;
OpenPOWER on IntegriCloud