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