diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-07 23:00:04 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-07 23:00:04 +0000 |
commit | a49a671efe24aa6e2e9e2280cf714ef97a40f177 (patch) | |
tree | 3a0b16083dbbee41250f7c49651d681fa263756e /lib/CodeGen/SelectionDAG | |
parent | 044b5344c4a97b3c709a05b9c5f9296656477652 (diff) | |
download | external_llvm-a49a671efe24aa6e2e9e2280cf714ef97a40f177.zip external_llvm-a49a671efe24aa6e2e9e2280cf714ef97a40f177.tar.gz external_llvm-a49a671efe24aa6e2e9e2280cf714ef97a40f177.tar.bz2 |
Revert prev. patch for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 50699db..ba59906 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -3926,8 +3926,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { if (DW && DW->ValidDebugInfo(RSI.getContext())) { unsigned LabelID = DW->RecordRegionStart(cast<GlobalVariable>(RSI.getContext())); - DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), - getRoot(), LabelID)); + if (Fast) + DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), + getRoot(), LabelID)); } return 0; @@ -3938,8 +3939,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { if (DW && DW->ValidDebugInfo(REI.getContext())) { unsigned LabelID = DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext())); - DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), - getRoot(), LabelID)); + if (Fast) + DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), + getRoot(), LabelID)); } return 0; |