summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2014-10-24 02:46:50 +0000
committerMarcello Maggioni <hayarms@gmail.com>2014-10-24 02:46:50 +0000
commit2259400f8e112b580d6e2dfb55066fc94acf2190 (patch)
tree35bcb90375486af6f4ea27693fd6c4ca3bf514f0 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent2bc90fdbdc833a698e544b24d0ad2e9a29f34fef (diff)
downloadbcm5719-llvm-2259400f8e112b580d6e2dfb55066fc94acf2190.tar.gz
bcm5719-llvm-2259400f8e112b580d6e2dfb55066fc94acf2190.zip
Added reset of LexicalScope in LiveDebugVariables reset function.
llvm-svn: 220545
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index 72d0e138a3f..16248510880 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud