aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/ProfileInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp
index 2ed466bf32..98ea25199b 100644
--- a/lib/Analysis/ProfileInfo.cpp
+++ b/lib/Analysis/ProfileInfo.cpp
@@ -54,7 +54,8 @@ double ProfileInfo::getExecutionCount(const BasicBlock *BB) {
if (ProcessedPreds.insert(*PI).second) {
double w = getEdgeWeight(getEdge(*PI, BB));
if (w == MissingValue) {
- Count = MissingValue; break;
+ Count = MissingValue;
+ break;
}
Count += w;
}