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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 280 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
281 | 281 |
282 // Flags for data representation optimizations | 282 // Flags for data representation optimizations |
283 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 283 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
284 DEFINE_BOOL(string_slices, true, "use string slices") | 284 DEFINE_BOOL(string_slices, true, "use string slices") |
285 | 285 |
286 // Flags for Ignition. | 286 // Flags for Ignition. |
287 DEFINE_BOOL(ignition, false, "use ignition interpreter") | 287 DEFINE_BOOL(ignition, false, "use ignition interpreter") |
288 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") | 288 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
289 DEFINE_IMPLICATION(ignition_staging, ignition) | 289 DEFINE_IMPLICATION(ignition_staging, ignition) |
290 DEFINE_IMPLICATION(ignition_staging, ignition_osr) | |
291 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") | 290 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") |
292 DEFINE_BOOL(ignition_deadcode, true, | 291 DEFINE_BOOL(ignition_deadcode, true, |
293 "use ignition dead code elimination optimizer") | 292 "use ignition dead code elimination optimizer") |
294 DEFINE_BOOL(ignition_osr, false, "enable support for OSR from ignition code") | 293 DEFINE_BOOL(ignition_osr, true, "enable support for OSR from ignition code") |
295 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") | 294 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") |
296 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") | 295 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") |
297 DEFINE_BOOL(ignition_filter_expression_positions, true, | 296 DEFINE_BOOL(ignition_filter_expression_positions, true, |
298 "filter expression positions before the bytecode pipeline") | 297 "filter expression positions before the bytecode pipeline") |
299 DEFINE_BOOL(print_bytecode, false, | 298 DEFINE_BOOL(print_bytecode, false, |
300 "print bytecode generated by ignition interpreter") | 299 "print bytecode generated by ignition interpreter") |
301 DEFINE_BOOL(trace_ignition, false, | 300 DEFINE_BOOL(trace_ignition, false, |
302 "trace the bytecodes executed by the ignition interpreter") | 301 "trace the bytecodes executed by the ignition interpreter") |
303 DEFINE_BOOL(trace_ignition_codegen, false, | 302 DEFINE_BOOL(trace_ignition_codegen, false, |
304 "trace the codegen of ignition interpreter bytecode handlers") | 303 "trace the codegen of ignition interpreter bytecode handlers") |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 #undef DEFINE_ALIAS_FLOAT | 1218 #undef DEFINE_ALIAS_FLOAT |
1220 #undef DEFINE_ALIAS_ARGS | 1219 #undef DEFINE_ALIAS_ARGS |
1221 | 1220 |
1222 #undef FLAG_MODE_DECLARE | 1221 #undef FLAG_MODE_DECLARE |
1223 #undef FLAG_MODE_DEFINE | 1222 #undef FLAG_MODE_DEFINE |
1224 #undef FLAG_MODE_DEFINE_DEFAULTS | 1223 #undef FLAG_MODE_DEFINE_DEFAULTS |
1225 #undef FLAG_MODE_META | 1224 #undef FLAG_MODE_META |
1226 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1227 | 1226 |
1228 #undef COMMA | 1227 #undef COMMA |
OLD | NEW |