From: Bill Wendling Date: Mon, 18 May 2009 18:21:03 +0000 (+0000) Subject: Revert last commit. It was wrong. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=805da894cf7976e85ed001633fcaafbb5842dcf8;p=oota-llvm.git Revert last commit. It was wrong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72026 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(),