| Index: src/compiler/operator-properties.cc
|
| diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc
|
| index 209b1c82982c9f7f467be4f3e63ea83e6d7a4e17..501aa2bcc42314cef551575edf7ee340acdd61bb 100644
|
| --- a/src/compiler/operator-properties.cc
|
| +++ b/src/compiler/operator-properties.cc
|
| @@ -45,6 +45,10 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) {
|
| // Compare operations
|
| case IrOpcode::kJSEqual:
|
| case IrOpcode::kJSNotEqual:
|
| + case IrOpcode::kJSGreaterThan:
|
| + case IrOpcode::kJSGreaterThanOrEqual:
|
| + case IrOpcode::kJSLessThan:
|
| + case IrOpcode::kJSLessThanOrEqual:
|
| case IrOpcode::kJSHasProperty:
|
| case IrOpcode::kJSInstanceOf:
|
|
|
| @@ -98,15 +102,6 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) {
|
| case IrOpcode::kJSShiftRightLogical:
|
| return 2;
|
|
|
| - // Compare operators that can deopt in the middle the operation (e.g.,
|
| - // as a result of lazy deopt in ToNumber conversion) need a second frame
|
| - // state so that we can resume before the operation.
|
| - case IrOpcode::kJSGreaterThan:
|
| - case IrOpcode::kJSGreaterThanOrEqual:
|
| - case IrOpcode::kJSLessThan:
|
| - case IrOpcode::kJSLessThanOrEqual:
|
| - return 2;
|
| -
|
| default:
|
| return 0;
|
| }
|
|
|