aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-23 20:25:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-23 20:25:31 +0000
commitae3d78ac1865d6470874cc85de90a2ce4d9c7e80 (patch)
tree8824f56e1349e9025ab3e49050861deff901679a /llvm/lib/MC/MCDwarf.cpp
parent384ade9b11c22d2f3bb235024b23cbaf99860adf (diff)
downloadllvm-ae3d78ac1865d6470874cc85de90a2ce4d9c7e80.zip
llvm-ae3d78ac1865d6470874cc85de90a2ce4d9c7e80.tar.gz
llvm-ae3d78ac1865d6470874cc85de90a2ce4d9c7e80.tar.bz2
Update variable name and reuse existing variable. NFC.
llvm-svn: 233014
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index ccfba66..91b277c 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -189,18 +189,18 @@ EmitDwarfLineTable(MCObjectStreamer *MCOS, const MCSection *Section,
// correct place.
MCOS->SwitchSection(Section);
- MCContext &context = MCOS->getContext();
+ MCContext &Ctx = MCOS->getContext();
// Create a symbol at the end of the section.
- MCSymbol *SectionEnd = context.CreateTempSymbol();
+ MCSymbol *SectionEnd = Ctx.CreateTempSymbol();
// Set the value of the symbol, as we are at the end of the section.
MCOS->EmitLabel(SectionEnd);
// Switch back the dwarf line section.
- MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection());
+ MCOS->SwitchSection(Ctx.getObjectFileInfo()->getDwarfLineSection());
- const MCAsmInfo *asmInfo = MCOS->getContext().getAsmInfo();
+ const MCAsmInfo *AsmInfo = Ctx.getAsmInfo();
MCOS->EmitDwarfAdvanceLineAddr(INT64_MAX, LastLabel, SectionEnd,
- asmInfo->getPointerSize());
+ AsmInfo->getPointerSize());
}
//