[llvm] r233014 - Update variable name and reuse existing variable. NFC.

Rafael Espindola rafael.espindola at gmail.com
Mon Mar 23 13:25:31 PDT 2015


Author: rafael
Date: Mon Mar 23 15:25:31 2015
New Revision: 233014

URL: http://llvm.org/viewvc/llvm-project?rev=233014&view=rev
Log:
Update variable name and reuse existing variable. NFC.

Modified:
    llvm/trunk/lib/MC/MCDwarf.cpp

Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=233014&r1=233013&r2=233014&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Mon Mar 23 15:25:31 2015
@@ -189,18 +189,18 @@ EmitDwarfLineTable(MCObjectStreamer *MCO
   // 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());
 }
 
 //





More information about the llvm-commits mailing list