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 | 10f7c3deb7c8c229b0f426e5baf7d1045e986360 (patch) | |
tree | 214f753d80b4bcb30b0238da6df5a35c7703a2be /llvm | |
parent | 65a0089eb786cb8c3da95bb5dda3cf9fe033f97c (diff) | |
download | bcm5719-llvm-10f7c3deb7c8c229b0f426e5baf7d1045e986360.tar.gz bcm5719-llvm-10f7c3deb7c8c229b0f426e5baf7d1045e986360.zip |
Revert prev. patch for now.
llvm-svn: 68569
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 50699db1d8b..ba59906b6da 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/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; |