| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); | 50 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); |
| 51 | 51 |
| 52 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); | 52 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 55 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| 56 void SetSnapshotFromFile(StartupData* snapshot_blob); | 56 void SetSnapshotFromFile(StartupData* snapshot_blob); |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 #ifdef V8_ON_DEMAND_SNAPSHOT |
| 60 void CreateV8SnapshotOnDemand(); |
| 61 #endif |
| 62 |
| 59 } } // namespace v8::internal | 63 } } // namespace v8::internal |
| 60 | 64 |
| 61 #endif // V8_SNAPSHOT_H_ | 65 #endif // V8_SNAPSHOT_H_ |
| OLD | NEW |