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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
273 "Enables optimizations which favor memory size over execution " | 273 "Enables optimizations which favor memory size over execution " |
274 "speed") | 274 "speed") |
275 | 275 |
276 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 276 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
277 | 277 |
278 // Flags for data representation optimizations | 278 // Flags for data representation optimizations |
279 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 279 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
280 DEFINE_BOOL(string_slices, true, "use string slices") | 280 DEFINE_BOOL(string_slices, true, "use string slices") |
281 | 281 |
282 // Flags for Ignition. | 282 // Flags for Ignition. |
283 DEFINE_BOOL(ignition, false, "use ignition interpreter") | 283 DEFINE_BOOL(ignition, true, "use ignition interpreter") |
Benedikt Meurer
2015/07/29 08:10:38
Is that intentional?
rmcilroy
2015/07/29 19:02:32
Nope, thanks! Done.
| |
284 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") | 284 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") |
285 DEFINE_BOOL(trace_ignition_codegen, false, | 285 DEFINE_BOOL(trace_ignition_codegen, true, |
286 "trace the codegen of ignition interpreter bytecode handlers") | 286 "trace the codegen of ignition interpreter bytecode handlers") |
287 | 287 |
288 // Flags for Crankshaft. | 288 // Flags for Crankshaft. |
289 DEFINE_BOOL(crankshaft, true, "use crankshaft") | 289 DEFINE_BOOL(crankshaft, true, "use crankshaft") |
290 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") | 290 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") |
291 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") | 291 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") |
292 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") |
293 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 293 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
294 DEFINE_BOOL(use_inlining, true, "use function inlining") | 294 DEFINE_BOOL(use_inlining, true, "use function inlining") |
295 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") | 295 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1073 #undef DEFINE_ALIAS_FLOAT | 1073 #undef DEFINE_ALIAS_FLOAT |
1074 #undef DEFINE_ALIAS_ARGS | 1074 #undef DEFINE_ALIAS_ARGS |
1075 | 1075 |
1076 #undef FLAG_MODE_DECLARE | 1076 #undef FLAG_MODE_DECLARE |
1077 #undef FLAG_MODE_DEFINE | 1077 #undef FLAG_MODE_DEFINE |
1078 #undef FLAG_MODE_DEFINE_DEFAULTS | 1078 #undef FLAG_MODE_DEFINE_DEFAULTS |
1079 #undef FLAG_MODE_META | 1079 #undef FLAG_MODE_META |
1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1081 | 1081 |
1082 #undef COMMA | 1082 #undef COMMA |
OLD | NEW |