Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 052210e088bcf80aac62a740c1bcc26594643096..2b62836485e5132becc477a2d9a211b796fef9dd 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -36,6 +36,7 @@ class FunctionEntry BASE_EMBEDDED { |
kLiteralCountIndex, |
kPropertyCountIndex, |
kFlagsIndex, |
+ kNumInnerFunctionsIndex, |
kSize |
}; |
@@ -79,6 +80,7 @@ class FunctionEntry BASE_EMBEDDED { |
bool has_duplicate_parameters() const { |
return HasDuplicateParametersField::decode(backing_[kFlagsIndex]); |
} |
+ int num_inner_functions() const { return backing_[kNumInnerFunctionsIndex]; } |
bool is_valid() const { return !backing_.is_empty(); } |
@@ -351,6 +353,8 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
int class_token_pos, bool* ok); |
V8_INLINE void DeclareClassProperty(const AstRawString* class_name, |
ClassLiteralProperty* property, |
+ ClassLiteralProperty::Kind kind, |
+ bool is_static, bool is_constructor, |
ClassInfo* class_info, bool* ok); |
V8_INLINE Expression* RewriteClassLiteral(const AstRawString* name, |
ClassInfo* class_info, int pos, |