Index: src/type-feedback-vector-inl.h |
diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h |
index 43f055b7bd6f8af19a4b67e6fc9bc1eabb856b62..54010c68dde32a2c950cfd2c5722509820292171 100644 |
--- a/src/type-feedback-vector-inl.h |
+++ b/src/type-feedback-vector-inl.h |
@@ -199,7 +199,8 @@ void TypeFeedbackVector::ComputeCounts(int* with_type_info, int* generic, |
BinaryOperationHint hint = BinaryOperationHintFromFeedback(feedback); |
if (hint == BinaryOperationHint::kAny) { |
gen++; |
- } else if (hint != BinaryOperationHint::kNone) { |
+ } |
+ if (hint != BinaryOperationHint::kNone) { |
with++; |
} |
total++; |
@@ -216,7 +217,8 @@ void TypeFeedbackVector::ComputeCounts(int* with_type_info, int* generic, |
CompareOperationHintFromFeedback(feedback); |
if (hint == CompareOperationHint::kAny) { |
gen++; |
- } else if (hint != CompareOperationHint::kNone) { |
+ } |
+ if (hint != CompareOperationHint::kNone) { |
with++; |
} |
total++; |