| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") | 278 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") |
| 279 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") | 279 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") |
| 280 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 280 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 281 DEFINE_BOOL(use_inlining, true, "use function inlining") | 281 DEFINE_BOOL(use_inlining, true, "use function inlining") |
| 282 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") | 282 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") |
| 283 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") | 283 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") |
| 284 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") | 284 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") |
| 285 DEFINE_BOOL(use_write_barrier_elimination, true, | 285 DEFINE_BOOL(use_write_barrier_elimination, true, |
| 286 "eliminate write barriers targeting allocations in optimized code") | 286 "eliminate write barriers targeting allocations in optimized code") |
| 287 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") | 287 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") |
| 288 DEFINE_INT(max_inlined_source_size, 600, | 288 DEFINE_INT(max_inlined_source_size, 1150, |
| 289 "maximum source size in bytes considered for a single inlining") | 289 "maximum source size in bytes considered for a single inlining") |
| 290 DEFINE_INT(max_inlined_nodes, 196, | 290 DEFINE_INT(max_inlined_nodes, 200, |
| 291 "maximum number of AST nodes considered for a single inlining") | 291 "maximum number of AST nodes considered for a single inlining") |
| 292 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 292 DEFINE_INT(max_inlined_nodes_cumulative, 400, |
| 293 "maximum cumulative number of AST nodes considered for inlining") | 293 "maximum cumulative number of AST nodes considered for inlining") |
| 294 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 294 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") |
| 295 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 295 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") |
| 296 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, | 296 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, |
| 297 "crankshaft harvests type feedback from stub cache") | 297 "crankshaft harvests type feedback from stub cache") |
| 298 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 298 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") |
| 299 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 299 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") |
| 300 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") | 300 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 #undef DEFINE_ALIAS_FLOAT | 1010 #undef DEFINE_ALIAS_FLOAT |
| 1011 #undef DEFINE_ALIAS_ARGS | 1011 #undef DEFINE_ALIAS_ARGS |
| 1012 | 1012 |
| 1013 #undef FLAG_MODE_DECLARE | 1013 #undef FLAG_MODE_DECLARE |
| 1014 #undef FLAG_MODE_DEFINE | 1014 #undef FLAG_MODE_DEFINE |
| 1015 #undef FLAG_MODE_DEFINE_DEFAULTS | 1015 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1016 #undef FLAG_MODE_META | 1016 #undef FLAG_MODE_META |
| 1017 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1017 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1018 | 1018 |
| 1019 #undef COMMA | 1019 #undef COMMA |
| OLD | NEW |