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 #include "src/isolate.h" | 5 #include "src/isolate.h" |
6 | 6 |
7 #ifndef V8_SNAPSHOT_H_ | 7 #ifndef V8_SNAPSHOT_H_ |
8 #define V8_SNAPSHOT_H_ | 8 #define V8_SNAPSHOT_H_ |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 30 matching lines...) Expand all Loading... |
41 static const byte* raw_data_; | 41 static const byte* raw_data_; |
42 static const byte context_data_[]; | 42 static const byte context_data_[]; |
43 static const byte* context_raw_data_; | 43 static const byte* context_raw_data_; |
44 static const int new_space_used_; | 44 static const int new_space_used_; |
45 static const int pointer_space_used_; | 45 static const int pointer_space_used_; |
46 static const int data_space_used_; | 46 static const int data_space_used_; |
47 static const int code_space_used_; | 47 static const int code_space_used_; |
48 static const int map_space_used_; | 48 static const int map_space_used_; |
49 static const int cell_space_used_; | 49 static const int cell_space_used_; |
50 static const int property_cell_space_used_; | 50 static const int property_cell_space_used_; |
| 51 static const int lo_space_used_; |
51 static const int context_new_space_used_; | 52 static const int context_new_space_used_; |
52 static const int context_pointer_space_used_; | 53 static const int context_pointer_space_used_; |
53 static const int context_data_space_used_; | 54 static const int context_data_space_used_; |
54 static const int context_code_space_used_; | 55 static const int context_code_space_used_; |
55 static const int context_map_space_used_; | 56 static const int context_map_space_used_; |
56 static const int context_cell_space_used_; | 57 static const int context_cell_space_used_; |
57 static const int context_property_cell_space_used_; | 58 static const int context_property_cell_space_used_; |
| 59 static const int context_lo_space_used_; |
58 static const int size_; | 60 static const int size_; |
59 static const int raw_size_; | 61 static const int raw_size_; |
60 static const int context_size_; | 62 static const int context_size_; |
61 static const int context_raw_size_; | 63 static const int context_raw_size_; |
62 | 64 |
63 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); | 65 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); |
64 | 66 |
65 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); | 67 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); |
66 }; | 68 }; |
67 | 69 |
68 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 70 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
69 void SetSnapshotFromFile(StartupData* snapshot_blob); | 71 void SetSnapshotFromFile(StartupData* snapshot_blob); |
70 #endif | 72 #endif |
71 | 73 |
72 } } // namespace v8::internal | 74 } } // namespace v8::internal |
73 | 75 |
74 #endif // V8_SNAPSHOT_H_ | 76 #endif // V8_SNAPSHOT_H_ |
OLD | NEW |