| Index: src/v8.h
|
| diff --git a/src/v8.h b/src/v8.h
|
| index 13c33e1860f4adf535b4d19c37283e9bfe1c0136..8ae75fb85475dbc13013978849dc299e78798052 100644
|
| --- a/src/v8.h
|
| +++ b/src/v8.h
|
| @@ -49,11 +49,17 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +class Deserializer;
|
| +
|
| class V8 : public AllStatic {
|
| public:
|
| // Global actions.
|
|
|
| - static bool Initialize();
|
| + // If Initialize is called with des == NULL, the initial state is
|
| + // created from scratch. If a non-null Deserializer is given, the
|
| + // initial state is created by reading the deserialized data into an
|
| + // empty heap.
|
| + static bool Initialize(Deserializer* des);
|
| static void TearDown();
|
|
|
| // Report process out of memory. Implementation found in api.cc.
|
|
|