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

Unified Diff: runtime/vm/flags.h

Issue 8713012: Introduce Dart_SetVMFlags API function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Force atomicity. Created 9 years, 1 month 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: runtime/vm/flags.h
diff --git a/runtime/vm/flags.h b/runtime/vm/flags.h
index 23a9ed1c6130e035c264cad7ff14483b41be4244..d95e9090d641bbf841f9a9d3bd574bf3eb102946 100644
--- a/runtime/vm/flags.h
+++ b/runtime/vm/flags.h
@@ -55,9 +55,13 @@ class Flags {
static Flag* Lookup(const char* name);
+ static bool Initialized() { return initialized_; }
+
private:
static Flag* flags_;
+ static bool initialized_;
+
static void Parse(const char* option);
// Testing needs direct access to private methods.

Powered by Google App Engine
This is Rietveld 408576698