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

Unified Diff: runtime/vm/flag_list.h

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments 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
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flag_list.h
diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
index 35a775655ffaea792e6977d37992b1ef1cf14042..dfc5676fbc17ecb1a02c7d66dbe5f1b19abadd0a 100644
--- a/runtime/vm/flag_list.h
+++ b/runtime/vm/flag_list.h
@@ -21,15 +21,15 @@
// R(name, product_value, type, default_value, comment)
// C(name, precompiled_value, product_value, type, default_value, comment)
#define FLAG_LIST(P, R, D, C) \
-C(allow_absolute_addresses, false, true, bool, true, \
+P(allow_absolute_addresses, bool, true, \
"Allow embedding absolute addresses in generated code.") \
-C(always_megamorphic_calls, true, false, bool, false, \
+P(always_megamorphic_calls, bool, false, \
"Instance call always as megamorphic.") \
C(background_compilation, false, false, bool, false, \
"Run optimizing compilation in background") \
C(collect_code, false, true, bool, true, \
"Attempt to GC infrequently used code.") \
-C(collect_dynamic_function_names, true, false, bool, false, \
+P(collect_dynamic_function_names, bool, false, \
"Collects all dynamic function names to identify unique targets") \
R(dedup_instructions, true, bool, false, \
"Canonicalize instructions when precompiling.") \
@@ -45,8 +45,6 @@ R(disassemble_optimized, false, bool, false, \
"Disassemble optimized code.") \
R(dump_symbol_stats, false, bool, false, \
"Dump symbol table statistics") \
-C(emit_edge_counters, false, true, bool, true, \
- "Emit edge counters") \
R(enable_asserts, false, bool, false, \
"Enable assert statements.") \
C(enable_mirrors, false, false, bool, true, \
@@ -57,7 +55,7 @@ R(error_on_bad_override, false, bool, false, \
"Report error for bad overrides.") \
R(error_on_bad_type, false, bool, false, \
"Report error for malformed types.") \
-C(fields_may_be_reset, true, false, bool, false, \
+P(fields_may_be_reset, bool, false, \
"Don't optimize away static field initialization") \
C(force_clone_compiler_objects, false, false, bool, false, \
"Force cloning of objects needed in compiler (ICData and Field).") \
@@ -67,13 +65,13 @@ P(getter_setter_ratio, int, 13, \
"Ratio of getter/setter usage used for double field unboxing heuristics") \
P(guess_icdata_cid, bool, true, \
"Artificially create type feedback for arithmetic etc. operations") \
-C(ic_range_profiling, false, true, bool, true, \
+P(ic_range_profiling, bool, true, \
"Generate special IC stubs collecting range information ") \
-C(interpret_irregexp, true, false, bool, false, \
+P(interpret_irregexp, bool, false, \
"Use irregexp bytecode interpreter") \
-C(lazy_dispatchers, false, true, bool, true, \
+P(lazy_dispatchers, bool, true, \
"Generate dispatchers lazily") \
-C(link_natives_lazily, true, false, bool, false, \
+P(link_natives_lazily, bool, false, \
"Link native calls lazily") \
C(load_deferred_eagerly, true, true, bool, false, \
"Load deferred libraries eagerly.") \
@@ -85,12 +83,14 @@ P(merge_sin_cos, bool, false, \
"Merge sin/cos into sincos") \
P(new_gen_ext_limit, int, 64, \
"maximum total external size (MB) in new gen before triggering GC") \
-C(optimization_counter_threshold, -1, 30000, int, 30000, \
+P(optimization_counter_threshold, int, 30000, \
"Function's usage-counter value before it is optimized, -1 means never") \
-C(polymorphic_with_deopt, false, true, bool, true, \
+P(polymorphic_with_deopt, bool, true, \
"Polymorphic calls with deoptimization / megamorphic call") \
-C(precompiled_mode, true, false, bool, false, \
- "Precompilation compiler/runtime mode") \
+P(precompiled_mode, bool, false, \
+ "Precompilation compiler mode") \
+C(precompiled_runtime, true, false, bool, false, \
+ "Precompiled runtime mode") \
R(pretenure_all, false, bool, false, \
"Global pretenuring (for testing).") \
P(pretenure_interval, int, 10, \
@@ -101,6 +101,8 @@ C(print_stop_message, false, false, bool, false, \
"Print stop message.") \
R(profiler, false, bool, true, \
"Enable the profiler.") \
+P(reorder_basic_blocks, bool, true, \
+ "Reorder basic blocks") \
R(support_ast_printer, false, bool, true, \
"Support the AST printer.") \
R(support_compiler_stats, false, bool, true, \
@@ -129,9 +131,9 @@ D(trace_zones, bool, false, \
"Traces allocation sizes in the zone.") \
P(truncating_left_shift, bool, true, \
"Optimize left shift to truncate if possible") \
-C(use_cha_deopt, false, true, bool, true, \
+P(use_cha_deopt, bool, true, \
"Use class hierarchy analysis even if it can cause deoptimization.") \
-C(use_field_guards, false, true, bool, true, \
+P(use_field_guards, bool, true, \
"Use field guards and track field types") \
C(use_osr, false, true, bool, true, \
"Use OSR") \
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698