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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 346 |
347 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 347 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
348 "do not emit check maps for constant values that have a leaf map, " | 348 "do not emit check maps for constant values that have a leaf map, " |
349 "deoptimize the optimized code if the layout of the maps changes.") | 349 "deoptimize the optimized code if the layout of the maps changes.") |
350 | 350 |
351 // Flags for TurboFan. | 351 // Flags for TurboFan. |
352 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") | 352 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") |
353 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 353 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
354 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 354 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
355 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 355 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
356 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") | 356 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
357 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") | 357 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
| 358 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
358 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code") | 359 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code") |
359 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") | 360 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") |
360 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 361 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
361 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 362 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
362 DEFINE_BOOL(turbo_source_positions, false, | 363 DEFINE_BOOL(turbo_source_positions, false, |
363 "track source code positions when building TurboFan IR") | 364 "track source code positions when building TurboFan IR") |
364 DEFINE_BOOL(context_specialization, false, | 365 DEFINE_BOOL(context_specialization, false, |
365 "enable context specialization in TurboFan") | 366 "enable context specialization in TurboFan") |
366 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 367 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
367 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 368 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 #undef DEFINE_ALIAS_FLOAT | 952 #undef DEFINE_ALIAS_FLOAT |
952 #undef DEFINE_ALIAS_ARGS | 953 #undef DEFINE_ALIAS_ARGS |
953 | 954 |
954 #undef FLAG_MODE_DECLARE | 955 #undef FLAG_MODE_DECLARE |
955 #undef FLAG_MODE_DEFINE | 956 #undef FLAG_MODE_DEFINE |
956 #undef FLAG_MODE_DEFINE_DEFAULTS | 957 #undef FLAG_MODE_DEFINE_DEFAULTS |
957 #undef FLAG_MODE_META | 958 #undef FLAG_MODE_META |
958 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 959 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
959 | 960 |
960 #undef COMMA | 961 #undef COMMA |
OLD | NEW |