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

Unified Diff: runtime/vm/flag_list.h

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flag_list.h
diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
new file mode 100644
index 0000000000000000000000000000000000000000..c25d5c80effab27b0bbcae7f681352f9d122d26f
--- /dev/null
+++ b/runtime/vm/flag_list.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#ifndef VM_FLAG_LIST_H_
+#define VM_FLAG_LIST_H_
+
+// List of all flags in the VM.
+// Flags can be one of three categories:
+// * P roduct flags: Can be set in any of the deployment modes, including in
+// production.
+// * D ebug flags: Can only be set in debug VMs, which also have assertions
+// enabled.
+// * R elease flags: Generally available flags except when building product.
+
+#define FLAG_LIST(P, R, D) \
+R(disassemble, false, bool, false, "Disassemble dart code.") \
+R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \
+R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \
+R(pretenure_all, false, bool, false, "Global pretenuring (for testing).") \
+D(trace_handles, bool, false, "Traces allocation of handles.") \
+D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \
+P(verbose_gc, bool, false, "Enables verbose GC.") \
+
+#endif // VM_FLAG_LIST_H_
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698