Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 8d412fdb537d878c6456e7978fed2b8922573e92..882a69ffad7acf2e26561acd86226654e79e44e6 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3200,9 +3200,9 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
ASSERT(ToRegister(instr->constructor()).is(edi)); |
ASSERT(ToRegister(instr->result()).is(eax)); |
- Handle<Code> builtin = isolate()->builtins()->JSConstructCall(); |
+ CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
__ Set(eax, Immediate(instr->arity())); |
- CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |