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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 C(deoptimize_alot, false, false, bool, false, \ | 66 C(deoptimize_alot, false, false, bool, false, \ |
67 "Deoptimizes we are about to return to Dart code from native entries.") \ | 67 "Deoptimizes we are about to return to Dart code from native entries.") \ |
68 C(deoptimize_every, 0, 0, int, 0, \ | 68 C(deoptimize_every, 0, 0, int, 0, \ |
69 "Deoptimize on every N stack overflow checks") \ | 69 "Deoptimize on every N stack overflow checks") \ |
70 R(disable_alloc_stubs_after_gc, false, bool, false, "Stress testing flag.") \ | 70 R(disable_alloc_stubs_after_gc, false, bool, false, "Stress testing flag.") \ |
71 R(disassemble, false, bool, false, "Disassemble dart code.") \ | 71 R(disassemble, false, bool, false, "Disassemble dart code.") \ |
72 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \ | 72 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \ |
73 R(dump_megamorphic_stats, false, bool, false, \ | 73 R(dump_megamorphic_stats, false, bool, false, \ |
74 "Dump megamorphic cache statistics") \ | 74 "Dump megamorphic cache statistics") \ |
75 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \ | 75 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \ |
76 P(dwarf_stack_traces, bool, false, \ | |
77 "Emit DWARF line number and inlining info" \ | |
78 "in dylib snapshots and don't symbolize stack traces.") \ | |
79 R(enable_asserts, false, bool, false, "Enable assert statements.") \ | 76 R(enable_asserts, false, bool, false, "Enable assert statements.") \ |
80 R(enable_malloc_hooks, false, bool, false, \ | 77 R(enable_malloc_hooks, false, bool, false, \ |
81 "Enable native memory statistic collection. Enabled by default in Debug " \ | 78 "Enable native memory statistic collection. Enabled by default in Debug " \ |
82 "mode") \ | 79 "mode") \ |
83 C(enable_mirrors, false, false, bool, true, \ | 80 C(enable_mirrors, false, false, bool, true, \ |
84 "Disable to make importing dart:mirrors an error.") \ | 81 "Disable to make importing dart:mirrors an error.") \ |
85 R(enable_type_checks, false, bool, false, "Enable type checks.") \ | 82 R(enable_type_checks, false, bool, false, "Enable type checks.") \ |
86 R(error_on_bad_override, false, bool, false, \ | 83 R(error_on_bad_override, false, bool, false, \ |
87 "Report error for bad overrides.") \ | 84 "Report error for bad overrides.") \ |
88 R(error_on_bad_type, false, bool, false, \ | 85 R(error_on_bad_type, false, bool, false, \ |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 173 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
177 R(verify_after_gc, false, bool, false, \ | 174 R(verify_after_gc, false, bool, false, \ |
178 "Enables heap verification after GC.") \ | 175 "Enables heap verification after GC.") \ |
179 R(verify_before_gc, false, bool, false, \ | 176 R(verify_before_gc, false, bool, false, \ |
180 "Enables heap verification before GC.") \ | 177 "Enables heap verification before GC.") \ |
181 D(verify_gc_contains, bool, false, \ | 178 D(verify_gc_contains, bool, false, \ |
182 "Enables verification of address contains during GC.") \ | 179 "Enables verification of address contains during GC.") \ |
183 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 180 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
184 | 181 |
185 #endif // RUNTIME_VM_FLAG_LIST_H_ | 182 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |