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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 DEFINE_INT(concurrent_recompilation_delay, 0, | 434 DEFINE_INT(concurrent_recompilation_delay, 0, |
435 "artificial compilation delay in ms") | 435 "artificial compilation delay in ms") |
436 DEFINE_BOOL(block_concurrent_recompilation, false, | 436 DEFINE_BOOL(block_concurrent_recompilation, false, |
437 "block queued jobs until released") | 437 "block queued jobs until released") |
438 | 438 |
439 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 439 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
440 "do not emit check maps for constant values that have a leaf map, " | 440 "do not emit check maps for constant values that have a leaf map, " |
441 "deoptimize the optimized code if the layout of the maps changes.") | 441 "deoptimize the optimized code if the layout of the maps changes.") |
442 | 442 |
443 // Flags for TurboFan. | 443 // Flags for TurboFan. |
444 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 444 DEFINE_BOOL(turbo, true, "enable TurboFan compiler") |
445 DEFINE_BOOL(turbo_sp_frame_access, false, | 445 DEFINE_BOOL(turbo_sp_frame_access, false, |
446 "use stack pointer-relative access to frame wherever possible") | 446 "use stack pointer-relative access to frame wherever possible") |
447 DEFINE_BOOL(turbo_preprocess_ranges, true, | 447 DEFINE_BOOL(turbo_preprocess_ranges, true, |
448 "run pre-register allocation heuristics") | 448 "run pre-register allocation heuristics") |
449 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 449 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
450 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 450 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
451 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 451 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
452 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 452 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
453 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 453 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
454 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 454 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 #undef DEFINE_ALIAS_FLOAT | 1309 #undef DEFINE_ALIAS_FLOAT |
1310 #undef DEFINE_ALIAS_ARGS | 1310 #undef DEFINE_ALIAS_ARGS |
1311 | 1311 |
1312 #undef FLAG_MODE_DECLARE | 1312 #undef FLAG_MODE_DECLARE |
1313 #undef FLAG_MODE_DEFINE | 1313 #undef FLAG_MODE_DEFINE |
1314 #undef FLAG_MODE_DEFINE_DEFAULTS | 1314 #undef FLAG_MODE_DEFINE_DEFAULTS |
1315 #undef FLAG_MODE_META | 1315 #undef FLAG_MODE_META |
1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1317 | 1317 |
1318 #undef COMMA | 1318 #undef COMMA |
OLD | NEW |