Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index b49efaa1feb9eb6eb18d01870813954a9c919434..23e7ce9ae4db823f938782fd11a7ad0b5eb4eb6e 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6947,6 +6947,9 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that this function is a concise method. |
DECL_BOOLEAN_ACCESSORS(is_concise_method) |
+ // Indicates that this function is an accessor (getter or setter). |
+ DECL_BOOLEAN_ACCESSORS(is_accessor_function) |
+ |
// Indicates that this function is a default constructor. |
DECL_BOOLEAN_ACCESSORS(is_default_constructor) |
@@ -7197,6 +7200,7 @@ class SharedFunctionInfo: public HeapObject { |
kIsArrow, |
kIsGenerator, |
kIsConciseMethod, |
+ kIsAccessorFunction, |
kIsDefaultConstructor, |
kIsSubclassConstructor, |
kIsAsmFunction, |
@@ -7206,7 +7210,7 @@ class SharedFunctionInfo: public HeapObject { |
// Add hints for other modes when they're added. |
STATIC_ASSERT(LANGUAGE_END == 3); |
- class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {}; |
+ class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 6> {}; |
class DeoptCountBits : public BitField<int, 0, 4> {}; |
class OptReenableTriesBits : public BitField<int, 4, 18> {}; |