| Index: src/v8.h
|
| diff --git a/src/v8.h b/src/v8.h
|
| index 776fa9c2be51db5d75f9add7fc6c4698151b3c5f..e7ca0d2e32c6bf9e63eaa420a3b57103f18ee755 100644
|
| --- a/src/v8.h
|
| +++ b/src/v8.h
|
| @@ -84,6 +84,7 @@ class V8 : public AllStatic {
|
| static void TearDown();
|
| static bool IsRunning() { return is_running_; }
|
| static bool UseCrankshaft() { return use_crankshaft_; }
|
| + static void DisableCrankshaft() { use_crankshaft_ = false; }
|
| // To be dead you have to have lived
|
| // TODO(isolates): move IsDead to Isolate.
|
| static bool IsDead() { return has_fatal_error_ || has_been_disposed_; }
|
| @@ -100,15 +101,12 @@ class V8 : public AllStatic {
|
| // use a separate random state for internal random number
|
| // generation.
|
| static uint32_t RandomPrivate(Isolate* isolate);
|
| - static Object* FillHeapNumberWithRandom(Object* heap_number,
|
| - Isolate* isolate);
|
| + static Object* FillHeapNumberWithRandom(Object* heap_number);
|
|
|
| // Idle notification directly from the API.
|
| static bool IdleNotification();
|
|
|
| private:
|
| - static void InitializeOncePerProcess();
|
| -
|
| // True if engine is currently running
|
| static bool is_running_;
|
| // True if V8 has ever been run
|
|
|