aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 32c553ff12..e769df5b76 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -764,7 +764,7 @@ LiveIntervals::getLastSplitPoint(const LiveInterval &li,
if (I->getDesc().isCall())
return I;
}
- assert(0 && "Block with landing pad successor contains no call instruction");
+ // The block contains no calls that can throw, so use the first terminator.
return mbb->getFirstTerminator();
}