| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 P(enable_mirrors, 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(experimental_strong_mode, bool, false, "Enable experimental strong mode.") \ | 80 P(experimental_strong_mode, bool, false, "Enable experimental strong mode.") \ |
| 81 P(trace_experimental_strong_mode, bool, false, \ |
| 82 "Trace experimental strong mode.") \ |
| 81 P(external_max_size, int, (kWordSize <= 4) ? 512 : 1024, \ | 83 P(external_max_size, int, (kWordSize <= 4) ? 512 : 1024, \ |
| 82 "Max total size of external allocations in MB, or 0 for unlimited," \ | 84 "Max total size of external allocations in MB, or 0 for unlimited," \ |
| 83 "e.g: --external_max_size=1024 allows up to 1024MB of externals") \ | 85 "e.g: --external_max_size=1024 allows up to 1024MB of externals") \ |
| 84 P(fields_may_be_reset, bool, false, \ | 86 P(fields_may_be_reset, bool, false, \ |
| 85 "Don't optimize away static field initialization") \ | 87 "Don't optimize away static field initialization") \ |
| 86 C(force_clone_compiler_objects, false, false, bool, false, \ | 88 C(force_clone_compiler_objects, false, false, bool, false, \ |
| 87 "Force cloning of objects needed in compiler (ICData and Field).") \ | 89 "Force cloning of objects needed in compiler (ICData and Field).") \ |
| 88 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ | 90 R(gc_at_alloc, false, bool, false, "GC at every allocation.") \ |
| 89 P(getter_setter_ratio, int, 13, \ | 91 P(getter_setter_ratio, int, 13, \ |
| 90 "Ratio of getter/setter usage used for double field unboxing heuristics") \ | 92 "Ratio of getter/setter usage used for double field unboxing heuristics") \ |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 R(verbose_gc_hdr, 40, int, 40, "Print verbose GC header interval.") \ | 177 R(verbose_gc_hdr, 40, int, 40, "Print verbose GC header interval.") \ |
| 176 R(verify_after_gc, false, bool, false, \ | 178 R(verify_after_gc, false, bool, false, \ |
| 177 "Enables heap verification after GC.") \ | 179 "Enables heap verification after GC.") \ |
| 178 R(verify_before_gc, false, bool, false, \ | 180 R(verify_before_gc, false, bool, false, \ |
| 179 "Enables heap verification before GC.") \ | 181 "Enables heap verification before GC.") \ |
| 180 D(verify_gc_contains, bool, false, \ | 182 D(verify_gc_contains, bool, false, \ |
| 181 "Enables verification of address contains during GC.") \ | 183 "Enables verification of address contains during GC.") \ |
| 182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 184 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 183 | 185 |
| 184 #endif // RUNTIME_VM_FLAG_LIST_H_ | 186 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |