Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 75bf4f2f53fc6518fb8448b2a8e84c3b181575a8..d9551484be0759df418757ffecbb461e7484d651 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -184,7 +184,7 @@ void Inlinee::InlineAtCall(JSGraph* jsgraph, Node* call) { |
Node* use = *iter; |
switch (use->opcode()) { |
case IrOpcode::kParameter: { |
- int index = 1 + static_cast<Operator1<int>*>(use->op())->parameter(); |
+ int index = 1 + OpParameter<int>(use->op()); |
if (index < inliner_inputs && index < inlinee_context_index) { |
// There is an input from the call, and the index is a value |
// projection but not the context, so rewire the input. |