diff options
Diffstat (limited to 'src/3rdparty/v8/src/snapshot.h')
-rw-r--r-- | src/3rdparty/v8/src/snapshot.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/3rdparty/v8/src/snapshot.h b/src/3rdparty/v8/src/snapshot.h index 4f01a2d..c4ae45e 100644 --- a/src/3rdparty/v8/src/snapshot.h +++ b/src/3rdparty/v8/src/snapshot.h @@ -40,6 +40,8 @@ class Snapshot { // could be found. static bool Initialize(const char* snapshot_file = NULL); + static bool HaveASnapshotToStartFrom(); + // Create a new context using the internal partial snapshot. static Handle<Context> NewContextFromSnapshot(); @@ -75,13 +77,18 @@ class Snapshot { static const int code_space_used_; static const int map_space_used_; static const int cell_space_used_; - static const int large_space_used_; + static const int context_new_space_used_; + static const int context_pointer_space_used_; + static const int context_data_space_used_; + static const int context_code_space_used_; + static const int context_map_space_used_; + static const int context_cell_space_used_; static const int size_; static const int raw_size_; static const int context_size_; static const int context_raw_size_; - static bool Deserialize(const byte* content, int len); + static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); }; |