5 #ifndef V8_SNAPSHOT_READ_ONLY_SERIALIZER_H_ 6 #define V8_SNAPSHOT_READ_ONLY_SERIALIZER_H_ 8 #include "src/snapshot/roots-serializer.h" 14 class SnapshotByteSink;
21 void SerializeReadOnlyRoots();
25 void FinalizeSerialization();
33 WhereToPoint where_to_point,
int skip);
36 void SerializeObject(
HeapObject* o, HowToCode how_to_code,
37 WhereToPoint where_to_point,
int skip)
override;
38 bool MustBeDeferred(
HeapObject*
object)
override;
46 #endif // V8_SNAPSHOT_READ_ONLY_SERIALIZER_H_