Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 392c74dc23bc29a4fac7f93c62f3cb6aaecaaa9f..c83ee39fdbc6ee466864f6989920c2196c1d8865 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3103,9 +3103,9 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
ASSERT(ToRegister(instr->InputAt(0)).is(rdi)); |
ASSERT(ToRegister(instr->result()).is(rax)); |
- Handle<Code> builtin = isolate()->builtins()->JSConstructCall(); |
+ CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
__ Set(rax, instr->arity()); |
- CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |