From: Bill Wendling Date: Fri, 6 Feb 2009 21:36:23 +0000 (+0000) Subject: Clear out the CurDebugLoc info when doing a 'clear' on the SDL object. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8fcf170a66de974989f730d1e0d01d5fc63d6b8b;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 7690220ddb3..e70c1148fc7 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,