Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 176a9ea7408887607e17e92fd81cad4512894759..57919df72bc2cad4221a56189075a3d182d61b84 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1044,7 +1044,7 @@ class RepresentationSelector { |
flags, properties); |
node->InsertInput(jsgraph_->zone(), 0, |
jsgraph_->HeapConstant(callable.code())); |
- node->InsertInput(jsgraph_->zone(), 3, jsgraph_->NoContextConstant()); |
+ node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); |
NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); |
} |
break; |
@@ -1061,7 +1061,7 @@ class RepresentationSelector { |
flags, properties); |
node->InsertInput(jsgraph_->zone(), 0, |
jsgraph_->HeapConstant(callable.code())); |
- node->InsertInput(jsgraph_->zone(), 3, jsgraph_->NoContextConstant()); |
+ node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); |
NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); |
} |
break; |
@@ -1080,7 +1080,7 @@ class RepresentationSelector { |
flags, properties); |
node->InsertInput(jsgraph_->zone(), 0, |
jsgraph_->HeapConstant(callable.code())); |
- node->InsertInput(jsgraph_->zone(), 3, jsgraph_->NoContextConstant()); |
+ node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); |
NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); |
} |
break; |