Added reset of LexicalScope in LiveDebugVariables reset function.
authorMarcello Maggioni <hayarms@gmail.com>
Fri, 24 Oct 2014 02:46:50 +0000 (02:46 +0000)
committerMarcello Maggioni <hayarms@gmail.com>
Fri, 24 Oct 2014 02:46:50 +0000 (02:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220545 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveDebugVariables.cpp

index 72d0e138a3f71d43ab48a393d8eab19dd176cd60..1624851088044e369136ea70023b852a9eb72818 100644 (file)
@@ -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.