Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 280f1df5f855c4e096b926a342c1d71d43072367..1046459cce390fff6d31f197e5695b9e945ef714 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -1049,9 +1049,8 @@ class PreParser : public ParserBase<PreParserTraits> { |
scope = NewScopeWithParent(scope, MODULE_SCOPE); |
} |
- PreParserFactory factory(nullptr); |
FunctionState top_scope(&function_state_, &scope_state_, scope, |
- kNormalFunction, &factory); |
+ kNormalFunction); |
bool ok = true; |
int start_position = scanner()->peek_location().beg_pos; |
parsing_module_ = is_module; |