summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-05-18 18:21:03 +0000
committerBill Wendling <isanbard@gmail.com>2009-05-18 18:21:03 +0000
commitd2dc9063d78bfdaf721df16de2926ebcd22f0201 (patch)
tree64953f04d6b2956f78a00a9356c8ca23d2f38bef
parent32912cbf65e2a4c3fed7caa4d977ac5f1ae113c8 (diff)
downloadbcm5719-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.cpp3
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(),
OpenPOWER on IntegriCloud