Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index b018b7d8ab7be49aeffe25e29d19e92b40a28978..292293987b0471c017bc28529440f6ae2b7a5e27 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -791,9 +791,6 @@ FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) { |
DCHECK_NOT_NULL(outer); |
parsing_module_ = info->is_module(); |
if (info->is_eval()) { |
- if (!outer->is_script_scope() || is_strict(info->language_mode())) { |
- parsing_mode = PARSE_EAGERLY; |
- } |
outer = NewEvalScope(outer); |
} else if (parsing_module_) { |
DCHECK_EQ(outer, info->script_scope()); |