| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RUNTIME_VM_FLAG_LIST_H_ | 5 #ifndef RUNTIME_VM_FLAG_LIST_H_ |
| 6 #define RUNTIME_VM_FLAG_LIST_H_ | 6 #define RUNTIME_VM_FLAG_LIST_H_ |
| 7 | 7 |
| 8 // Don't use USING_DBC outside of this file. | 8 // Don't use USING_DBC outside of this file. |
| 9 #if defined(TARGET_ARCH_DBC) | 9 #if defined(TARGET_ARCH_DBC) |
| 10 #define USING_DBC true | 10 #define USING_DBC true |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ | 94 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ |
| 95 P(getter_setter_ratio, int, 13, \ | 95 P(getter_setter_ratio, int, 13, \ |
| 96 "Ratio of getter/setter usage used for double field unboxing heuristics") \ | 96 "Ratio of getter/setter usage used for double field unboxing heuristics") \ |
| 97 P(guess_icdata_cid, bool, true, \ | 97 P(guess_icdata_cid, bool, true, \ |
| 98 "Artificially create type feedback for arithmetic etc. operations") \ | 98 "Artificially create type feedback for arithmetic etc. operations") \ |
| 99 P(huge_method_cutoff_in_tokens, int, 20000, \ | 99 P(huge_method_cutoff_in_tokens, int, 20000, \ |
| 100 "Huge method cutoff in tokens: Disables optimizations for huge methods.") \ | 100 "Huge method cutoff in tokens: Disables optimizations for huge methods.") \ |
| 101 P(interpret_irregexp, bool, USING_DBC, "Use irregexp bytecode interpreter") \ | 101 P(interpret_irregexp, bool, USING_DBC, "Use irregexp bytecode interpreter") \ |
| 102 P(lazy_dispatchers, bool, true, "Generate dispatchers lazily") \ | 102 P(lazy_dispatchers, bool, true, "Generate dispatchers lazily") \ |
| 103 P(link_natives_lazily, bool, false, "Link native calls lazily") \ | 103 P(link_natives_lazily, bool, false, "Link native calls lazily") \ |
| 104 R(limit_ints_to_64_bits, false, bool, false, \ |
| 105 "Throw a RangeError on 64-bit integer overflow"); \ |
| 104 C(load_deferred_eagerly, true, true, bool, false, \ | 106 C(load_deferred_eagerly, true, true, bool, false, \ |
| 105 "Load deferred libraries eagerly.") \ | 107 "Load deferred libraries eagerly.") \ |
| 106 R(log_marker_tasks, false, bool, false, \ | 108 R(log_marker_tasks, false, bool, false, \ |
| 107 "Log debugging information for old gen GC marking tasks.") \ | 109 "Log debugging information for old gen GC marking tasks.") \ |
| 108 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ | 110 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ |
| 109 "The number of tasks to spawn during old gen GC marking (0 means " \ | 111 "The number of tasks to spawn during old gen GC marking (0 means " \ |
| 110 "perform all marking on main thread).") \ | 112 "perform all marking on main thread).") \ |
| 111 P(max_polymorphic_checks, int, 4, \ | 113 P(max_polymorphic_checks, int, 4, \ |
| 112 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ | 114 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ |
| 113 P(max_equality_polymorphic_checks, int, 32, \ | 115 P(max_equality_polymorphic_checks, int, 32, \ |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 173 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
| 172 R(verify_after_gc, false, bool, false, \ | 174 R(verify_after_gc, false, bool, false, \ |
| 173 "Enables heap verification after GC.") \ | 175 "Enables heap verification after GC.") \ |
| 174 R(verify_before_gc, false, bool, false, \ | 176 R(verify_before_gc, false, bool, false, \ |
| 175 "Enables heap verification before GC.") \ | 177 "Enables heap verification before GC.") \ |
| 176 D(verify_gc_contains, bool, false, \ | 178 D(verify_gc_contains, bool, false, \ |
| 177 "Enables verification of address contains during GC.") \ | 179 "Enables verification of address contains during GC.") \ |
| 178 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 180 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 179 | 181 |
| 180 #endif // RUNTIME_VM_FLAG_LIST_H_ | 182 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |