Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 5e8e2483cec4df2a4b361719e0e1547787aa05f9..f6f2846e22624512be0d0fa4bab3f426b8824d49 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -210,7 +210,8 @@ void FullCodeGenerator::Generate() { |
if (info->scope()->new_target_var() != nullptr) { |
__ push(a3); // Preserve new target. |
} |
- 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. |