| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") | 319 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") |
| 320 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 320 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
| 321 | 321 |
| 322 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 322 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
| 323 "do not emit check maps for constant values that have a leaf map, " | 323 "do not emit check maps for constant values that have a leaf map, " |
| 324 "deoptimize the optimized code if the layout of the maps changes.") | 324 "deoptimize the optimized code if the layout of the maps changes.") |
| 325 | 325 |
| 326 // Flags for TurboFan. | 326 // Flags for TurboFan. |
| 327 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") | 327 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") |
| 328 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 328 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
| 329 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") | 329 DEFINE_BOOL(trace_turbo_types, false, "trace generated TurboFan types") |
| 330 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") | 330 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") |
| 331 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") | 331 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") |
| 332 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 332 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
| 333 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 333 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
| 334 DEFINE_BOOL(turbo_source_positions, false, | 334 DEFINE_BOOL(turbo_source_positions, false, |
| 335 "track source code positions when building TurboFan IR") | 335 "track source code positions when building TurboFan IR") |
| 336 DEFINE_BOOL(context_specialization, false, | 336 DEFINE_BOOL(context_specialization, false, |
| 337 "enable context specialization in TurboFan") | 337 "enable context specialization in TurboFan") |
| 338 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 338 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
| 339 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 339 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 #undef DEFINE_ALIAS_FLOAT | 925 #undef DEFINE_ALIAS_FLOAT |
| 926 #undef DEFINE_ALIAS_ARGS | 926 #undef DEFINE_ALIAS_ARGS |
| 927 | 927 |
| 928 #undef FLAG_MODE_DECLARE | 928 #undef FLAG_MODE_DECLARE |
| 929 #undef FLAG_MODE_DEFINE | 929 #undef FLAG_MODE_DEFINE |
| 930 #undef FLAG_MODE_DEFINE_DEFAULTS | 930 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 931 #undef FLAG_MODE_META | 931 #undef FLAG_MODE_META |
| 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 933 | 933 |
| 934 #undef COMMA | 934 #undef COMMA |
| OLD | NEW |