| Index: src/type-feedback-vector-inl.h
|
| diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h
|
| index 78db025252ec056db97d4069bd3ea8e2ea5d9282..055f22ea4741a93d2b59e537bb6dba064fa4ee6c 100644
|
| --- a/src/type-feedback-vector-inl.h
|
| +++ b/src/type-feedback-vector-inl.h
|
| @@ -123,6 +123,8 @@ void TypeFeedbackVector::Set(FeedbackVectorSlot slot, Object* value,
|
| // Helper function to transform the feedback to BinaryOperationHint.
|
| BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback) {
|
| switch (type_feedback) {
|
| + case BinaryOperationFeedback::kNone:
|
| + return BinaryOperationHint::kNone;
|
| case BinaryOperationFeedback::kSignedSmall:
|
| return BinaryOperationHint::kSignedSmall;
|
| case BinaryOperationFeedback::kNumber:
|
| @@ -138,6 +140,8 @@ BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback) {
|
| // Helper function to transform the feedback to CompareOperationHint.
|
| CompareOperationHint CompareOperationHintFromFeedback(int type_feedback) {
|
| switch (type_feedback) {
|
| + case CompareOperationFeedback::kNone:
|
| + return CompareOperationHint::kNone;
|
| case CompareOperationFeedback::kSignedSmall:
|
| return CompareOperationHint::kSignedSmall;
|
| case CompareOperationFeedback::kNumber:
|
| @@ -145,6 +149,8 @@ CompareOperationHint CompareOperationHintFromFeedback(int type_feedback) {
|
| default:
|
| return CompareOperationHint::kAny;
|
| }
|
| + UNREACHABLE();
|
| + return CompareOperationHint::kNone;
|
| }
|
|
|
| void TypeFeedbackVector::ComputeCounts(int* with_type_info, int* generic,
|
|
|