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

Unified Diff: runtime/vm/flag_list.h

Issue 1714743002: VM: Separate precompilation-specific code, make flags const. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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: runtime/vm/flag_list.h
diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
index 259d09b115598a345939f3945aeacec2fc1768c3..c0e00c96e29eeb0718330ea4aaab0a41c80b8316 100644
--- a/runtime/vm/flag_list.h
+++ b/runtime/vm/flag_list.h
@@ -13,7 +13,7 @@
// enabled.
// * R elease flags: Generally available flags except when building product.
rmacnak 2016/02/19 00:54:31 * pre C ompiled flags: ...
Florian Schneider 2016/02/19 17:42:29 Done.
rmacnak 2016/02/19 00:54:31 What about features disabled by product mode or pr
Florian Schneider 2016/02/19 17:42:29 I added all 4 combinations of product/precompiled
-#define FLAG_LIST(P, R, D) \
+#define FLAG_LIST(P, R, D, C) \
R(dedup_instructions, true, bool, false, \
"Canonicalize instructions when precompiling.") \
R(disable_alloc_stubs_after_gc, false, bool, false, \
@@ -62,6 +62,7 @@ R(verify_after_gc, false, bool, false, \
"Enables heap verification after GC.") \
R(verify_before_gc, false, bool, false, \
"Enables heap verification before GC.") \
+C(lazy_dispatchers, false, bool, true, "Generate dispatchers lazily") \
Ivan Posva 2016/02/19 01:07:49 Two lines for all of them! Even if they fit, which
Florian Schneider 2016/02/19 17:42:29 Done.
#endif // VM_FLAG_LIST_H_

Powered by Google App Engine
This is Rietveld 408576698