| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 330 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 331 DEFINE_BOOL(use_inlining, true, "use function inlining") | 331 DEFINE_BOOL(use_inlining, true, "use function inlining") |
| 332 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") | 332 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") |
| 333 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") | 333 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") |
| 334 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") | 334 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") |
| 335 DEFINE_BOOL(use_write_barrier_elimination, true, | 335 DEFINE_BOOL(use_write_barrier_elimination, true, |
| 336 "eliminate write barriers targeting allocations in optimized code") | 336 "eliminate write barriers targeting allocations in optimized code") |
| 337 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") | 337 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") |
| 338 DEFINE_INT(max_inlined_source_size, 600, | 338 DEFINE_INT(max_inlined_source_size, 600, |
| 339 "maximum source size in bytes considered for a single inlining") | 339 "maximum source size in bytes considered for a single inlining") |
| 340 DEFINE_INT(max_inlined_nodes, 196, | 340 DEFINE_INT(max_inlined_nodes, 200, |
| 341 "maximum number of AST nodes considered for a single inlining") | 341 "maximum number of AST nodes considered for a single inlining") |
| 342 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 342 DEFINE_INT(max_inlined_nodes_cumulative, 400, |
| 343 "maximum cumulative number of AST nodes considered for inlining") | 343 "maximum cumulative number of AST nodes considered for inlining") |
| 344 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 344 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") |
| 345 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 345 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") |
| 346 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, false, | 346 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, false, |
| 347 "crankshaft harvests type feedback from stub cache") | 347 "crankshaft harvests type feedback from stub cache") |
| 348 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 348 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") |
| 349 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 349 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") |
| 350 DEFINE_BOOL(trace_environment_liveness, false, | 350 DEFINE_BOOL(trace_environment_liveness, false, |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 #undef DEFINE_ALIAS_FLOAT | 1208 #undef DEFINE_ALIAS_FLOAT |
| 1209 #undef DEFINE_ALIAS_ARGS | 1209 #undef DEFINE_ALIAS_ARGS |
| 1210 | 1210 |
| 1211 #undef FLAG_MODE_DECLARE | 1211 #undef FLAG_MODE_DECLARE |
| 1212 #undef FLAG_MODE_DEFINE | 1212 #undef FLAG_MODE_DEFINE |
| 1213 #undef FLAG_MODE_DEFINE_DEFAULTS | 1213 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1214 #undef FLAG_MODE_META | 1214 #undef FLAG_MODE_META |
| 1215 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1215 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1216 | 1216 |
| 1217 #undef COMMA | 1217 #undef COMMA |
| OLD | NEW |