Index: src/compiler/operator-properties-inl.h |
diff --git a/src/compiler/operator-properties-inl.h b/src/compiler/operator-properties-inl.h |
index cb598aad8bb981ef049ba2426fd7d069c1efd917..51d43d4b79634bb6b4af48952425765802830828 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. |