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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 | 442 |
443 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 443 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
444 "do not emit check maps for constant values that have a leaf map, " | 444 "do not emit check maps for constant values that have a leaf map, " |
445 "deoptimize the optimized code if the layout of the maps changes.") | 445 "deoptimize the optimized code if the layout of the maps changes.") |
446 | 446 |
447 // Flags for TurboFan. | 447 // Flags for TurboFan. |
448 #ifdef V8_DISABLE_TURBO | 448 #ifdef V8_DISABLE_TURBO |
449 // Allow to disable turbofan with a build flag after it's turned on by default. | 449 // Allow to disable turbofan with a build flag after it's turned on by default. |
450 #define TURBO_BOOL false | 450 #define TURBO_BOOL false |
451 #else | 451 #else |
452 // TODO(mvstanton): Turn on turbofan here. | 452 #define TURBO_BOOL true |
453 #define TURBO_BOOL false | |
454 #endif | 453 #endif |
455 DEFINE_BOOL(turbo, TURBO_BOOL, "enable TurboFan compiler") | 454 DEFINE_BOOL(turbo, TURBO_BOOL, "enable TurboFan compiler") |
456 DEFINE_BOOL(turbo_sp_frame_access, false, | 455 DEFINE_BOOL(turbo_sp_frame_access, false, |
457 "use stack pointer-relative access to frame wherever possible") | 456 "use stack pointer-relative access to frame wherever possible") |
458 DEFINE_BOOL(turbo_preprocess_ranges, true, | 457 DEFINE_BOOL(turbo_preprocess_ranges, true, |
459 "run pre-register allocation heuristics") | 458 "run pre-register allocation heuristics") |
460 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 459 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
461 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 460 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
462 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 461 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
463 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 462 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 #undef DEFINE_ALIAS_FLOAT | 1319 #undef DEFINE_ALIAS_FLOAT |
1321 #undef DEFINE_ALIAS_ARGS | 1320 #undef DEFINE_ALIAS_ARGS |
1322 | 1321 |
1323 #undef FLAG_MODE_DECLARE | 1322 #undef FLAG_MODE_DECLARE |
1324 #undef FLAG_MODE_DEFINE | 1323 #undef FLAG_MODE_DEFINE |
1325 #undef FLAG_MODE_DEFINE_DEFAULTS | 1324 #undef FLAG_MODE_DEFINE_DEFAULTS |
1326 #undef FLAG_MODE_META | 1325 #undef FLAG_MODE_META |
1327 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1326 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1328 | 1327 |
1329 #undef COMMA | 1328 #undef COMMA |
OLD | NEW |