#include "src/snapshot/read-only-serializer.h"
#include "src/heap/heap-inl.h"
#include "src/heap/read-only-heap.h"
#include "src/objects/objects-inl.h"
#include "src/objects/slots.h"
#include "src/snapshot/read-only-serializer-deserializer.h"
namespace v8 {
namespace internal {
namespace {
class ObjectPreProcessor final { … };
struct ReadOnlySegmentForSerialization { … };
ro::EncodedTagged Encode(Isolate* isolate, Tagged<HeapObject> o) { … }
class EncodeRelocationsVisitor final : public ObjectVisitor { … };
void ReadOnlySegmentForSerialization::EncodeTaggedSlots(Isolate* isolate) { … }
class ReadOnlyHeapImageSerializer { … };
std::vector<ReadOnlyHeapImageSerializer::MemoryRegion> GetUnmappedRegions(
Isolate* isolate) { … }
}
ReadOnlySerializer::ReadOnlySerializer(Isolate* isolate,
Snapshot::SerializerFlags flags)
: … { … }
ReadOnlySerializer::~ReadOnlySerializer() { … }
void ReadOnlySerializer::Serialize() { … }
}
}