diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-06 21:36:23 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-06 21:36:23 +0000 |
commit | 8fcf170a66de974989f730d1e0d01d5fc63d6b8b (patch) | |
tree | 9f12bc40ec6aaf184769770c37cf2b5c5adc5d38 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 4936548c0613492d9d6c311103c5becc88658c6d (diff) |
Clear out the CurDebugLoc info when doing a 'clear' on the SDL object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 7690220ddb..e70c1148fc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/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, |