Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index cda186362491845bdec1df0ee52fa19fdb1a6b71..033dcd9b0628df9156f4ee5d37e47664350a436e 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -3893,7 +3893,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
if (instr->arity() == 0) { |
ArrayNoArgumentConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else if (instr->arity() == 1) { |
Label done; |
if (IsFastPackedElementsKind(kind)) { |
@@ -3908,17 +3908,17 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
ArraySingleArgumentConstructorStub stub(isolate(), |
holey_kind, |
override_mode); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
__ jmp(&done, Label::kNear); |
__ bind(&packed_case); |
} |
ArraySingleArgumentConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
__ bind(&done); |
} else { |
ArrayNArgumentsConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} |
} |