Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index abb352b16fb7b75431529abc53306abeb80a0698..6afc45f8905d99ed3f7a50109e4361928fc37390 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -116,7 +116,7 @@ Reduction JSInliner::InlineCall(Node* call, Node* new_target, Node* context, |
Replace(use, new_target); |
} else if (index == inlinee_arity_index) { |
// The projection is requesting the number of arguments. |
- Replace(use, jsgraph()->Int32Constant(inliner_inputs - 2)); |
+ Replace(use, jsgraph()->Constant(inliner_inputs - 2)); |
} else if (index == inlinee_context_index) { |
// The projection is requesting the inlinee function context. |
Replace(use, context); |