Index: src/compiler/operator-properties-inl.h |
diff --git a/src/compiler/operator-properties-inl.h b/src/compiler/operator-properties-inl.h |
index 9dae10699a4395186adad30ea6f4e38107179442..bcf818f099db854982f0ed09a69f8e0e84ed1ee5 100644 |
--- a/src/compiler/operator-properties-inl.h |
+++ b/src/compiler/operator-properties-inl.h |
@@ -7,6 +7,7 @@ |
#include "src/compiler/common-operator.h" |
#include "src/compiler/js-operator.h" |
+#include "src/compiler/linkage.h" |
#include "src/compiler/opcodes.h" |
#include "src/compiler/operator-properties.h" |
@@ -40,8 +41,8 @@ inline bool OperatorProperties::HasFrameStateInput(const Operator* op) { |
case IrOpcode::kFrameState: |
return true; |
case IrOpcode::kJSCallRuntime: { |
- Runtime::FunctionId function = OpParameter<Runtime::FunctionId>(op); |
- return Linkage::NeedsFrameState(function); |
+ const CallRuntimeParameters& p = CallRuntimeParametersOf(op); |
+ return Linkage::NeedsFrameState(p.id()); |
} |
// Strict equality cannot lazily deoptimize. |