Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index dfdabe0cc0b3cf06daa84b9340ba7533b35923f7..373e27da77b980c245e39d9543273f911bc904ca 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -4156,7 +4156,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)) { |
@@ -4171,17 +4171,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); |
} |
} |