| 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 |
| 11 #else | 11 #else |
| 12 #define USING_DBC false | 12 #define USING_DBC false |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #if defined(HOST_OS_FUCHSIA) | |
| 16 #define USING_FUCHSIA true | |
| 17 #else | |
| 18 #define USING_FUCHSIA false | |
| 19 #endif | |
| 20 | |
| 21 // Don't use USING_MULTICORE outside of this file. | 15 // Don't use USING_MULTICORE outside of this file. |
| 22 #if defined(ARCH_IS_MULTI_CORE) | 16 #if defined(ARCH_IS_MULTI_CORE) |
| 23 #define USING_MULTICORE true | 17 #define USING_MULTICORE true |
| 24 #else | 18 #else |
| 25 #define USING_MULTICORE false | 19 #define USING_MULTICORE false |
| 26 #endif | 20 #endif |
| 27 | 21 |
| 28 // List of all flags in the VM. | 22 // List of all flags in the VM. |
| 29 // Flags can be one of three categories: | 23 // Flags can be one of three categories: |
| 30 // * P roduct flags: Can be set in any of the deployment modes, including in | 24 // * P roduct flags: Can be set in any of the deployment modes, including in |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ | 121 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ |
| 128 P(print_benchmarking_metrics, bool, false, \ | 122 P(print_benchmarking_metrics, bool, false, \ |
| 129 "Print additional memory and latency metrics for benchmarking.") \ | 123 "Print additional memory and latency metrics for benchmarking.") \ |
| 130 R(print_ssa_liveranges, false, bool, false, \ | 124 R(print_ssa_liveranges, false, bool, false, \ |
| 131 "Print live ranges after allocation.") \ | 125 "Print live ranges after allocation.") \ |
| 132 R(print_stacktrace_at_api_error, false, bool, false, \ | 126 R(print_stacktrace_at_api_error, false, bool, false, \ |
| 133 "Attempt to print a native stack trace when an API error is created.") \ | 127 "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.") \ | 128 C(print_stop_message, false, false, bool, false, "Print stop message.") \ |
| 135 D(print_variable_descriptors, bool, false, \ | 129 D(print_variable_descriptors, bool, false, \ |
| 136 "Print variable descriptors in disassembly.") \ | 130 "Print variable descriptors in disassembly.") \ |
| 137 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ | 131 R(profiler, false, bool, !USING_DBC, "Enable the profiler.") \ |
| 138 "Enable the profiler.") \ | |
| 139 R(profiler_native_memory, false, bool, false, \ | 132 R(profiler_native_memory, false, bool, false, \ |
| 140 "Enable native memory statistic collection.") \ | 133 "Enable native memory statistic collection.") \ |
| 141 P(reify_generic_functions, bool, false, \ | 134 P(reify_generic_functions, bool, false, \ |
| 142 "Enable reification of generic functions (not yet supported).") \ | 135 "Enable reification of generic functions (not yet supported).") \ |
| 143 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ | 136 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ |
| 144 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ | 137 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ |
| 145 C(stress_async_stacks, false, false, bool, false, \ | 138 C(stress_async_stacks, false, false, bool, false, \ |
| 146 "Stress test async stack traces") \ | 139 "Stress test async stack traces") \ |
| 147 C(async_debugger, false, false, bool, true, \ | 140 C(async_debugger, false, false, bool, true, \ |
| 148 "Debugger support async functions.") \ | 141 "Debugger support async functions.") \ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 175 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 168 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
| 176 R(verify_after_gc, false, bool, false, \ | 169 R(verify_after_gc, false, bool, false, \ |
| 177 "Enables heap verification after GC.") \ | 170 "Enables heap verification after GC.") \ |
| 178 R(verify_before_gc, false, bool, false, \ | 171 R(verify_before_gc, false, bool, false, \ |
| 179 "Enables heap verification before GC.") \ | 172 "Enables heap verification before GC.") \ |
| 180 D(verify_gc_contains, bool, false, \ | 173 D(verify_gc_contains, bool, false, \ |
| 181 "Enables verification of address contains during GC.") \ | 174 "Enables verification of address contains during GC.") \ |
| 182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 175 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 183 | 176 |
| 184 #endif // RUNTIME_VM_FLAG_LIST_H_ | 177 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |