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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ | 133 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ |
134 P(print_benchmarking_metrics, bool, false, \ | 134 P(print_benchmarking_metrics, bool, false, \ |
135 "Print additional memory and latency metrics for benchmarking.") \ | 135 "Print additional memory and latency metrics for benchmarking.") \ |
136 R(print_ssa_liveranges, false, bool, false, \ | 136 R(print_ssa_liveranges, false, bool, false, \ |
137 "Print live ranges after allocation.") \ | 137 "Print live ranges after allocation.") \ |
138 R(print_stacktrace_at_api_error, false, bool, false, \ | 138 R(print_stacktrace_at_api_error, false, bool, false, \ |
139 "Attempt to print a native stack trace when an API error is created.") \ | 139 "Attempt to print a native stack trace when an API error is created.") \ |
140 C(print_stop_message, false, false, bool, false, "Print stop message.") \ | 140 C(print_stop_message, false, false, bool, false, "Print stop message.") \ |
141 D(print_variable_descriptors, bool, false, \ | 141 D(print_variable_descriptors, bool, false, \ |
142 "Print variable descriptors in disassembly.") \ | 142 "Print variable descriptors in disassembly.") \ |
143 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ | 143 R(profiler, false, bool, !USING_DBC, \ |
144 "Enable the profiler.") \ | 144 "Enable the profiler.") \ |
145 R(profiler_native_memory, false, bool, false, \ | 145 R(profiler_native_memory, false, bool, false, \ |
146 "Enable native memory statistic collection.") \ | 146 "Enable native memory statistic collection.") \ |
147 P(reify_generic_functions, bool, false, \ | 147 P(reify_generic_functions, bool, false, \ |
148 "Enable reification of generic functions (not yet supported).") \ | 148 "Enable reification of generic functions (not yet supported).") \ |
149 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ | 149 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ |
150 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ | 150 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ |
151 C(stress_async_stacks, false, false, bool, false, \ | 151 C(stress_async_stacks, false, false, bool, false, \ |
152 "Stress test async stack traces") \ | 152 "Stress test async stack traces") \ |
153 C(async_debugger, false, false, bool, false, \ | 153 C(async_debugger, false, false, bool, false, \ |
(...skipping 27 matching lines...) Expand all Loading... |
181 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 181 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
182 R(verify_after_gc, false, bool, false, \ | 182 R(verify_after_gc, false, bool, false, \ |
183 "Enables heap verification after GC.") \ | 183 "Enables heap verification after GC.") \ |
184 R(verify_before_gc, false, bool, false, \ | 184 R(verify_before_gc, false, bool, false, \ |
185 "Enables heap verification before GC.") \ | 185 "Enables heap verification before GC.") \ |
186 D(verify_gc_contains, bool, false, \ | 186 D(verify_gc_contains, bool, false, \ |
187 "Enables verification of address contains during GC.") \ | 187 "Enables verification of address contains during GC.") \ |
188 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 188 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
189 | 189 |
190 #endif // RUNTIME_VM_FLAG_LIST_H_ | 190 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |