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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 | 1012 |
1013 // runtime.cc | 1013 // runtime.cc |
1014 DEFINE_BOOL(trace_lazy, false, "trace lazy compilation") | 1014 DEFINE_BOOL(trace_lazy, false, "trace lazy compilation") |
1015 | 1015 |
1016 // spaces.cc | 1016 // spaces.cc |
1017 DEFINE_BOOL(collect_heap_spill_statistics, false, | 1017 DEFINE_BOOL(collect_heap_spill_statistics, false, |
1018 "report heap spill statistics along with heap_stats " | 1018 "report heap spill statistics along with heap_stats " |
1019 "(requires heap_stats)") | 1019 "(requires heap_stats)") |
1020 DEFINE_BOOL(trace_live_bytes, false, | 1020 DEFINE_BOOL(trace_live_bytes, false, |
1021 "trace incrementing and resetting of live bytes") | 1021 "trace incrementing and resetting of live bytes") |
1022 | |
1023 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") | 1022 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") |
| 1023 DEFINE_INT(target_os_page_size, 0, |
| 1024 "override os page size when generating snapshot") |
1024 | 1025 |
1025 // Regexp | 1026 // Regexp |
1026 DEFINE_BOOL(regexp_possessive_quantifier, false, | 1027 DEFINE_BOOL(regexp_possessive_quantifier, false, |
1027 "enable possessive quantifier syntax for testing") | 1028 "enable possessive quantifier syntax for testing") |
1028 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 1029 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
1029 DEFINE_BOOL(trace_regexp_assembler, false, | 1030 DEFINE_BOOL(trace_regexp_assembler, false, |
1030 "trace regexp macro assembler calls.") | 1031 "trace regexp macro assembler calls.") |
1031 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") | 1032 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") |
1032 | 1033 |
1033 // Debugger | 1034 // Debugger |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 #undef DEFINE_ALIAS_FLOAT | 1214 #undef DEFINE_ALIAS_FLOAT |
1214 #undef DEFINE_ALIAS_ARGS | 1215 #undef DEFINE_ALIAS_ARGS |
1215 | 1216 |
1216 #undef FLAG_MODE_DECLARE | 1217 #undef FLAG_MODE_DECLARE |
1217 #undef FLAG_MODE_DEFINE | 1218 #undef FLAG_MODE_DEFINE |
1218 #undef FLAG_MODE_DEFINE_DEFAULTS | 1219 #undef FLAG_MODE_DEFINE_DEFAULTS |
1219 #undef FLAG_MODE_META | 1220 #undef FLAG_MODE_META |
1220 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1221 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1221 | 1222 |
1222 #undef COMMA | 1223 #undef COMMA |
OLD | NEW |