Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 749e57999c46561532e20ef8064772f842acbb08..170091616fee68ebf86ebda40f04dc060cd432ca 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -2576,6 +2576,12 @@ class FunctionLiteral FINAL : public Expression { |
bool is_concise_method() { |
return IsConciseMethod(FunctionKindBits::decode(bitfield_)); |
} |
+ bool is_default_constructor() { |
+ return IsDefaultConstructor(FunctionKindBits::decode(bitfield_)); |
+ } |
+ bool is_default_constructor_call_super() { |
+ return IsDefaultConstructorCallSuper(FunctionKindBits::decode(bitfield_)); |
+ } |
int ast_node_count() { return ast_properties_.node_count(); } |
AstProperties::Flags* flags() { return ast_properties_.flags(); } |
@@ -2647,7 +2653,7 @@ class FunctionLiteral FINAL : public Expression { |
class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {}; |
class IsFunction : public BitField<IsFunctionFlag, 4, 1> {}; |
class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {}; |
- class FunctionKindBits : public BitField<FunctionKind, 6, 3> {}; |
+ class FunctionKindBits : public BitField<FunctionKind, 6, 5> {}; |
}; |