Clear out the CurDebugLoc info when doing a 'clear' on the SDL object.

llvm-svn: 63967
This commit is contained in:
Bill Wendling 2009-02-06 21:36:23 +00:00
parent 3ebc1ca43e
commit 03c34d0d3c
1 changed files with 1 additions and 0 deletions

View File

@ -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,