38 if ((
static_cast<int>(strlen(
name)) == native_name_length) &&
64 int debugger_count = source->GetInt();
65 for (
int i = 0;
i < debugger_count; ++
i)
67 int library_count = source->GetInt();
68 for (
int i = 0;
i < library_count; ++
i)
83 bool success = bytes->GetBlob(&
name, &name_length) &&
84 bytes->GetBlob(&source, &source_length);
87 reinterpret_cast<const char*
>(
name), name_length);
89 reinterpret_cast<const char*
>(source), source_length);
104 template<NativeType type>
120 template<NativeType type>
133 SnapshotByteSource bytes(
134 reinterpret_cast<const byte*
>(natives_blob->
data),
148 template<NativeType type>
153 template<NativeType type>
158 template<NativeType type>
163 template<NativeType type>
168 template<NativeType type>
173 template<NativeType type>
178 template<NativeType type>
183 template<NativeType type>
static int GetDebuggerCount()
static Vector< const char > GetScriptName(int index)
static Vector< const char > GetRawScriptSource(int index)
static int GetRawScriptsSize()
static int GetIndex(const char *name)
static int GetBuiltinsCount()
static Vector< const byte > GetScriptsSource()
static void SetRawScriptsSource(Vector< const char > raw_source)
static NativesStore * get()
static NativesStore * holder_
static void set(NativesStore *store)
NativesStore stores the 'native' (builtin) JS libraries.
bool ReadNameAndContentPair(SnapshotByteSource *bytes)
Vector< const char > GetScriptName(int index)
DISALLOW_COPY_AND_ASSIGN(NativesStore)
List< Vector< const char > > native_names_
static NativesStore * MakeFromScriptsSource(SnapshotByteSource *source)
Vector< const byte > GetScriptsSource()
Vector< const char > GetRawScriptSource(int index)
int GetIndex(const char *name)
List< Vector< const char > > native_source_
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
#define DCHECK(condition)
void SetNativesFromFile(StartupData *natives_blob)
Read the Natives (library sources) blob, as generated by js2c + the build system.
Debugger support for the V8 JavaScript engine.