| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ | 87 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ |
| 88 P(getter_setter_ratio, int, 13, \ | 88 P(getter_setter_ratio, int, 13, \ |
| 89 "Ratio of getter/setter usage used for double field unboxing heuristics") \ | 89 "Ratio of getter/setter usage used for double field unboxing heuristics") \ |
| 90 P(guess_icdata_cid, bool, true, \ | 90 P(guess_icdata_cid, bool, true, \ |
| 91 "Artificially create type feedback for arithmetic etc. operations") \ | 91 "Artificially create type feedback for arithmetic etc. operations") \ |
| 92 P(huge_method_cutoff_in_tokens, int, 20000, \ | 92 P(huge_method_cutoff_in_tokens, int, 20000, \ |
| 93 "Huge method cutoff in tokens: Disables optimizations for huge methods.") \ | 93 "Huge method cutoff in tokens: Disables optimizations for huge methods.") \ |
| 94 P(interpret_irregexp, bool, USING_DBC, "Use irregexp bytecode interpreter") \ | 94 P(interpret_irregexp, bool, USING_DBC, "Use irregexp bytecode interpreter") \ |
| 95 P(lazy_dispatchers, bool, true, "Generate dispatchers lazily") \ | 95 P(lazy_dispatchers, bool, true, "Generate dispatchers lazily") \ |
| 96 P(link_natives_lazily, bool, false, "Link native calls lazily") \ | 96 P(link_natives_lazily, bool, false, "Link native calls lazily") \ |
| 97 R(limit_ints_to_64_bits, false, bool, false, \ | 97 R(limit_ints_to_64_bits, false, bool, false, "Truncate integers to 64 bits") \ |
| 98 "Throw a RangeError on 64-bit integer overflow"); \ | |
| 99 C(load_deferred_eagerly, true, true, bool, false, \ | 98 C(load_deferred_eagerly, true, true, bool, false, \ |
| 100 "Load deferred libraries eagerly.") \ | 99 "Load deferred libraries eagerly.") \ |
| 101 R(log_marker_tasks, false, bool, false, \ | 100 R(log_marker_tasks, false, bool, false, \ |
| 102 "Log debugging information for old gen GC marking tasks.") \ | 101 "Log debugging information for old gen GC marking tasks.") \ |
| 103 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ | 102 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ |
| 104 "The number of tasks to spawn during old gen GC marking (0 means " \ | 103 "The number of tasks to spawn during old gen GC marking (0 means " \ |
| 105 "perform all marking on main thread).") \ | 104 "perform all marking on main thread).") \ |
| 106 P(max_polymorphic_checks, int, 4, \ | 105 P(max_polymorphic_checks, int, 4, \ |
| 107 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ | 106 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ |
| 108 P(max_equality_polymorphic_checks, int, 32, \ | 107 P(max_equality_polymorphic_checks, int, 32, \ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 174 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
| 176 R(verify_after_gc, false, bool, false, \ | 175 R(verify_after_gc, false, bool, false, \ |
| 177 "Enables heap verification after GC.") \ | 176 "Enables heap verification after GC.") \ |
| 178 R(verify_before_gc, false, bool, false, \ | 177 R(verify_before_gc, false, bool, false, \ |
| 179 "Enables heap verification before GC.") \ | 178 "Enables heap verification before GC.") \ |
| 180 D(verify_gc_contains, bool, false, \ | 179 D(verify_gc_contains, bool, false, \ |
| 181 "Enables verification of address contains during GC.") \ | 180 "Enables verification of address contains during GC.") \ |
| 182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 181 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 183 | 182 |
| 184 #endif // RUNTIME_VM_FLAG_LIST_H_ | 183 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |