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 "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 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 class Snapshot { | 13 class Snapshot { |
14 public: | 14 public: |
15 // Initialize the VM from the given snapshot file. If snapshot_file is | 15 // Initialize the VM from the given snapshot file. If snapshot_file is |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 static const int context_raw_size_; | 68 static const int context_raw_size_; |
69 | 69 |
70 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); | 70 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); |
71 | 71 |
72 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); | 72 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); |
73 }; | 73 }; |
74 | 74 |
75 } } // namespace v8::internal | 75 } } // namespace v8::internal |
76 | 76 |
77 #endif // V8_SNAPSHOT_H_ | 77 #endif // V8_SNAPSHOT_H_ |
OLD | NEW |