v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Snapshot Class Reference

#include <snapshot.h>

Static Public Member Functions

static bool Initialize (const char *snapshot_file=NULL)
 
static bool HaveASnapshotToStartFrom ()
 
static Handle< ContextNewContextFromSnapshot ()
 
static bool IsEnabled ()
 
static bool WriteToFile (const char *snapshot_file)
 
static const bytedata ()
 
static int size ()
 
static int raw_size ()
 
static void set_raw_data (const byte *raw_data)
 
static const bytecontext_data ()
 
static int context_size ()
 
static int context_raw_size ()
 
static void set_context_raw_data (const byte *context_raw_data)
 

Detailed Description

Definition at line 36 of file snapshot.h.

Member Function Documentation

static const byte* context_data ( )
inlinestatic

Definition at line 61 of file snapshot.h.

Referenced by V8::GetCompressedStartupData().

static int context_raw_size ( )
inlinestatic

Definition at line 63 of file snapshot.h.

Referenced by V8::GetCompressedStartupData(), and V8::SetDecompressedStartupData().

static int context_size ( )
inlinestatic

Definition at line 62 of file snapshot.h.

Referenced by V8::GetCompressedStartupData().

static const byte* data ( )
inlinestatic

Definition at line 55 of file snapshot.h.

Referenced by V8::GetCompressedStartupData().

bool HaveASnapshotToStartFrom ( )
static

Definition at line 108 of file snapshot-common.cc.

Referenced by DEPENDENT_TEST(), FullCodeGenerator::Initialize(), and TEST().

bool Initialize ( const char *  snapshot_file = NULL)
static
static bool IsEnabled ( )
inlinestatic

Definition at line 49 of file snapshot.h.

Referenced by Heap::ConfigureHeap(), DEPENDENT_TEST(), and TEST().

static int raw_size ( )
inlinestatic

Definition at line 57 of file snapshot.h.

Referenced by V8::GetCompressedStartupData(), and V8::SetDecompressedStartupData().

static void set_context_raw_data ( const byte context_raw_data)
inlinestatic

Definition at line 64 of file snapshot.h.

Referenced by V8::SetDecompressedStartupData().

static void set_raw_data ( const byte raw_data)
inlinestatic

Definition at line 58 of file snapshot.h.

Referenced by V8::SetDecompressedStartupData().

static int size ( )
inlinestatic

Definition at line 56 of file snapshot.h.

Referenced by V8::GetCompressedStartupData().

static bool WriteToFile ( const char *  snapshot_file)
static

The documentation for this class was generated from the following files: