| Index: src/compiler/js-create-lowering.cc
|
| diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc
|
| index 8629aa7dc75706ad15c41bdc0185d667a6566202..0cc89b49c4ea785cbef216f853c314b4bbd9f44e 100644
|
| --- a/src/compiler/js-create-lowering.cc
|
| +++ b/src/compiler/js-create-lowering.cc
|
| @@ -511,7 +511,7 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
|
| CallDescriptor::kNeedsFrameState);
|
| node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode()));
|
| node->InsertInput(graph()->zone(), 2, jsgraph()->HeapConstant(site));
|
| - node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(0));
|
| + node->InsertInput(graph()->zone(), 3, jsgraph()->Constant(0));
|
| node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant());
|
| NodeProperties::ChangeOp(node, common()->Call(desc));
|
| return Changed(node);
|
| @@ -529,7 +529,7 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
|
| CallDescriptor::kNeedsFrameState);
|
| node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode()));
|
| node->InsertInput(graph()->zone(), 2, jsgraph()->HeapConstant(site));
|
| - node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(1));
|
| + node->InsertInput(graph()->zone(), 3, jsgraph()->Constant(1));
|
| node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant());
|
| NodeProperties::ChangeOp(node, common()->Call(desc));
|
| return Changed(node);
|
| @@ -560,7 +560,7 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
|
| Node* inputs[] = {jsgraph()->HeapConstant(stub.GetCode()),
|
| node->InputAt(1),
|
| jsgraph()->HeapConstant(site),
|
| - jsgraph()->Int32Constant(1),
|
| + jsgraph()->Constant(1),
|
| jsgraph()->UndefinedConstant(),
|
| length,
|
| context,
|
| @@ -584,7 +584,7 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
|
| Node* inputs[] = {jsgraph()->HeapConstant(stub.GetCode()),
|
| node->InputAt(1),
|
| jsgraph()->HeapConstant(site),
|
| - jsgraph()->Int32Constant(1),
|
| + jsgraph()->Constant(1),
|
| jsgraph()->UndefinedConstant(),
|
| length,
|
| context,
|
| @@ -615,7 +615,7 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
|
| CallDescriptor::kNeedsFrameState);
|
| node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode()));
|
| node->InsertInput(graph()->zone(), 2, jsgraph()->HeapConstant(site));
|
| - node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(arity));
|
| + node->InsertInput(graph()->zone(), 3, jsgraph()->Constant(arity));
|
| node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant());
|
| NodeProperties::ChangeOp(node, common()->Call(desc));
|
| return Changed(node);
|
|
|