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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
274 | 274 |
275 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 275 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
276 | 276 |
277 // Flags for data representation optimizations | 277 // Flags for data representation optimizations |
278 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 278 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
279 DEFINE_BOOL(string_slices, true, "use string slices") | 279 DEFINE_BOOL(string_slices, true, "use string slices") |
280 | 280 |
281 // Flags for Ignition. | 281 // Flags for Ignition. |
282 DEFINE_BOOL(ignition, false, "use ignition interpreter") | 282 DEFINE_BOOL(ignition, false, "use ignition interpreter") |
283 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") | 283 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") |
284 DEFINE_BOOL(print_ignition_bytecode, false, "print generated bytecode") | |
rmcilroy
2015/08/14 09:31:17
nit - just print_bytecode and add Ignition to the
oth
2015/08/17 08:05:48
Done. There's regexp bytecode too, though it only
| |
284 DEFINE_BOOL(trace_ignition_codegen, false, | 285 DEFINE_BOOL(trace_ignition_codegen, false, |
285 "trace the codegen of ignition interpreter bytecode handlers") | 286 "trace the codegen of ignition interpreter bytecode handlers") |
286 | 287 |
287 // Flags for Crankshaft. | 288 // Flags for Crankshaft. |
288 DEFINE_BOOL(crankshaft, true, "use crankshaft") | 289 DEFINE_BOOL(crankshaft, true, "use crankshaft") |
289 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") | 290 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") |
290 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") | 291 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") |
291 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") | 292 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") |
292 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 293 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
293 DEFINE_BOOL(use_inlining, true, "use function inlining") | 294 DEFINE_BOOL(use_inlining, true, "use function inlining") |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1078 #undef DEFINE_ALIAS_FLOAT | 1079 #undef DEFINE_ALIAS_FLOAT |
1079 #undef DEFINE_ALIAS_ARGS | 1080 #undef DEFINE_ALIAS_ARGS |
1080 | 1081 |
1081 #undef FLAG_MODE_DECLARE | 1082 #undef FLAG_MODE_DECLARE |
1082 #undef FLAG_MODE_DEFINE | 1083 #undef FLAG_MODE_DEFINE |
1083 #undef FLAG_MODE_DEFINE_DEFAULTS | 1084 #undef FLAG_MODE_DEFINE_DEFAULTS |
1084 #undef FLAG_MODE_META | 1085 #undef FLAG_MODE_META |
1085 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1086 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1086 | 1087 |
1087 #undef COMMA | 1088 #undef COMMA |
OLD | NEW |