| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 "block queued jobs until released") | 376 "block queued jobs until released") |
| 377 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") | 377 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") |
| 378 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 378 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
| 379 | 379 |
| 380 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 380 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
| 381 "do not emit check maps for constant values that have a leaf map, " | 381 "do not emit check maps for constant values that have a leaf map, " |
| 382 "deoptimize the optimized code if the layout of the maps changes.") | 382 "deoptimize the optimized code if the layout of the maps changes.") |
| 383 | 383 |
| 384 // Flags for TurboFan. | 384 // Flags for TurboFan. |
| 385 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 385 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
| 386 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") | 386 DEFINE_BOOL(turbo_greedy_regalloc, true, "use the greedy register allocator") |
| 387 |
| 388 // Point-in time experimental flags for tuning the greedy allocator. |
| 389 DEFINE_BOOL(greedy_stats, false, |
| 390 "experimental: report stats for the greedy allocator") |
| 391 DEFINE_BOOL(greedy_below, true, |
| 392 "experimental, splitting: consider conflicting ranges ending " |
| 393 "within losing range") |
| 394 DEFINE_BOOL(greedy_smart, true, "experimental, splitting: loop-aware split") |
| 395 DEFINE_BOOL(greedy_alternative, true, |
| 396 "experimental, splitting: use alternative if loop-aware split " |
| 397 "point is outside range") |
| 398 DEFINE_BOOL(greedy_split_longest, false, |
| 399 "experimental, splitting: use longest register instead of heaviest") |
| 400 |
| 387 DEFINE_IMPLICATION(turbo, turbo_deoptimization) | 401 DEFINE_IMPLICATION(turbo, turbo_deoptimization) |
| 388 DEFINE_IMPLICATION(turbo, turbo_type_feedback) | 402 DEFINE_IMPLICATION(turbo, turbo_type_feedback) |
| 389 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 403 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
| 390 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 404 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
| 391 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 405 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
| 392 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 406 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
| 393 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 407 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
| 394 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 408 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
| 395 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 409 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
| 396 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 410 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 #undef DEFINE_ALIAS_FLOAT | 1081 #undef DEFINE_ALIAS_FLOAT |
| 1068 #undef DEFINE_ALIAS_ARGS | 1082 #undef DEFINE_ALIAS_ARGS |
| 1069 | 1083 |
| 1070 #undef FLAG_MODE_DECLARE | 1084 #undef FLAG_MODE_DECLARE |
| 1071 #undef FLAG_MODE_DEFINE | 1085 #undef FLAG_MODE_DEFINE |
| 1072 #undef FLAG_MODE_DEFINE_DEFAULTS | 1086 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1073 #undef FLAG_MODE_META | 1087 #undef FLAG_MODE_META |
| 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1088 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1075 | 1089 |
| 1076 #undef COMMA | 1090 #undef COMMA |
| OLD | NEW |