| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_SNAPSHOT_DESERIALIZER_H_ | 5 #ifndef V8_SNAPSHOT_DESERIALIZER_H_ |
| 6 #define V8_SNAPSHOT_DESERIALIZER_H_ | 6 #define V8_SNAPSHOT_DESERIALIZER_H_ |
| 7 | 7 |
| 8 #include "src/heap/heap.h" | 8 #include "src/heap/heap.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/snapshot/serializer-common.h" | 10 #include "src/snapshot/serializer-common.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 Heap::Reservation reservations_[kNumberOfSpaces]; | 131 Heap::Reservation reservations_[kNumberOfSpaces]; |
| 132 uint32_t current_chunk_[kNumberOfPreallocatedSpaces]; | 132 uint32_t current_chunk_[kNumberOfPreallocatedSpaces]; |
| 133 Address high_water_[kNumberOfPreallocatedSpaces]; | 133 Address high_water_[kNumberOfPreallocatedSpaces]; |
| 134 int next_map_index_; | 134 int next_map_index_; |
| 135 List<Address> allocated_maps_; | 135 List<Address> allocated_maps_; |
| 136 | 136 |
| 137 ExternalReferenceTable* external_reference_table_; | 137 ExternalReferenceTable* external_reference_table_; |
| 138 | 138 |
| 139 List<HeapObject*> deserialized_large_objects_; | 139 List<HeapObject*> deserialized_large_objects_; |
| 140 List<Code*> new_code_objects_; | 140 List<Code*> new_code_objects_; |
| 141 List<AccessorInfo*> accessor_infos_; |
| 141 List<Handle<String> > new_internalized_strings_; | 142 List<Handle<String> > new_internalized_strings_; |
| 142 List<Handle<Script> > new_scripts_; | 143 List<Handle<Script> > new_scripts_; |
| 143 | 144 |
| 144 bool deserializing_user_code_; | 145 bool deserializing_user_code_; |
| 145 | 146 |
| 146 AllocationAlignment next_alignment_; | 147 AllocationAlignment next_alignment_; |
| 147 | 148 |
| 148 DISALLOW_COPY_AND_ASSIGN(Deserializer); | 149 DISALLOW_COPY_AND_ASSIGN(Deserializer); |
| 149 }; | 150 }; |
| 150 | 151 |
| 151 } // namespace internal | 152 } // namespace internal |
| 152 } // namespace v8 | 153 } // namespace v8 |
| 153 | 154 |
| 154 #endif // V8_SNAPSHOT_DESERIALIZER_H_ | 155 #endif // V8_SNAPSHOT_DESERIALIZER_H_ |
| OLD | NEW |