| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index e45e2f070c7023237cb1772531486774df3e6b34..38e81aaac50559616408e5e3399a53e3f08e54e4 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -839,12 +839,14 @@ class PreParser : public ParserBase<PreParser> {
|
| };
|
|
|
| PreParser(Zone* zone, Scanner* scanner, AstValueFactory* ast_value_factory,
|
| - uintptr_t stack_limit)
|
| + RuntimeCallStats* runtime_call_stats, uintptr_t stack_limit)
|
| : ParserBase<PreParser>(zone, scanner, stack_limit, nullptr,
|
| - ast_value_factory),
|
| + ast_value_factory, runtime_call_stats),
|
| use_counts_(nullptr),
|
| track_unresolved_variables_(false) {}
|
|
|
| + static bool const IsPreParser() { return true; }
|
| +
|
| PreParserLogger* logger() { return &log_; }
|
|
|
| // Pre-parse the program from the character stream; returns true on
|
|
|