Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 4357dc18eea65f4b593b11780a591f64d3c11d20..d8c04247577f6a44f9b2db560dd88e4da31057ff 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7415,31 +7415,6 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that code for this function cannot be flushed. |
DECL_BOOLEAN_ACCESSORS(dont_flush) |
- // Indicates that this function is a generator. |
- DECL_BOOLEAN_ACCESSORS(is_generator) |
- |
- // Indicates that this function is an async function. |
- DECL_BOOLEAN_ACCESSORS(is_async) |
- |
- // Indicates that this function can be suspended, either via YieldExpressions |
- // or AwaitExpressions. |
- inline bool is_resumable() const; |
- |
- // Indicates that this function is an arrow function. |
- DECL_BOOLEAN_ACCESSORS(is_arrow) |
- |
- // Indicates that this function is a concise method. |
- DECL_BOOLEAN_ACCESSORS(is_concise_method) |
- |
- // Indicates that this function is a getter. |
- DECL_BOOLEAN_ACCESSORS(is_getter_function) |
- |
- // Indicates that this function is a setter. |
- DECL_BOOLEAN_ACCESSORS(is_setter_function) |
- |
- // Indicates that this function is a default constructor. |
- DECL_BOOLEAN_ACCESSORS(is_default_constructor) |
- |
// Indicates that this is a constructor for a base class with instance fields. |
DECL_BOOLEAN_ACCESSORS(requires_class_field_init) |
// Indicates that this is a synthesized function to set up class instance |
@@ -7461,7 +7436,7 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that asm->wasm conversion failed and should not be re-attempted. |
DECL_BOOLEAN_ACCESSORS(is_asm_wasm_broken) |
- inline FunctionKind kind(); |
+ inline FunctionKind kind() const; |
inline void set_kind(FunctionKind kind); |
// Indicates whether or not the code in the shared function support |