[llvm-commits] [llvm] r131078 - /llvm/trunk/lib/MC/MCDwarf.cpp

NAKAMURA Takumi geek4civic at gmail.com
Sun May 8 16:19:04 PDT 2011


Author: chapuni
Date: Sun May  8 18:19:04 2011
New Revision: 131078

URL: http://llvm.org/viewvc/llvm-project?rev=131078&view=rev
Log:
Eliminate an unused line to fix a warning.

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=131078&r1=131077&r2=131078&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Sun May  8 18:19:04 2011
@@ -867,7 +867,6 @@
                                          uint64_t AddrDelta) {
   SmallString<256> Tmp;
   raw_svector_ostream OS(Tmp);
-  const TargetAsmInfo &AsmInfo = Streamer.getContext().getTargetAsmInfo();
   MCDwarfFrameEmitter::EncodeAdvanceLoc(AddrDelta, OS);
   Streamer.EmitBytes(OS.str(), /*AddrSpace=*/0);
 }





More information about the llvm-commits mailing list