Index: src/compiler/operator-properties.cc |
diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc |
index ac363c9773ee8eb22821153852f0eeebdb771d9a..6de6d2487cf860630e8ad8ca3ea02e0c9224942f 100644 |
--- a/src/compiler/operator-properties.cc |
+++ b/src/compiler/operator-properties.cc |
@@ -26,7 +26,7 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) { |
return 1; |
case IrOpcode::kJSCallRuntime: { |
const CallRuntimeParameters& p = CallRuntimeParametersOf(op); |
- return Linkage::NeedsFrameState(p.id()); |
+ return Linkage::FrameStateInputCount(p.id()); |
} |
// Strict equality cannot lazily deoptimize. |