From 805da894cf7976e85ed001633fcaafbb5842dcf8 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 18 May 2009 18:21:03 +0000 Subject: [PATCH] Revert last commit. It was wrong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72026 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index b8f22d6bfa2..bbd8b5aa360 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -3929,8 +3929,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { MachineFunction &MF = DAG.getMachineFunction(); DISubprogram Subprogram(cast(REI.getContext())); - if (OptLevel == CodeGenOpt::None || - Subprogram.isNull() || Subprogram.describes(MF.getFunction())) { + if (Subprogram.isNull() || Subprogram.describes(MF.getFunction())) { unsigned LabelID = DW->RecordRegionEnd(cast(REI.getContext())); DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),