Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index f721be896cad4bc1e14c625652b0a1bed2778c62..6eecc46d52c49e29ca8287706245a809edc3d967 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -4083,7 +4083,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)) { |
@@ -4097,17 +4097,17 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
ElementsKind holey_kind = GetHoleyElementsKind(kind); |
ArraySingleArgumentConstructorStub stub(isolate(), holey_kind, |
override_mode); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
__ b(&done); |
__ 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); |
} |
} |