| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8eff8bbccb6eec62f53efb102bfb7c6e70df4b4e..99493aaf5a5b42ab4bb285e08e14cc2438da8c2b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7263,6 +7263,12 @@ class SharedFunctionInfo: public HeapObject {
|
| // Indicates that asm->wasm conversion failed and should not be re-attempted.
|
| DECL_BOOLEAN_ACCESSORS(is_asm_wasm_broken)
|
|
|
| + // Indicates that the function collects type profile.
|
| + DECL_BOOLEAN_ACCESSORS(collects_type_profile)
|
| +
|
| + // Indicates that |collects_type_profile| has been computed and set.
|
| + DECL_BOOLEAN_ACCESSORS(computed_collects_type_profile)
|
| +
|
| inline FunctionKind kind() const;
|
| inline void set_kind(FunctionKind kind);
|
|
|
| @@ -7542,9 +7548,8 @@ class SharedFunctionInfo: public HeapObject {
|
| kDontFlush,
|
| kIsDeclaration,
|
| kIsAsmWasmBroken,
|
| -
|
| - kUnused1, // Unused fields.
|
| - kUnused2,
|
| + kCollectsTypeProfile,
|
| + kComputedCollectsTypeProfile,
|
|
|
| // byte 2
|
| kFunctionKind,
|
|
|