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

Unified Diff: runtime/vm/flag_list.h

Issue 1731743003: Move precompilation-related flags to flags list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: make print_stop_message default false to fix build 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_api_impl_test.cc ('k') | runtime/vm/flags.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 4fdfb7b494130cef7a4b1beeab85e4fdc82db4ff..570d0fc37e4db07e993659571a7a64e114a06aeb 100644
--- a/runtime/vm/flag_list.h
+++ b/runtime/vm/flag_list.h
@@ -21,8 +21,22 @@
// 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, \
+ "Allow embedding absolute addresses in generated code.") \
+C(always_megamorphic_calls, true, false, 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, \
+ "Collects all dynamic function names to identify unique targets") \
R(dedup_instructions, true, bool, false, \
"Canonicalize instructions when precompiling.") \
+C(deoptimize_alot, false, false, bool, false, \
+ "Deoptimizes we are about to return to Dart code from native entries.") \
+C(deoptimize_every, 0, 0, int, 0, \
+ "Deoptimize on every N stack overflow checks") \
R(disable_alloc_stubs_after_gc, false, bool, false, \
"Stress testing flag.") \
R(disassemble, false, bool, false, \
@@ -31,16 +45,28 @@ R(disassemble_optimized, false, bool, false, \
"Disassemble optimized code.") \
R(dump_symbol_stats, false, bool, false, \
"Dump symbol table statistics") \
-R(enable_mirrors, false, bool, true, \
+C(emit_edge_counters, false, true, bool, true, \
+ "Emit edge counters") \
+C(enable_mirrors, false, false, bool, true, \
"Disable to make importing dart:mirrors an error.") \
+C(fields_may_be_reset, true, false, bool, false, \
+ "Don't optimize away static field initialization") \
R(gc_at_alloc, false, bool, false, \
"GC at every allocation.") \
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, \
+ "Generate special IC stubs collecting range information ") \
+C(interpret_irregexp, true, false, bool, false, \
+ "Use irregexp bytecode interpreter") \
C(lazy_dispatchers, false, true, bool, true, \
"Generate dispatchers lazily") \
+C(link_natives_lazily, true, false, bool, false, \
+ "Link native calls lazily") \
+C(load_deferred_eagerly, true, true, bool, false, \
+ "Load deferred libraries eagerly.") \
P(max_polymorphic_checks, int, 4, \
"Maximum number of polymorphic check, otherwise it is megamorphic.") \
P(max_equality_polymorphic_checks, int, 32, \
@@ -49,14 +75,20 @@ 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, \
+ "Function's usage-counter value before it is optimized, -1 means never") \
C(polymorphic_with_deopt, false, true, bool, true, \
- "Polymorphic calls with deoptimization / megamorphic call") \
+ "Polymorphic calls with deoptimization / megamorphic call") \
+C(precompiled_mode, true, false, bool, false, \
+ "Precompilation compiler/runtime mode") \
R(pretenure_all, false, bool, false, \
"Global pretenuring (for testing).") \
P(pretenure_interval, int, 10, \
"Back off pretenuring after this many cycles.") \
P(pretenure_threshold, int, 98, \
"Trigger pretenuring when this many percent are promoted.") \
+C(print_stop_message, false, false, bool, false, \
+ "Print stop message.") \
R(profiler, false, bool, true, \
"Enable the profiler.") \
R(support_ast_printer, false, bool, true, \
@@ -89,6 +121,10 @@ P(truncating_left_shift, bool, true, \
"Optimize left shift to truncate if possible") \
C(use_cha_deopt, false, true, bool, true, \
"Use class hierarchy analysis even if it can cause deoptimization.") \
+C(use_field_guards, false, true, bool, true, \
+ "Use field guards and track field types") \
+C(use_osr, false, true, bool, true, \
+ "Use OSR") \
P(verbose_gc, bool, false, \
"Enables verbose GC.") \
P(verbose_gc_hdr, int, 40, \
@@ -98,5 +134,4 @@ R(verify_after_gc, false, bool, false, \
R(verify_before_gc, false, bool, false, \
"Enables heap verification before GC.") \
-
#endif // VM_FLAG_LIST_H_
« no previous file with comments | « runtime/vm/debugger_api_impl_test.cc ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698