Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index b5ed517087a6b03af893582e67904f8cdeed90cf..32de1daf6b1ce5919f7d0dcb5848f0fbd45f5b58 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3360,9 +3360,9 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
ASSERT(ToRegister(instr->InputAt(0)).is(r1)); |
ASSERT(ToRegister(instr->result()).is(r0)); |
- Handle<Code> builtin = isolate()->builtins()->JSConstructCall(); |
+ CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
__ mov(r0, Operand(instr->arity())); |
- CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |