aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd46dc02a07aa1fe353174d8b73aa1541bb0c1ec6 (patch)
tree617c5e4a214e9be5b46747d6ed9b4ad888730151 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parent95b95de580fb8121e134511b34893f9426a8f1f7 (diff)
downloadexternal_llvm-d46dc02a07aa1fe353174d8b73aa1541bb0c1ec6.zip
external_llvm-d46dc02a07aa1fe353174d8b73aa1541bb0c1ec6.tar.gz
external_llvm-d46dc02a07aa1fe353174d8b73aa1541bb0c1ec6.tar.bz2
Revert 71165. It did more than just revert 71158 and it introduced
several regressions. The problem due to 71158 is now fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index cf5dd9f..fd89108 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/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));
}