| Index: src/snapshot.h
|
| diff --git a/src/snapshot.h b/src/snapshot.h
|
| index 384e655c5693caed379cf738682919f9884e1db7..d37b50aebe02f44e363eb5f22efd16d846ebb6d3 100644
|
| --- a/src/snapshot.h
|
| +++ b/src/snapshot.h
|
| @@ -15,18 +15,16 @@ class Snapshot {
|
| // Initialize the Isolate from the internal snapshot. Returns false if no
|
| // snapshot could be found.
|
| static bool Initialize(Isolate* isolate);
|
| + // Create a new context using the internal partial snapshot.
|
| + static Handle<Context> NewContextFromSnapshot(Isolate* isolate);
|
|
|
| + static const Vector<const byte> StartupSnapshot();
|
| + static const Vector<const byte> ContextSnapshot();
|
| static bool HaveASnapshotToStartFrom();
|
|
|
| - // Create a new context using the internal partial snapshot.
|
| - static Handle<Context> NewContextFromSnapshot(Isolate* isolate);
|
| + static const v8::StartupData SnapshotBlob();
|
|
|
| private:
|
| - static const byte data_[];
|
| - static const int size_;
|
| - static const byte context_data_[];
|
| - static const int context_size_;
|
| -
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
|
| };
|
|
|
|
|