| 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 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 R(support_timeline, false, bool, true, \ | 163 R(support_timeline, false, bool, true, \ |
| 164 "Support timeline.") \ | 164 "Support timeline.") \ |
| 165 D(trace_cha, bool, false, \ | 165 D(trace_cha, bool, false, \ |
| 166 "Trace CHA operations") \ | 166 "Trace CHA operations") \ |
| 167 D(trace_field_guards, bool, false, \ | 167 D(trace_field_guards, bool, false, \ |
| 168 "Trace changes in field's cids.") \ | 168 "Trace changes in field's cids.") \ |
| 169 D(trace_isolates, bool, false, \ | 169 D(trace_isolates, bool, false, \ |
| 170 "Trace isolate creation and shut down.") \ | 170 "Trace isolate creation and shut down.") \ |
| 171 D(trace_handles, bool, false, \ | 171 D(trace_handles, bool, false, \ |
| 172 "Traces allocation of handles.") \ | 172 "Traces allocation of handles.") \ |
| 173 D(trace_kernel_binary, bool, false, \ |
| 174 "Trace Kernel reader/writer.") \ |
| 173 D(trace_optimization, bool, false, \ | 175 D(trace_optimization, bool, false, \ |
| 174 "Print optimization details."); \ | 176 "Print optimization details.") \ |
| 175 R(trace_profiler, false, bool, false, \ | 177 R(trace_profiler, false, bool, false, \ |
| 176 "Profiler trace") \ | 178 "Profiler trace") \ |
| 177 D(trace_profiler_verbose, bool, false, \ | 179 D(trace_profiler_verbose, bool, false, \ |
| 178 "Verbose profiler trace") \ | 180 "Verbose profiler trace") \ |
| 179 D(trace_ssa_allocator, bool, false, \ | 181 D(trace_ssa_allocator, bool, false, \ |
| 180 "Trace register allocation over SSA.") \ | 182 "Trace register allocation over SSA.") \ |
| 181 D(trace_zones, bool, false, \ | 183 D(trace_zones, bool, false, \ |
| 182 "Traces allocation sizes in the zone.") \ | 184 "Traces allocation sizes in the zone.") \ |
| 183 P(truncating_left_shift, bool, true, \ | 185 P(truncating_left_shift, bool, true, \ |
| 184 "Optimize left shift to truncate if possible") \ | 186 "Optimize left shift to truncate if possible") \ |
| 185 P(use_cha_deopt, bool, true, \ | 187 P(use_cha_deopt, bool, true, \ |
| 186 "Use class hierarchy analysis even if it can cause deoptimization.") \ | 188 "Use class hierarchy analysis even if it can cause deoptimization.") \ |
| 187 P(use_field_guards, bool, !USING_DBC, \ | 189 P(use_field_guards, bool, !USING_DBC, \ |
| 188 "Use field guards and track field types") \ | 190 "Use field guards and track field types") \ |
| 189 C(use_osr, false, true, bool, true, \ | 191 C(use_osr, false, true, bool, true, \ |
| 190 "Use OSR") \ | 192 "Use OSR") \ |
| 191 P(verbose_gc, bool, false, \ | 193 P(verbose_gc, bool, false, \ |
| 192 "Enables verbose GC.") \ | 194 "Enables verbose GC.") \ |
| 193 P(verbose_gc_hdr, int, 40, \ | 195 P(verbose_gc_hdr, int, 40, \ |
| 194 "Print verbose GC header interval.") \ | 196 "Print verbose GC header interval.") \ |
| 195 R(verify_after_gc, false, bool, false, \ | 197 R(verify_after_gc, false, bool, false, \ |
| 196 "Enables heap verification after GC.") \ | 198 "Enables heap verification after GC.") \ |
| 197 R(verify_before_gc, false, bool, false, \ | 199 R(verify_before_gc, false, bool, false, \ |
| 198 "Enables heap verification before GC.") \ | 200 "Enables heap verification before GC.") \ |
| 199 D(verify_on_transition, bool, false, \ | 201 D(verify_on_transition, bool, false, \ |
| 200 "Verify on dart <==> VM.") \ | 202 "Verify on dart <==> VM.") \ |
| 201 | 203 |
| 202 #endif // VM_FLAG_LIST_H_ | 204 #endif // VM_FLAG_LIST_H_ |
| OLD | NEW |