30 #ifndef V8_SNAPSHOT_H_
31 #define V8_SNAPSHOT_H_
54 static int size() {
return size_; }
63 const byte* context_raw_data) {
64 context_raw_data_ = context_raw_data;
68 static const byte data_[];
69 static const byte* raw_data_;
70 static const byte context_data_[];
71 static const byte* context_raw_data_;
72 static const int new_space_used_;
73 static const int pointer_space_used_;
74 static const int data_space_used_;
75 static const int code_space_used_;
76 static const int map_space_used_;
77 static const int cell_space_used_;
78 static const int large_space_used_;
79 static const int size_;
80 static const int raw_size_;
81 static const int context_size_;
82 static const int context_raw_size_;
84 static bool Deserialize(
const byte* content,
int len);
86 DISALLOW_IMPLICIT_CONSTRUCTORS(
Snapshot);
91 #endif // V8_SNAPSHOT_H_
static const byte * data()
static void set_context_raw_data(const byte *context_raw_data)
static Handle< Context > NewContextFromSnapshot()
static bool WriteToFile(const char *snapshot_file)
static int context_raw_size()
static void set_raw_data(const byte *raw_data)
static int context_size()
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination trace on stack replacement optimize closures functions with arguments object optimize functions containing for in loops profiler considers IC stability primitive functions trigger their own optimization re try self optimization if it failed insert an interrupt check at function exit execution budget before interrupt is triggered call count before self optimization self_optimization count_based_interrupts weighted_back_edges trace_opt emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 enable use of ARMv7 instructions if enable use of MIPS FPU instructions if NULL
static bool Initialize(const char *snapshot_file=NULL)
static const byte * context_data()