| Index: src/crankshaft/mips/lithium-codegen-mips.cc
|
| diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc
|
| index 01aa73c1ef896981b87220022149ee13861e4327..b1c7554a5c5f6853cb1671402c4b3d2313d6d436 100644
|
| --- a/src/crankshaft/mips/lithium-codegen-mips.cc
|
| +++ b/src/crankshaft/mips/lithium-codegen-mips.cc
|
| @@ -185,10 +185,10 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| __ Push(info()->scope()->GetScopeInfo(info()->isolate()));
|
| __ CallRuntime(Runtime::kNewScriptContext);
|
| deopt_mode = Safepoint::kLazyDeopt;
|
| - } else if (slots <= FastNewContextStub::kMaximumSlots) {
|
| - FastNewContextStub stub(isolate(), slots);
|
| + } else if (slots <= FastNewFunctionContextStub::kMaximumSlots) {
|
| + FastNewFunctionContextStub stub(isolate(), slots);
|
| __ CallStub(&stub);
|
| - // Result of FastNewContextStub is always in new space.
|
| + // Result of FastNewFunctionContextStub is always in new space.
|
| need_write_barrier = false;
|
| } else {
|
| __ push(a1);
|
|
|