| Index: runtime/vm/snapshot.h
|
| diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
|
| index 3dc6aaeb1ac90b7da43fe23b70dba1c88943ad43..8b540f38bebfdd3727e1dd76c2b2c0535d2143f1 100644
|
| --- a/runtime/vm/snapshot.h
|
| +++ b/runtime/vm/snapshot.h
|
| @@ -161,6 +161,8 @@ class Snapshot {
|
| // not compile in the future.
|
| kScript, // A partial snapshot of only the application script.
|
| kMessage, // A partial snapshot used only for isolate messaging.
|
| + kNone, // dart_bootstrap/gen_snapshot
|
| + kInvalid
|
| };
|
|
|
| static const int kHeaderSize = 2 * sizeof(int64_t);
|
| @@ -919,7 +921,8 @@ class AssemblyInstructionsWriter : public InstructionsWriter {
|
| ReAlloc alloc,
|
| intptr_t initial_size)
|
| : InstructionsWriter(),
|
| - assembly_stream_(assembly_buffer, alloc, initial_size) {
|
| + assembly_stream_(assembly_buffer, alloc, initial_size),
|
| + binary_size_(0) {
|
| }
|
|
|
| virtual void Write();
|
| @@ -1179,16 +1182,6 @@ class FullSnapshotWriter {
|
| };
|
|
|
|
|
| -class PrecompiledSnapshotWriter : public FullSnapshotWriter {
|
| - public:
|
| - PrecompiledSnapshotWriter(uint8_t** vm_isolate_snapshot_buffer,
|
| - uint8_t** isolate_snapshot_buffer,
|
| - ReAlloc alloc,
|
| - InstructionsWriter* instructions_writer);
|
| - ~PrecompiledSnapshotWriter();
|
| -};
|
| -
|
| -
|
| class ScriptSnapshotWriter : public SnapshotWriter {
|
| public:
|
| static const intptr_t kInitialSize = 64 * KB;
|
|
|