From: Marcello Maggioni Date: Fri, 24 Oct 2014 02:46:50 +0000 (+0000) Subject: Added reset of LexicalScope in LiveDebugVariables reset function. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=77348a5703d4dd697e834b4ff422d5d60ddf8f80;p=oota-llvm.git Added reset of LexicalScope in LiveDebugVariables reset function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220545 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveDebugVariables.cpp b/lib/CodeGen/LiveDebugVariables.cpp index 72d0e138a3f..16248510880 100644 --- a/lib/CodeGen/LiveDebugVariables.cpp +++ b/lib/CodeGen/LiveDebugVariables.cpp @@ -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.