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"
89 static bool IsDead() {
return has_fatal_error_ || has_been_disposed_; }
94 bool take_snapshot =
false);
120 static void InitializeOncePerProcessImpl();
121 static void InitializeOncePerProcess();
124 static bool is_running_;
126 static bool has_been_set_up_;
129 static bool has_fatal_error_;
132 static bool has_been_disposed_;
134 static bool use_crankshaft_;
150 namespace i = v8::internal;
static bool Initialize(Deserializer *des)
void(* CallCompletedCallback)()
static bool UseCrankshaft()
static void SetFatalError()
static void FireCallCompletedCallback(Isolate *isolate)
static Object * FillHeapNumberWithRandom(Object *heap_number, Context *context)
static bool IdleNotification(int hint)
static void SetEntropySource(EntropySource source)
uintptr_t(* ReturnAddressLocationResolver)(uintptr_t return_addr_location)
static void RemoveCallCompletedCallback(CallCompletedCallback callback)
static uint32_t RandomPrivate(Isolate *isolate)
static void AddCallCompletedCallback(CallCompletedCallback callback)
static void SetReturnAddressLocationResolver(ReturnAddressLocationResolver resolver)
bool(* EntropySource)(unsigned char *buffer, size_t length)
static void FatalProcessOutOfMemory(const char *location, bool take_snapshot=false)
static uint32_t Random(Context *context)