[llvm] r220545 - Added reset of LexicalScope in LiveDebugVariables reset function.

Marcello Maggioni hayarms at gmail.com
Thu Oct 23 19:46:51 PDT 2014


Author: mggm
Date: Thu Oct 23 21:46:50 2014
New Revision: 220545

URL: http://llvm.org/viewvc/llvm-project?rev=220545&view=rev
Log:
Added reset of LexicalScope in LiveDebugVariables reset function.

Modified:
    llvm/trunk/lib/CodeGen/LiveDebugVariables.cpp

Modified: llvm/trunk/lib/CodeGen/LiveDebugVariables.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveDebugVariables.cpp?rev=220545&r1=220544&r2=220545&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveDebugVariables.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveDebugVariables.cpp Thu Oct 23 21:46:50 2014
@@ -347,6 +347,7 @@ public:
            "Dbg values are not emitted in LDV");
     EmitDone = false;
     ModifiedMF = false;
+    LS.reset();
   }
 
   /// mapVirtReg - Map virtual register to an equivalence class.





More information about the llvm-commits mailing list