| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index e886c4a79eff68ef16e917b2b6e27d8ed27a55d7..c05df82cdf8bbc1a0900a389083bb13af05b0d4f 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -3277,9 +3277,9 @@ void LCodeGen::DoCallNew(LCallNew* instr) {
|
| ASSERT(ToRegister(instr->InputAt(0)).is(a1));
|
| ASSERT(ToRegister(instr->result()).is(v0));
|
|
|
| - Handle<Code> builtin = isolate()->builtins()->JSConstructCall();
|
| + CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
|
| __ li(a0, Operand(instr->arity()));
|
| - CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr);
|
| + CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr);
|
| }
|
|
|
|
|
|
|