| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 // Used for building with external snapshots. | 5 // Used for building with external snapshots. |
| 6 | 6 |
| 7 #include "src/snapshot.h" | 7 #include "src/snapshot.h" |
| 8 | 8 |
| 9 #include "src/serialize.h" | 9 #include "src/serialize.h" |
| 10 #include "src/snapshot-source-sink.h" | 10 #include "src/snapshot-source-sink.h" |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 success &= source.GetBlob(&snapshot_impl_->context_data, | 130 success &= source.GetBlob(&snapshot_impl_->context_data, |
| 131 &snapshot_impl_->context_size); | 131 &snapshot_impl_->context_size); |
| 132 snapshot_impl_->context_new_space_used = source.GetInt(); | 132 snapshot_impl_->context_new_space_used = source.GetInt(); |
| 133 snapshot_impl_->context_pointer_space_used = source.GetInt(); | 133 snapshot_impl_->context_pointer_space_used = source.GetInt(); |
| 134 snapshot_impl_->context_data_space_used = source.GetInt(); | 134 snapshot_impl_->context_data_space_used = source.GetInt(); |
| 135 snapshot_impl_->context_code_space_used = source.GetInt(); | 135 snapshot_impl_->context_code_space_used = source.GetInt(); |
| 136 snapshot_impl_->context_map_space_used = source.GetInt(); | 136 snapshot_impl_->context_map_space_used = source.GetInt(); |
| 137 snapshot_impl_->context_cell_space_used = source.GetInt(); | 137 snapshot_impl_->context_cell_space_used = source.GetInt(); |
| 138 snapshot_impl_->context_property_cell_space_used = source.GetInt(); | 138 snapshot_impl_->context_property_cell_space_used = source.GetInt(); |
| 139 snapshot_impl_->context_lo_space_used = source.GetInt(); |
| 139 | 140 |
| 140 DCHECK(success); | 141 DCHECK(success); |
| 141 } | 142 } |
| 142 | 143 |
| 143 } } // namespace v8::internal | 144 } } // namespace v8::internal |
| OLD | NEW |