| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 DEFINE_BOOL(print_deopt_stress, false, "print number of possible deopt points") | 360 DEFINE_BOOL(print_deopt_stress, false, "print number of possible deopt points") |
| 361 DEFINE_BOOL(trap_on_deopt, false, "put a break point before deoptimizing") | 361 DEFINE_BOOL(trap_on_deopt, false, "put a break point before deoptimizing") |
| 362 DEFINE_BOOL(trap_on_stub_deopt, false, | 362 DEFINE_BOOL(trap_on_stub_deopt, false, |
| 363 "put a break point before deoptimizing a stub") | 363 "put a break point before deoptimizing a stub") |
| 364 DEFINE_BOOL(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 364 DEFINE_BOOL(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
| 365 DEFINE_BOOL(polymorphic_inlining, true, "polymorphic inlining") | 365 DEFINE_BOOL(polymorphic_inlining, true, "polymorphic inlining") |
| 366 DEFINE_BOOL(use_osr, true, "use on-stack replacement") | 366 DEFINE_BOOL(use_osr, true, "use on-stack replacement") |
| 367 DEFINE_BOOL(array_bounds_checks_elimination, true, | 367 DEFINE_BOOL(array_bounds_checks_elimination, true, |
| 368 "perform array bounds checks elimination") | 368 "perform array bounds checks elimination") |
| 369 DEFINE_BOOL(trace_bce, false, "trace array bounds check elimination") | 369 DEFINE_BOOL(trace_bce, false, "trace array bounds check elimination") |
| 370 DEFINE_BOOL(array_bounds_checks_hoisting, false, | |
| 371 "perform array bounds checks hoisting") | |
| 372 DEFINE_BOOL(array_index_dehoisting, true, "perform array index dehoisting") | 370 DEFINE_BOOL(array_index_dehoisting, true, "perform array index dehoisting") |
| 373 DEFINE_BOOL(analyze_environment_liveness, true, | 371 DEFINE_BOOL(analyze_environment_liveness, true, |
| 374 "analyze liveness of environment slots and zap dead values") | 372 "analyze liveness of environment slots and zap dead values") |
| 375 DEFINE_BOOL(load_elimination, true, "use load elimination") | 373 DEFINE_BOOL(load_elimination, true, "use load elimination") |
| 376 DEFINE_BOOL(check_elimination, true, "use check elimination") | 374 DEFINE_BOOL(check_elimination, true, "use check elimination") |
| 377 DEFINE_BOOL(store_elimination, false, "use store elimination") | 375 DEFINE_BOOL(store_elimination, false, "use store elimination") |
| 378 DEFINE_BOOL(dead_code_elimination, true, "use dead code elimination") | 376 DEFINE_BOOL(dead_code_elimination, true, "use dead code elimination") |
| 379 DEFINE_BOOL(fold_constants, true, "use constant folding") | 377 DEFINE_BOOL(fold_constants, true, "use constant folding") |
| 380 DEFINE_BOOL(trace_dead_code_elimination, false, "trace dead code elimination") | 378 DEFINE_BOOL(trace_dead_code_elimination, false, "trace dead code elimination") |
| 381 DEFINE_BOOL(unreachable_code_elimination, true, "eliminate unreachable code") | 379 DEFINE_BOOL(unreachable_code_elimination, true, "eliminate unreachable code") |
| (...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 #undef DEFINE_ALIAS_FLOAT | 1167 #undef DEFINE_ALIAS_FLOAT |
| 1170 #undef DEFINE_ALIAS_ARGS | 1168 #undef DEFINE_ALIAS_ARGS |
| 1171 | 1169 |
| 1172 #undef FLAG_MODE_DECLARE | 1170 #undef FLAG_MODE_DECLARE |
| 1173 #undef FLAG_MODE_DEFINE | 1171 #undef FLAG_MODE_DEFINE |
| 1174 #undef FLAG_MODE_DEFINE_DEFAULTS | 1172 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1175 #undef FLAG_MODE_META | 1173 #undef FLAG_MODE_META |
| 1176 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1174 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1177 | 1175 |
| 1178 #undef COMMA | 1176 #undef COMMA |
| OLD | NEW |