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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 "enable deoptimization in TurboFan for asm.js code") | 440 "enable deoptimization in TurboFan for asm.js code") |
441 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 441 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
442 DEFINE_STRING(turbo_verify_machine_graph, nullptr, | 442 DEFINE_STRING(turbo_verify_machine_graph, nullptr, |
443 "verify TurboFan machine graph before instruction selection") | 443 "verify TurboFan machine graph before instruction selection") |
444 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 444 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
445 DEFINE_BOOL(turbo_stats_nvp, false, | 445 DEFINE_BOOL(turbo_stats_nvp, false, |
446 "print TurboFan statistics in machine-readable format") | 446 "print TurboFan statistics in machine-readable format") |
447 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 447 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
448 DEFINE_BOOL(turbo_type_feedback, true, | 448 DEFINE_BOOL(turbo_type_feedback, true, |
449 "use typed feedback for representation inference in Turbofan") | 449 "use typed feedback for representation inference in Turbofan") |
450 DEFINE_BOOL(turbo_source_positions, false, | |
451 "track source code positions when building TurboFan IR") | |
452 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | |
453 DEFINE_BOOL(function_context_specialization, false, | 450 DEFINE_BOOL(function_context_specialization, false, |
454 "enable function context specialization in TurboFan") | 451 "enable function context specialization in TurboFan") |
455 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") | 452 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") |
456 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 453 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
457 DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan") | 454 DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan") |
458 DEFINE_BOOL(trace_turbo_load_elimination, false, | 455 DEFINE_BOOL(trace_turbo_load_elimination, false, |
459 "trace TurboFan load elimination") | 456 "trace TurboFan load elimination") |
460 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 457 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
461 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 458 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
462 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 459 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 #undef DEFINE_ALIAS_FLOAT | 1220 #undef DEFINE_ALIAS_FLOAT |
1224 #undef DEFINE_ALIAS_ARGS | 1221 #undef DEFINE_ALIAS_ARGS |
1225 | 1222 |
1226 #undef FLAG_MODE_DECLARE | 1223 #undef FLAG_MODE_DECLARE |
1227 #undef FLAG_MODE_DEFINE | 1224 #undef FLAG_MODE_DEFINE |
1228 #undef FLAG_MODE_DEFINE_DEFAULTS | 1225 #undef FLAG_MODE_DEFINE_DEFAULTS |
1229 #undef FLAG_MODE_META | 1226 #undef FLAG_MODE_META |
1230 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1227 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1231 | 1228 |
1232 #undef COMMA | 1229 #undef COMMA |
OLD | NEW |