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 // 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 |
11 #else | 11 #else |
12 #define USING_DBC false | 12 #define USING_DBC false |
13 #endif | 13 #endif |
14 | 14 |
| 15 #if defined(TARGET_OS_FUCHSIA) |
| 16 #define USING_FUCHSIA true |
| 17 #else |
| 18 #define USING_FUCHSIA false |
| 19 #endif |
| 20 |
15 // Don't use USING_MULTICORE outside of this file. | 21 // Don't use USING_MULTICORE outside of this file. |
16 #if defined(ARCH_IS_MULTI_CORE) | 22 #if defined(ARCH_IS_MULTI_CORE) |
17 #define USING_MULTICORE true | 23 #define USING_MULTICORE true |
18 #else | 24 #else |
19 #define USING_MULTICORE false | 25 #define USING_MULTICORE false |
20 #endif | 26 #endif |
21 | 27 |
22 // List of all flags in the VM. | 28 // List of all flags in the VM. |
23 // Flags can be one of three categories: | 29 // Flags can be one of three categories: |
24 // * P roduct flags: Can be set in any of the deployment modes, including in | 30 // * P roduct flags: Can be set in any of the deployment modes, including in |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 C(precompiled_runtime, true, false, bool, false, \ | 135 C(precompiled_runtime, true, false, bool, false, \ |
130 "Precompiled runtime mode") \ | 136 "Precompiled runtime mode") \ |
131 R(print_ssa_liveness, false, bool, false, \ | 137 R(print_ssa_liveness, false, bool, false, \ |
132 "Print liveness for ssa variables.") \ | 138 "Print liveness for ssa variables.") \ |
133 R(print_ssa_liveranges, false, bool, false, \ | 139 R(print_ssa_liveranges, false, bool, false, \ |
134 "Print live ranges after allocation.") \ | 140 "Print live ranges after allocation.") \ |
135 C(print_stop_message, false, false, bool, false, \ | 141 C(print_stop_message, false, false, bool, false, \ |
136 "Print stop message.") \ | 142 "Print stop message.") \ |
137 D(print_variable_descriptors, bool, false, \ | 143 D(print_variable_descriptors, bool, false, \ |
138 "Print variable descriptors in disassembly.") \ | 144 "Print variable descriptors in disassembly.") \ |
139 R(profiler, false, bool, !USING_DBC, \ | 145 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ |
140 "Enable the profiler.") \ | 146 "Enable the profiler.") \ |
141 P(reorder_basic_blocks, bool, true, \ | 147 P(reorder_basic_blocks, bool, true, \ |
142 "Reorder basic blocks") \ | 148 "Reorder basic blocks") \ |
143 R(support_ast_printer, false, bool, true, \ | 149 R(support_ast_printer, false, bool, true, \ |
144 "Support the AST printer.") \ | 150 "Support the AST printer.") \ |
145 R(support_compiler_stats, false, bool, true, \ | 151 R(support_compiler_stats, false, bool, true, \ |
146 "Support compiler stats.") \ | 152 "Support compiler stats.") \ |
147 C(support_debugger, false, false, bool, true, \ | 153 C(support_debugger, false, false, bool, true, \ |
148 "Support the debugger.") \ | 154 "Support the debugger.") \ |
149 R(support_disassembler, false, bool, true, \ | 155 R(support_disassembler, false, bool, true, \ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 P(verbose_gc_hdr, int, 40, \ | 193 P(verbose_gc_hdr, int, 40, \ |
188 "Print verbose GC header interval.") \ | 194 "Print verbose GC header interval.") \ |
189 R(verify_after_gc, false, bool, false, \ | 195 R(verify_after_gc, false, bool, false, \ |
190 "Enables heap verification after GC.") \ | 196 "Enables heap verification after GC.") \ |
191 R(verify_before_gc, false, bool, false, \ | 197 R(verify_before_gc, false, bool, false, \ |
192 "Enables heap verification before GC.") \ | 198 "Enables heap verification before GC.") \ |
193 D(verify_on_transition, bool, false, \ | 199 D(verify_on_transition, bool, false, \ |
194 "Verify on dart <==> VM.") \ | 200 "Verify on dart <==> VM.") \ |
195 | 201 |
196 #endif // VM_FLAG_LIST_H_ | 202 #endif // VM_FLAG_LIST_H_ |
OLD | NEW |