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 | 03c34d0d3c65c89e8eda1965ab550afd7b354bb3 (patch) | |
| tree | d13b9a147cafe520787f997717722b2310f737f6 | |
| parent | 3ebc1ca43e377ecb0307da9af95bfafdc66603ef (diff) | |
| download | bcm5719-llvm-03c34d0d3c65c89e8eda1965ab550afd7b354bb3.tar.gz bcm5719-llvm-03c34d0d3c65c89e8eda1965ab550afd7b354bb3.zip  | |
Clear out the CurDebugLoc info when doing a 'clear' on the SDL object.
llvm-svn: 63967
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 1 | 
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,  | 

