| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index 90fdf57164b4106648b95d6dcd7a2ab979914e29..f4687eb3f7739019495be2e68eda80f0b5a875aa 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -840,13 +840,15 @@ class PreParser : public ParserBase<PreParser> {
|
|
|
| PreParser(Zone* zone, Scanner* scanner, AstValueFactory* ast_value_factory,
|
| PendingCompilationErrorHandler* pending_error_handler,
|
| - 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),
|
| pending_error_handler_(pending_error_handler) {}
|
|
|
| + static bool const IsPreParser() { return true; }
|
| +
|
| PreParserLogger* logger() { return &log_; }
|
|
|
| // Pre-parse the program from the character stream; returns true on
|
|
|