| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_CLUSTERED_SNAPSHOT_H_ | 5 #ifndef VM_CLUSTERED_SNAPSHOT_H_ |
| 6 #define VM_CLUSTERED_SNAPSHOT_H_ | 6 #define VM_CLUSTERED_SNAPSHOT_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 #include "vm/bitfield.h" | 10 #include "vm/bitfield.h" |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 | 435 |
| 436 Thread* thread_; | 436 Thread* thread_; |
| 437 Snapshot::Kind kind_; | 437 Snapshot::Kind kind_; |
| 438 uint8_t** vm_isolate_snapshot_buffer_; | 438 uint8_t** vm_isolate_snapshot_buffer_; |
| 439 uint8_t** isolate_snapshot_buffer_; | 439 uint8_t** isolate_snapshot_buffer_; |
| 440 ReAlloc alloc_; | 440 ReAlloc alloc_; |
| 441 intptr_t vm_isolate_snapshot_size_; | 441 intptr_t vm_isolate_snapshot_size_; |
| 442 intptr_t isolate_snapshot_size_; | 442 intptr_t isolate_snapshot_size_; |
| 443 ForwardList* forward_list_; | 443 ForwardList* forward_list_; |
| 444 InstructionsWriter* instructions_writer_; | 444 InstructionsWriter* instructions_writer_; |
| 445 Array& scripts_; | 445 Array& token_streams_; |
| 446 Array& saved_symbol_table_; | 446 Array& saved_symbol_table_; |
| 447 Array& new_vm_symbol_table_; | 447 Array& new_vm_symbol_table_; |
| 448 | 448 |
| 449 DISALLOW_COPY_AND_ASSIGN(FullSnapshotWriter); | 449 DISALLOW_COPY_AND_ASSIGN(FullSnapshotWriter); |
| 450 }; | 450 }; |
| 451 | 451 |
| 452 | 452 |
| 453 class VmIsolateSnapshotReader { | 453 class VmIsolateSnapshotReader { |
| 454 public: | 454 public: |
| 455 VmIsolateSnapshotReader(Snapshot::Kind kind, | 455 VmIsolateSnapshotReader(Snapshot::Kind kind, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 intptr_t size_; | 511 intptr_t size_; |
| 512 const uint8_t* instructions_buffer_; | 512 const uint8_t* instructions_buffer_; |
| 513 const uint8_t* data_buffer_; | 513 const uint8_t* data_buffer_; |
| 514 | 514 |
| 515 DISALLOW_COPY_AND_ASSIGN(IsolateSnapshotReader); | 515 DISALLOW_COPY_AND_ASSIGN(IsolateSnapshotReader); |
| 516 }; | 516 }; |
| 517 | 517 |
| 518 } // namespace dart | 518 } // namespace dart |
| 519 | 519 |
| 520 #endif // VM_CLUSTERED_SNAPSHOT_H_ | 520 #endif // VM_CLUSTERED_SNAPSHOT_H_ |
| OLD | NEW |