| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index 1b4ab081b300a8e1bab473db96b76c76af74cdd3..7e50a19bab98769ff7fbe25893f4c495fc2529e7 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -311,6 +311,8 @@ class PreParserExpression {
|
| int position() const { return kNoSourcePosition; }
|
| void set_function_token_position(int position) {}
|
|
|
| + void set_is_class_field_initializer(bool is_class_field_initializer) {}
|
| +
|
| private:
|
| enum Type {
|
| kEmpty,
|
| @@ -465,6 +467,9 @@ class PreParserFactory {
|
| int pos) {
|
| return PreParserExpression::Default();
|
| }
|
| + PreParserExpression NewUndefinedLiteral(int pos) {
|
| + return PreParserExpression::Default();
|
| + }
|
| PreParserExpression NewRegExpLiteral(PreParserIdentifier js_pattern,
|
| int js_flags, int literal_index,
|
| int pos) {
|
|
|