Index: src/compiler/operator-properties.cc |
diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc |
index a5f2902a5a8dbe18810b2c1adc01007f5b65e4c8..315663c28d1767d2e663ee9643dba228dbbc4a9b 100644 |
--- a/src/compiler/operator-properties.cc |
+++ b/src/compiler/operator-properties.cc |
@@ -35,12 +35,6 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) { |
case IrOpcode::kJSStrictNotEqual: |
return 0; |
- // We record the frame state immediately before and immediately after every |
- // construct/function call. |
- case IrOpcode::kJSCallConstruct: |
- case IrOpcode::kJSCallFunction: |
- return 2; |
- |
// Compare operations |
case IrOpcode::kJSEqual: |
case IrOpcode::kJSNotEqual: |
@@ -66,6 +60,10 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) { |
case IrOpcode::kJSToObject: |
case IrOpcode::kJSToString: |
+ // Call operations |
+ case IrOpcode::kJSCallConstruct: |
+ case IrOpcode::kJSCallFunction: |
+ |
// Misc operations |
case IrOpcode::kJSConvertReceiver: |
case IrOpcode::kJSForInNext: |