From 46b04e4d067456c4964925a714168aac956ae681 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 16 Apr 2009 01:33:10 +0000 Subject: If FastISel is run and it has known DebugLoc then use it. llvm-svn: 69253 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h index a9c3d6a523b..7a76c5f83d2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h @@ -392,6 +392,7 @@ public: SDValue getControlRoot(); DebugLoc getCurDebugLoc() const { return CurDebugLoc; } + void setCurDebugLoc(DebugLoc dl) { CurDebugLoc = dl; } void CopyValueToVirtualRegister(Value *V, unsigned Reg); @@ -542,8 +543,6 @@ private: const char *implVisitBinaryAtomic(CallInst& I, ISD::NodeType Op); const char *implVisitAluOverflow(CallInst &I, ISD::NodeType Op); - - void setCurDebugLoc(DebugLoc dl) { CurDebugLoc = dl; } }; /// AddCatchInfo - Extract the personality and type infos from an eh.selector -- cgit v1.2.3