Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index d17d2312d6047f574f79c8bfef6c286ca705a670..3785f5820a70c414ae699f364e411af1b7d4d48d 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -793,8 +793,7 @@ class PreParser : public ParserBase<PreParser> { |
// the global scope. |
if (is_module) scope = NewModuleScope(scope); |
- FunctionState top_scope(&function_state_, &scope_state_, scope, |
- kNormalFunction); |
+ FunctionState top_scope(&function_state_, &scope_state_, scope); |
bool ok = true; |
int start_position = scanner()->peek_location().beg_pos; |
parsing_module_ = is_module; |