37 #if defined(DEBUG) && defined(NDEBUG)
43 #endif // defined(GOOGLE3)
47 #if defined(DEBUG) && defined(NDEBUG)
48 #error both DEBUG and NDEBUG are set
52 #include "../include/v8.h"
53 #include "../include/v8-platform.h"
89 bool take_snapshot =
false);
107 return array_buffer_allocator_;
112 array_buffer_allocator_ = allocator;
120 static void InitializeOncePerProcessImpl();
121 static void InitializeOncePerProcess();
138 namespace i = v8::internal;
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
static bool Initialize(Deserializer *des)
#define CHECK_EQ(expected, value)
void(* CallCompletedCallback)()
static void SetArrayBufferAllocator(v8::ArrayBuffer::Allocator *allocator)
static void FireCallCompletedCallback(Isolate *isolate)
static void ShutdownPlatform()
static v8::ArrayBuffer::Allocator * ArrayBufferAllocator()
void(* FunctionEntryHook)(uintptr_t function, uintptr_t return_addr_location)
uintptr_t(* ReturnAddressLocationResolver)(uintptr_t return_addr_location)
static void RemoveCallCompletedCallback(CallCompletedCallback callback)
static void SetEntropySource(EntropySource source)
static void AddCallCompletedCallback(CallCompletedCallback callback)
static void SetReturnAddressLocationResolver(ReturnAddressLocationResolver resolver)
bool(* EntropySource)(unsigned char *buffer, size_t length)
static void InitializePlatform(v8::Platform *platform)
static void RunMicrotasks(Isolate *isolate)
static void SetFunctionEntryHook(FunctionEntryHook entry_hook)
static void FatalProcessOutOfMemory(const char *location, bool take_snapshot=false)
static v8::Platform * GetCurrentPlatform()