summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-06 21:36:23 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-06 21:36:23 +0000
commit03c34d0d3c65c89e8eda1965ab550afd7b354bb3 (patch)
treed13b9a147cafe520787f997717722b2310f737f6 /llvm/lib/CodeGen/SelectionDAG
parent3ebc1ca43e377ecb0307da9af95bfafdc66603ef (diff)
downloadbcm5719-llvm-03c34d0d3c65c89e8eda1965ab550afd7b354bb3.tar.gz
bcm5719-llvm-03c34d0d3c65c89e8eda1965ab550afd7b354bb3.zip
Clear out the CurDebugLoc info when doing a 'clear' on the SDL object.
llvm-svn: 63967
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 7690220ddb3..e70c1148fc7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -757,6 +757,7 @@ void SelectionDAGLowering::clear() {
PendingLoads.clear();
PendingExports.clear();
DAG.clear();
+ CurDebugLoc = DebugLoc::getUnknownLoc();
}
/// getRoot - Return the current virtual root of the Selection DAG,
OpenPOWER on IntegriCloud