OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
923 "--force_marking_deque_overflows)") | 923 "--force_marking_deque_overflows)") |
924 | 924 |
925 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 925 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
926 "Test mode only flag. It allows an unit test to select evacuation " | 926 "Test mode only flag. It allows an unit test to select evacuation " |
927 "candidates pages (requires --stress_compaction).") | 927 "candidates pages (requires --stress_compaction).") |
928 | 928 |
929 DEFINE_BOOL(disable_old_api_accessors, false, | 929 DEFINE_BOOL(disable_old_api_accessors, false, |
930 "Disable old-style API accessors whose setters trigger through the " | 930 "Disable old-style API accessors whose setters trigger through the " |
931 "prototype chain") | 931 "prototype chain") |
932 | 932 |
933 // value-serializer.cc | |
934 DEFINE_BOOL(serialize_wasm_modules, false, | |
Mircea Trofin
2016/11/03 23:30:05
I don't think we need this anymore. We have --expo
| |
935 "Support serialization and deserialization of compiled WebAssembly " | |
936 "modules.") | |
937 | |
933 // | 938 // |
934 // Dev shell flags | 939 // Dev shell flags |
935 // | 940 // |
936 | 941 |
937 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 942 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
938 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 943 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
939 | 944 |
940 DEFINE_STRING(map_counters, "", "Map counters to a file") | 945 DEFINE_STRING(map_counters, "", "Map counters to a file") |
941 DEFINE_ARGS(js_arguments, | 946 DEFINE_ARGS(js_arguments, |
942 "Pass all remaining arguments to the script. Alias for \"--\".") | 947 "Pass all remaining arguments to the script. Alias for \"--\".") |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1226 #undef DEFINE_ALIAS_FLOAT | 1231 #undef DEFINE_ALIAS_FLOAT |
1227 #undef DEFINE_ALIAS_ARGS | 1232 #undef DEFINE_ALIAS_ARGS |
1228 | 1233 |
1229 #undef FLAG_MODE_DECLARE | 1234 #undef FLAG_MODE_DECLARE |
1230 #undef FLAG_MODE_DEFINE | 1235 #undef FLAG_MODE_DEFINE |
1231 #undef FLAG_MODE_DEFINE_DEFAULTS | 1236 #undef FLAG_MODE_DEFINE_DEFAULTS |
1232 #undef FLAG_MODE_META | 1237 #undef FLAG_MODE_META |
1233 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1238 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1234 | 1239 |
1235 #undef COMMA | 1240 #undef COMMA |
OLD | NEW |