| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 3b3144e0619f37e2d3d1e80703bcdbbcb46fd664..17fe88271507bf7d618c5009eb65f6cb038b19c3 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -216,6 +216,7 @@ class FunctionEntry BASE_EMBEDDED {
|
| kPropertyCountIndex,
|
| kLanguageModeIndex,
|
| kUsesSuperPropertyIndex,
|
| + kUsesNewTargetIndex,
|
| kSize
|
| };
|
|
|
| @@ -233,6 +234,7 @@ class FunctionEntry BASE_EMBEDDED {
|
| return static_cast<LanguageMode>(backing_[kLanguageModeIndex]);
|
| }
|
| bool uses_super_property() { return backing_[kUsesSuperPropertyIndex]; }
|
| + bool uses_new_target() { return backing_[kUsesNewTargetIndex]; }
|
|
|
| bool is_valid() { return !backing_.is_empty(); }
|
|
|
| @@ -721,6 +723,8 @@ class ParserTraits {
|
|
|
| Expression* ThisExpression(Scope* scope, AstNodeFactory* factory,
|
| int pos = RelocInfo::kNoPosition);
|
| + Expression* NewTargetExpression(Scope* scope, AstNodeFactory* factory,
|
| + int start_position, int end_position);
|
| Expression* SuperReference(Scope* scope, AstNodeFactory* factory,
|
| int pos = RelocInfo::kNoPosition);
|
| Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
|
|