Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 42d755860b9fa388d6abcd31e597a00af4978c8d..889bb0125132305c0f5480a6ed0c05a6502e0048 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3891,7 +3891,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
(AllocationSiteInfo::GetMode(kind) == TRACK_ALLOCATION_SITE); |
if (instr->arity() == 0) { |
- ArrayNoArgumentConstructorStub stub(kind, disable_allocation_sites); |
+ ArrayNoArgumentConstructorStub stub(kind, false, disable_allocation_sites); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
} else if (instr->arity() == 1) { |
Label done; |
@@ -3904,18 +3904,20 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
__ j(zero, &packed_case); |
ElementsKind holey_kind = GetHoleyElementsKind(kind); |
- ArraySingleArgumentConstructorStub stub(holey_kind, |
+ ArraySingleArgumentConstructorStub stub(holey_kind, false, |
disable_allocation_sites); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
__ jmp(&done); |
__ bind(&packed_case); |
} |
- ArraySingleArgumentConstructorStub stub(kind, disable_allocation_sites); |
+ ArraySingleArgumentConstructorStub stub(kind, false, |
+ disable_allocation_sites); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
__ bind(&done); |
} else { |
- ArrayNArgumentsConstructorStub stub(kind, disable_allocation_sites); |
+ ArrayNArgumentsConstructorStub stub(kind, false, |
+ disable_allocation_sites); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
} |
} |