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 #ifndef V8_SNAPSHOT_SNAPSHOT_H_ | 5 #ifndef V8_SNAPSHOT_SNAPSHOT_H_ |
6 #define V8_SNAPSHOT_SNAPSHOT_H_ | 6 #define V8_SNAPSHOT_SNAPSHOT_H_ |
7 | 7 |
8 #include "src/snapshot/serialize.h" | 8 #include "src/snapshot/serialize.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 return kStartupDataOffset + startup_length; | 82 return kStartupDataOffset + startup_length; |
83 } | 83 } |
84 | 84 |
85 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); | 85 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); |
86 }; | 86 }; |
87 | 87 |
88 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 88 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
89 void SetSnapshotFromFile(StartupData* snapshot_blob); | 89 void SetSnapshotFromFile(StartupData* snapshot_blob); |
90 #endif | 90 #endif |
91 | 91 |
92 } } // namespace v8::internal | 92 } // namespace internal |
| 93 } // namespace v8 |
93 | 94 |
94 #endif // V8_SNAPSHOT_SNAPSHOT_H_ | 95 #endif // V8_SNAPSHOT_SNAPSHOT_H_ |
OLD | NEW |