Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 678dcb2ed5d48b6c233977513ff94bfe22a324b1..9569de97329d9316e684448e8478d32a4377cffa 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5103,6 +5103,12 @@ class Code: public HeapObject { |
inline bool is_compiled_optimizable(); |
inline void set_compiled_optimizable(bool value); |
+ // [has_reloc_info_for_serialization]: For FUNCTION kind, tells if its |
+ // reloc info includes runtime and external references to support |
+ // serialization/deserialization. |
+ inline bool has_reloc_info_for_serialization(); |
+ inline void set_has_reloc_info_for_serialization(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 |
@@ -5387,6 +5393,8 @@ 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 FullCodeFlagsHasRelocInfoForSerialization |
+ : public BitField<bool, 3, 1> {}; |
static const int kProfilerTicksOffset = kFullCodeFlags + 1; |