Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 9ac02a9c0d2d6209d714f7bd7b8faa74fda6cfba..5353bb89d18f1684559abfb54a61ffb91f2cb377 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -450,8 +450,7 @@ void JSGenericLowering::LowerJSCreateArray(Node* node) { |
node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant()); |
NodeProperties::ChangeOp(node, common()->Call(desc)); |
} else { |
- ArrayNArgumentsConstructorStub stub(isolate(), elements_kind, |
- override_mode); |
+ ArrayNArgumentsConstructorStub stub(isolate()); |
CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
isolate(), graph()->zone(), stub.GetCallInterfaceDescriptor(), |
arity + 1, CallDescriptor::kNeedsFrameState); |