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 #if defined(TARGET_ARCH_DBC) | 8 #if defined(TARGET_ARCH_DBC) |
9 #define USING_DBC 1 | 9 #define USING_DBC 1 |
10 #else | 10 #else |
(...skipping 11 matching lines...) Expand all Loading... |
22 // or precompiled runtime. | 22 // or precompiled runtime. |
23 // | 23 // |
24 // Usage: | 24 // Usage: |
25 // P(name, type, default_value, comment) | 25 // P(name, type, default_value, comment) |
26 // D(name, type, default_value, comment) | 26 // D(name, type, default_value, comment) |
27 // R(name, product_value, type, default_value, comment) | 27 // R(name, product_value, type, default_value, comment) |
28 // C(name, precompiled_value, product_value, type, default_value, comment) | 28 // C(name, precompiled_value, product_value, type, default_value, comment) |
29 #define FLAG_LIST(P, R, D, C) \ | 29 #define FLAG_LIST(P, R, D, C) \ |
30 P(always_megamorphic_calls, bool, false, \ | 30 P(always_megamorphic_calls, bool, false, \ |
31 "Instance call always as megamorphic.") \ | 31 "Instance call always as megamorphic.") \ |
32 C(background_compilation, false, true, bool, true, \ | 32 P(background_compilation, bool, true, \ |
33 "Run optimizing compilation in background") \ | 33 "Run optimizing compilation in background") \ |
34 R(background_compilation_stop_alot, false, bool, false, \ | 34 R(background_compilation_stop_alot, false, bool, false, \ |
35 "Stress test system: stop background compiler often.") \ | 35 "Stress test system: stop background compiler often.") \ |
36 R(break_at_isolate_spawn, false, bool, false, \ | 36 R(break_at_isolate_spawn, false, bool, false, \ |
37 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 37 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
38 C(collect_code, false, true, bool, true, \ | 38 C(collect_code, false, true, bool, true, \ |
39 "Attempt to GC infrequently used code.") \ | 39 "Attempt to GC infrequently used code.") \ |
40 P(collect_dynamic_function_names, bool, false, \ | 40 P(collect_dynamic_function_names, bool, false, \ |
41 "Collects all dynamic function names to identify unique targets") \ | 41 "Collects all dynamic function names to identify unique targets") \ |
42 R(dedup_instructions, true, bool, false, \ | 42 R(dedup_instructions, true, bool, false, \ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 "Print verbose GC header interval.") \ | 177 "Print verbose GC header interval.") \ |
178 R(verify_after_gc, false, bool, false, \ | 178 R(verify_after_gc, false, bool, false, \ |
179 "Enables heap verification after GC.") \ | 179 "Enables heap verification after GC.") \ |
180 R(verify_before_gc, false, bool, false, \ | 180 R(verify_before_gc, false, bool, false, \ |
181 "Enables heap verification before GC.") \ | 181 "Enables heap verification before GC.") \ |
182 D(verify_on_transition, bool, false, \ | 182 D(verify_on_transition, bool, false, \ |
183 "Verify on dart <==> VM.") \ | 183 "Verify on dart <==> VM.") \ |
184 | 184 |
185 | 185 |
186 #endif // VM_FLAG_LIST_H_ | 186 #endif // VM_FLAG_LIST_H_ |
OLD | NEW |