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 16e15c8f28cac87d192ad5b244746b15ed110fce..19061cbe2558ce796726582cd1fd98e663e48105 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -183,7 +183,8 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
__ CallRuntime(Runtime::kNewScriptContext); |
deopt_mode = Safepoint::kLazyDeopt; |
} else { |
- FastNewFunctionContextStub stub(isolate()); |
+ FastNewFunctionContextStub stub(isolate(), |
+ info()->scope()->is_eval_scope()); |
__ li(FastNewFunctionContextDescriptor::SlotsRegister(), Operand(slots)); |
__ CallStub(&stub); |
// Result of FastNewFunctionContextStub is always in new space. |