| Index: src/compiler/operator-properties.cc
|
| diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc
|
| index 315663c28d1767d2e663ee9643dba228dbbc4a9b..24dfb47a4b6e9c06402c8249fa852fd1fd451219 100644
|
| --- a/src/compiler/operator-properties.cc
|
| +++ b/src/compiler/operator-properties.cc
|
| @@ -27,7 +27,7 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) {
|
| return 1;
|
| case IrOpcode::kJSCallRuntime: {
|
| const CallRuntimeParameters& p = CallRuntimeParametersOf(op);
|
| - return Linkage::FrameStateInputCount(p.id());
|
| + return Linkage::NeedsFrameStateInput(p.id()) ? 1 : 0;
|
| }
|
|
|
| // Strict equality cannot lazily deoptimize.
|
|
|