Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index 364b542f21cc96964193f9119746daeba88ce720..2fa29a59652db25ef70ab17b2dee584eb17c4005 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -526,6 +526,7 @@ struct JSOperatorGlobalCache final { |
Name##Operator<CompareOperationHint::kNumber> k##Name##NumberOperator; \ |
Name##Operator<CompareOperationHint::kNumberOrOddball> \ |
k##Name##NumberOrOddballOperator; \ |
+ Name##Operator<CompareOperationHint::kString> k##Name##StringOperator; \ |
Name##Operator<CompareOperationHint::kAny> k##Name##AnyOperator; |
COMPARE_OP_LIST(COMPARE_OP) |
#undef COMPARE_OP |
@@ -577,6 +578,8 @@ BINARY_OP_LIST(BINARY_OP) |
return &cache_.k##Name##NumberOperator; \ |
case CompareOperationHint::kNumberOrOddball: \ |
return &cache_.k##Name##NumberOrOddballOperator; \ |
+ case CompareOperationHint::kString: \ |
+ return &cache_.k##Name##StringOperator; \ |
case CompareOperationHint::kAny: \ |
return &cache_.k##Name##AnyOperator; \ |
} \ |