Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ba8eb874df10ef6714938f0e4bcbb9666d5f61f3..147400b1b2b464177d52889d1ee750f9556eb45b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3671,6 +3671,11 @@ class Code: public HeapObject { |
inline bool has_debug_break_slots(); |
inline void set_has_debug_break_slots(bool value); |
+ // [compiled_with_optimizing]: For FUNCTION kind, tells if it has |
+ // been compiled with IsOptimizing set to true. |
+ inline bool is_compiled_optimizable(); |
+ inline void set_compiled_optimizable(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 |
@@ -3860,6 +3865,7 @@ class Code: public HeapObject { |
class FullCodeFlagsHasDeoptimizationSupportField: |
public BitField<bool, 0, 1> {}; // NOLINT |
class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {}; |
+ class FullCodeFlagsIsCompiledOptimizable: public BitField<bool, 2, 1> {}; |
static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1; |