Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: runtime/vm/flag_list.h

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // List of all flags in the VM. 8 // List of all flags in the VM.
9 // Flags can be one of three categories: 9 // Flags can be one of three categories:
10 // * P roduct flags: Can be set in any of the deployment modes, including in 10 // * P roduct flags: Can be set in any of the deployment modes, including in
11 // production. 11 // production.
12 // * D ebug flags: Can only be set in debug VMs, which also have assertions 12 // * D ebug flags: Can only be set in debug VMs, which also have assertions
13 // enabled. 13 // enabled.
14 // * R elease flags: Generally available flags except when building product. 14 // * R elease flags: Generally available flags except when building product.
15 15
16 #define FLAG_LIST(P, R, D) \ 16 #define FLAG_LIST(P, R, D) \
17 R(disassemble, false, bool, false, "Disassemble dart code.") \ 17 R(disassemble, false, bool, false, "Disassemble dart code.") \
18 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \ 18 R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \
19 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \ 19 R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \
20 R(pretenure_all, false, bool, false, "Global pretenuring (for testing).") \ 20 R(pretenure_all, false, bool, false, "Global pretenuring (for testing).") \
21 D(trace_handles, bool, false, "Traces allocation of handles.") \ 21 D(trace_handles, bool, false, "Traces allocation of handles.") \
22 D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \ 22 D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \
23 P(verbose_gc, bool, false, "Enables verbose GC.") \ 23 P(verbose_gc, bool, false, "Enables verbose GC.") \
24 R(support_debugger, false, bool, true, "Support the debugger.") \
25 R(support_service, false, bool, true, "Support the service protocol.") \
26 R(support_coverage, false, bool, true, "Support code coverage.") \
27 R(support_timeline, false, bool, true, "Support timeline.") \
24 28
25 #endif // VM_FLAG_LIST_H_ 29 #endif // VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698