14 #if defined(DEBUG) && defined(NDEBUG)
24 #if defined(DEBUG) && defined(NDEBUG)
25 #error both DEBUG and NDEBUG are set
61 bool take_snapshot =
false);
Allocator that V8 uses to allocate |ArrayBuffer|'s memory.
static void ShutdownPlatform()
static void SetArrayBufferAllocator(v8::ArrayBuffer::Allocator *allocator)
static v8::Platform * platform_
static v8::ArrayBuffer::Allocator * array_buffer_allocator_
static v8::Platform * GetCurrentPlatform()
static void InitializePlatform(v8::Platform *platform)
static void FatalProcessOutOfMemory(const char *location, bool take_snapshot=false)
static v8::ArrayBuffer::Allocator * ArrayBufferAllocator()
static void SetReturnAddressLocationResolver(ReturnAddressLocationResolver resolver)
static void InitializeOncePerProcess()
static void SetFunctionEntryHook(FunctionEntryHook entry_hook)
static void InitializeOncePerProcessImpl()
static void SetEntropySource(EntropySource 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 NULL
#define CHECK_EQ(expected, value)
Debugger support for the V8 JavaScript engine.
uintptr_t(* ReturnAddressLocationResolver)(uintptr_t return_addr_location)
ReturnAddressLocationResolver is used as a callback function when v8 is resolving the location of a r...
void(* FunctionEntryHook)(uintptr_t function, uintptr_t return_addr_location)
FunctionEntryHook is the type of the profile entry hook called at entry to any generated function whe...
bool(* EntropySource)(unsigned char *buffer, size_t length)
EntropySource is used as a callback function when v8 needs a source of entropy.