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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 R(disable_alloc_stubs_after_gc, false, bool, false, "Stress testing flag.") \ | 63 R(disable_alloc_stubs_after_gc, false, bool, false, "Stress testing flag.") \ |
64 R(disassemble, false, bool, false, "Disassemble dart code.") \ | 64 R(disassemble, false, bool, false, "Disassemble dart code.") \ |
65 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \ | 65 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \ |
66 R(dump_megamorphic_stats, false, bool, false, \ | 66 R(dump_megamorphic_stats, false, bool, false, \ |
67 "Dump megamorphic cache statistics") \ | 67 "Dump megamorphic cache statistics") \ |
68 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \ | 68 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \ |
69 P(dwarf_stack_traces, bool, false, \ | 69 P(dwarf_stack_traces, bool, false, \ |
70 "Emit DWARF line number and inlining info" \ | 70 "Emit DWARF line number and inlining info" \ |
71 "in dylib snapshots and don't symbolize stack traces.") \ | 71 "in dylib snapshots and don't symbolize stack traces.") \ |
72 R(enable_asserts, false, bool, false, "Enable assert statements.") \ | 72 R(enable_asserts, false, bool, false, "Enable assert statements.") \ |
73 C(enable_mirrors, false, false, bool, true, \ | 73 P(enable_mirrors, bool, true, \ |
74 "Disable to make importing dart:mirrors an error.") \ | 74 "Disable to make importing dart:mirrors an error.") \ |
75 R(enable_type_checks, false, bool, false, "Enable type checks.") \ | 75 R(enable_type_checks, false, bool, false, "Enable type checks.") \ |
76 R(error_on_bad_override, false, bool, false, \ | 76 R(error_on_bad_override, false, bool, false, \ |
77 "Report error for bad overrides.") \ | 77 "Report error for bad overrides.") \ |
78 R(error_on_bad_type, false, bool, false, \ | 78 R(error_on_bad_type, false, bool, false, \ |
79 "Report error for malformed types.") \ | 79 "Report error for malformed types.") \ |
80 P(external_max_size, int, (kWordSize <= 4) ? 512 : 1024, \ | 80 P(external_max_size, int, (kWordSize <= 4) ? 512 : 1024, \ |
81 "Max total size of external allocations in MB, or 0 for unlimited," \ | 81 "Max total size of external allocations in MB, or 0 for unlimited," \ |
82 "e.g: --external_max_size=1024 allows up to 1024MB of externals") \ | 82 "e.g: --external_max_size=1024 allows up to 1024MB of externals") \ |
83 P(fields_may_be_reset, bool, false, \ | 83 P(fields_may_be_reset, bool, false, \ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 175 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
176 R(verify_after_gc, false, bool, false, \ | 176 R(verify_after_gc, false, bool, false, \ |
177 "Enables heap verification after GC.") \ | 177 "Enables heap verification after GC.") \ |
178 R(verify_before_gc, false, bool, false, \ | 178 R(verify_before_gc, false, bool, false, \ |
179 "Enables heap verification before GC.") \ | 179 "Enables heap verification before GC.") \ |
180 D(verify_gc_contains, bool, false, \ | 180 D(verify_gc_contains, bool, false, \ |
181 "Enables verification of address contains during GC.") \ | 181 "Enables verification of address contains during GC.") \ |
182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
183 | 183 |
184 #endif // RUNTIME_VM_FLAG_LIST_H_ | 184 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |