| 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 VM_FLAG_LIST_H_ | 5 #ifndef VM_FLAG_LIST_H_ |
| 6 #define VM_FLAG_LIST_H_ | 6 #define VM_FLAG_LIST_H_ |
| 7 | 7 |
| 8 // List of all flags in the VM. | 8 // List of all flags in the VM. |
| 9 // Flags can be one of three categories: | 9 // Flags can be one of three categories: |
| 10 // * P roduct flags: Can be set in any of the deployment modes, including in | 10 // * P roduct flags: Can be set in any of the deployment modes, including in |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 R(disable_alloc_stubs_after_gc, false, bool, false, \ | 40 R(disable_alloc_stubs_after_gc, false, bool, false, \ |
| 41 "Stress testing flag.") \ | 41 "Stress testing flag.") \ |
| 42 R(disassemble, false, bool, false, \ | 42 R(disassemble, false, bool, false, \ |
| 43 "Disassemble dart code.") \ | 43 "Disassemble dart code.") \ |
| 44 R(disassemble_optimized, false, bool, false, \ | 44 R(disassemble_optimized, false, bool, false, \ |
| 45 "Disassemble optimized code.") \ | 45 "Disassemble optimized code.") \ |
| 46 R(dump_symbol_stats, false, bool, false, \ | 46 R(dump_symbol_stats, false, bool, false, \ |
| 47 "Dump symbol table statistics") \ | 47 "Dump symbol table statistics") \ |
| 48 C(emit_edge_counters, false, true, bool, true, \ | 48 C(emit_edge_counters, false, true, bool, true, \ |
| 49 "Emit edge counters") \ | 49 "Emit edge counters") \ |
| 50 R(enable_asserts, false, bool, false, \ |
| 51 "Enable assert statements.") \ |
| 50 C(enable_mirrors, false, false, bool, true, \ | 52 C(enable_mirrors, false, false, bool, true, \ |
| 51 "Disable to make importing dart:mirrors an error.") \ | 53 "Disable to make importing dart:mirrors an error.") \ |
| 54 R(enable_type_checks, false, bool, false, \ |
| 55 "Enable type checks.") \ |
| 56 R(error_on_bad_override, false, bool, false, \ |
| 57 "Report error for bad overrides.") \ |
| 58 R(error_on_bad_type, false, bool, false, \ |
| 59 "Report error for malformed types.") \ |
| 52 C(fields_may_be_reset, true, false, bool, false, \ | 60 C(fields_may_be_reset, true, false, bool, false, \ |
| 53 "Don't optimize away static field initialization") \ | 61 "Don't optimize away static field initialization") \ |
| 54 R(gc_at_alloc, false, bool, false, \ | 62 R(gc_at_alloc, false, bool, false, \ |
| 55 "GC at every allocation.") \ | 63 "GC at every allocation.") \ |
| 56 P(getter_setter_ratio, int, 13, \ | 64 P(getter_setter_ratio, int, 13, \ |
| 57 "Ratio of getter/setter usage used for double field unboxing heuristics") \ | 65 "Ratio of getter/setter usage used for double field unboxing heuristics") \ |
| 58 P(guess_icdata_cid, bool, true, \ | 66 P(guess_icdata_cid, bool, true, \ |
| 59 "Artificially create type feedback for arithmetic etc. operations") \ | 67 "Artificially create type feedback for arithmetic etc. operations") \ |
| 60 C(ic_range_profiling, false, true, bool, true, \ | 68 C(ic_range_profiling, false, true, bool, true, \ |
| 61 "Generate special IC stubs collecting range information ") \ | 69 "Generate special IC stubs collecting range information ") \ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 P(verbose_gc, bool, false, \ | 136 P(verbose_gc, bool, false, \ |
| 129 "Enables verbose GC.") \ | 137 "Enables verbose GC.") \ |
| 130 P(verbose_gc_hdr, int, 40, \ | 138 P(verbose_gc_hdr, int, 40, \ |
| 131 "Print verbose GC header interval.") \ | 139 "Print verbose GC header interval.") \ |
| 132 R(verify_after_gc, false, bool, false, \ | 140 R(verify_after_gc, false, bool, false, \ |
| 133 "Enables heap verification after GC.") \ | 141 "Enables heap verification after GC.") \ |
| 134 R(verify_before_gc, false, bool, false, \ | 142 R(verify_before_gc, false, bool, false, \ |
| 135 "Enables heap verification before GC.") \ | 143 "Enables heap verification before GC.") \ |
| 136 | 144 |
| 137 #endif // VM_FLAG_LIST_H_ | 145 #endif // VM_FLAG_LIST_H_ |
| OLD | NEW |