Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9333e9edc4003e2dd7a9f4bb7884eb6645ed2d6e..32867d63cbda473bff778f50585baa9a7b65534e 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6855,6 +6855,13 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that this function is a concise method. |
DECL_BOOLEAN_ACCESSORS(is_concise_method) |
+ // Indicates that this function is a default constructor. |
+ DECL_BOOLEAN_ACCESSORS(is_default_constructor) |
+ |
+ // Indicates that this function is a default constructor that needs to call |
+ // super. |
+ DECL_BOOLEAN_ACCESSORS(is_default_constructor_call_super) |
+ |
// Indicates that this function is an asm function. |
DECL_BOOLEAN_ACCESSORS(asm_function) |
@@ -7092,12 +7099,14 @@ class SharedFunctionInfo: public HeapObject { |
kIsArrow, |
kIsGenerator, |
kIsConciseMethod, |
+ kIsDefaultConstructor, |
+ kIsDefaultConstructorCallSuper, |
kIsAsmFunction, |
kDeserialized, |
kCompilerHintsCount // Pseudo entry |
}; |
- class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 3> {}; |
+ class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {}; |
class DeoptCountBits : public BitField<int, 0, 4> {}; |
class OptReenableTriesBits : public BitField<int, 4, 18> {}; |