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 | a1f8ff40a4e457df77517503aabdc694419dc511 (patch) | |
tree | 9f12bc40ec6aaf184769770c37cf2b5c5adc5d38 /lib | |
parent | 943446b9694c1f2b4af9b99fb3e75585ae05cd43 (diff) | |
download | external_llvm-a1f8ff40a4e457df77517503aabdc694419dc511.zip external_llvm-a1f8ff40a4e457df77517503aabdc694419dc511.tar.gz external_llvm-a1f8ff40a4e457df77517503aabdc694419dc511.tar.bz2 |
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')
-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 7690220..e70c114 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, |