| Index: src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| index 7a7ae8a164a1fda73761fc0771fa6bed63571d93..1194142be051c8767dffbea3872470a6776ae1da 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -178,10 +178,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(edi);
|
|
|