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