From 8fcf170a66de974989f730d1e0d01d5fc63d6b8b Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 6 Feb 2009 21:36:23 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 1 + 1 file changed, 1 insertion(+) 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, -- 2.34.1