summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-07 19:46:24 +0000
committerDan Gohman <gohman@apple.com>2009-05-07 19:46:24 +0000
commit4bb6fa23cb51aacdf9faa4e7af01ea329cc8d742 (patch)
tree455f9a807b9769e32719a6fce550337b784922d9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parent140a6f24f0ca2bdc7694add39c0b84063eeb1174 (diff)
downloadbcm5719-llvm-4bb6fa23cb51aacdf9faa4e7af01ea329cc8d742.tar.gz
bcm5719-llvm-4bb6fa23cb51aacdf9faa4e7af01ea329cc8d742.zip
Revert 71165. It did more than just revert 71158 and it introduced
several regressions. The problem due to 71158 is now fixed. llvm-svn: 71176
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-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 cf5dd9f2376..fd89108392c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -3944,8 +3944,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
}
unsigned LabelID =
- DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext()),
- Subprogram);
+ DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext()));
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
getRoot(), LabelID));
}
OpenPOWER on IntegriCloud