Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index cfdb610d5ad09c7c69d498b81703f81b7de8373b..42e85daf8449efd486341da99df5f5906e4e483a 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -146,7 +146,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()); |
__ mov(FastNewFunctionContextDescriptor::SlotsRegister(), |
Immediate(slots)); |
__ CallStub(&stub); |