| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 632e7d4acd989f14705acc5c6c495fd53776572a..be75faba65c0d58183868a185d7c4e6e3ff523da 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4207,6 +4207,11 @@ class Code: public HeapObject {
|
| inline bool is_compiled_optimizable();
|
| inline void set_compiled_optimizable(bool value);
|
|
|
| + // [has_self_optimization_header]: For FUNCTION kind, tells if it has
|
| + // a self-optimization header.
|
| + inline bool has_self_optimization_header();
|
| + inline void set_self_optimization_header(bool value);
|
| +
|
| // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for
|
| // how long the function has been marked for OSR and therefore which
|
| // level of loop nesting we are willing to do on-stack replacement
|
| @@ -4426,6 +4431,7 @@ class Code: public HeapObject {
|
| public BitField<bool, 0, 1> {}; // NOLINT
|
| class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {};
|
| class FullCodeFlagsIsCompiledOptimizable: public BitField<bool, 2, 1> {};
|
| + class FullCodeFlagsHasSelfOptimizationHeader: public BitField<bool, 3, 1> {};
|
|
|
| static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1;
|
|
|
|
|