diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-05-18 18:21:03 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-05-18 18:21:03 +0000 |
| commit | d2dc9063d78bfdaf721df16de2926ebcd22f0201 (patch) | |
| tree | 64953f04d6b2956f78a00a9356c8ca23d2f38bef | |
| parent | 32912cbf65e2a4c3fed7caa4d977ac5f1ae113c8 (diff) | |
| download | bcm5719-llvm-d2dc9063d78bfdaf721df16de2926ebcd22f0201.tar.gz bcm5719-llvm-d2dc9063d78bfdaf721df16de2926ebcd22f0201.zip | |
Revert last commit. It was wrong.
llvm-svn: 72026
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index b8f22d6bfa2..bbd8b5aa360 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -3929,8 +3929,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { MachineFunction &MF = DAG.getMachineFunction(); DISubprogram Subprogram(cast<GlobalVariable>(REI.getContext())); - if (OptLevel == CodeGenOpt::None || - Subprogram.isNull() || Subprogram.describes(MF.getFunction())) { + if (Subprogram.isNull() || Subprogram.describes(MF.getFunction())) { unsigned LabelID = DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext())); DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), |

