Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index a1c55e018032c33fc8a1e8b87241214e40aa2f47..7e8da8ef2e1afb62283159084ed674067d58e95e 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -212,7 +212,8 @@ void FullCodeGenerator::Generate() { |
if (info->scope()->new_target_var() != nullptr) { |
__ push(r5); // Preserve new target. |
} |
- FastNewFunctionContextStub stub(isolate()); |
+ FastNewFunctionContextStub stub(isolate(), |
+ info->scope()->is_eval_scope()); |
__ mov(FastNewFunctionContextDescriptor::SlotsRegister(), Operand(slots)); |
__ CallStub(&stub); |
// Result of FastNewFunctionContextStub is always in new space. |