Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1455)

Unified Diff: src/v8.h

Issue 6670119: VM initialization refactoring. (Closed)
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/v8.h
diff --git a/src/v8.h b/src/v8.h
index aa037d5b9bd9ef8bb2c453ffbbf960af5cdd06ad..776fa9c2be51db5d75f9add7fc6c4698151b3c5f 100644
--- a/src/v8.h
+++ b/src/v8.h
@@ -84,7 +84,6 @@ 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_; }
@@ -108,6 +107,8 @@ class V8 : public AllStatic {
static bool IdleNotification();
private:
+ static void InitializeOncePerProcess();
+
// True if engine is currently running
static bool is_running_;
// True if V8 has ever been run

Powered by Google App Engine
This is Rietveld 408576698