| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index bc0b7ab51b0546257d807260331c540098d6d133..4e685665376a0571c56cf05817c8a0d77c2a8439 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -33,6 +33,7 @@ class FunctionEntry BASE_EMBEDDED {
|
| kPropertyCountIndex,
|
| kLanguageModeIndex,
|
| kUsesSuperPropertyIndex,
|
| + kUsesNewTargetIndex,
|
| kSize
|
| };
|
|
|
| @@ -50,6 +51,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(); }
|
|
|
| @@ -535,6 +537,8 @@ class ParserTraits {
|
|
|
| Expression* ThisExpression(Scope* scope, AstNodeFactory* factory,
|
| int pos = RelocInfo::kNoPosition);
|
| + Expression* NewTargetExpression(Scope* scope, AstNodeFactory* factory,
|
| + int pos = RelocInfo::kNoPosition);
|
| Expression* SuperReference(Scope* scope, AstNodeFactory* factory,
|
| int pos = RelocInfo::kNoPosition);
|
| Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
|
|