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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 445 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
446 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 446 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
447 DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer") | 447 DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer") |
448 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") | 448 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") |
449 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") | 449 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") |
450 DEFINE_BOOL(trace_turbo_loop, false, "trace TurboFan's loop optimizations") | 450 DEFINE_BOOL(trace_turbo_loop, false, "trace TurboFan's loop optimizations") |
451 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 451 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") |
452 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 452 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
453 DEFINE_STRING(turbo_verify_machine_graph, nullptr, | 453 DEFINE_STRING(turbo_verify_machine_graph, nullptr, |
454 "verify TurboFan machine graph before instruction selection") | 454 "verify TurboFan machine graph before instruction selection") |
455 DEFINE_BOOL(csa_verify, DEBUG_BOOL, | 455 #ifdef ENABLE_VERIFY_CSA |
| 456 DEFINE_BOOL(verify_csa, DEBUG_BOOL, |
456 "verify TurboFan machine graph of code stubs") | 457 "verify TurboFan machine graph of code stubs") |
457 DEFINE_BOOL(trace_csa_verify, false, "trace code stubs verification") | 458 #else |
| 459 // Define the flag as read-only-false so that code still compiles even in the |
| 460 // non-ENABLE_VERIFY_CSA configuration. |
| 461 DEFINE_BOOL_READONLY(verify_csa, false, |
| 462 "verify TurboFan machine graph of code stubs") |
| 463 #endif |
| 464 DEFINE_BOOL(trace_verify_csa, false, "trace code stubs verification") |
458 DEFINE_STRING(csa_trap_on_node, nullptr, | 465 DEFINE_STRING(csa_trap_on_node, nullptr, |
459 "trigger break point when a node with given id is created in " | 466 "trigger break point when a node with given id is created in " |
460 "given stub. The format is: StubName,NodeId") | 467 "given stub. The format is: StubName,NodeId") |
461 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 468 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
462 DEFINE_BOOL(turbo_stats_nvp, false, | 469 DEFINE_BOOL(turbo_stats_nvp, false, |
463 "print TurboFan statistics in machine-readable format") | 470 "print TurboFan statistics in machine-readable format") |
464 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 471 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
465 DEFINE_BOOL(function_context_specialization, false, | 472 DEFINE_BOOL(function_context_specialization, false, |
466 "enable function context specialization in TurboFan") | 473 "enable function context specialization in TurboFan") |
467 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") | 474 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 #undef DEFINE_ALIAS_FLOAT | 1300 #undef DEFINE_ALIAS_FLOAT |
1294 #undef DEFINE_ALIAS_ARGS | 1301 #undef DEFINE_ALIAS_ARGS |
1295 | 1302 |
1296 #undef FLAG_MODE_DECLARE | 1303 #undef FLAG_MODE_DECLARE |
1297 #undef FLAG_MODE_DEFINE | 1304 #undef FLAG_MODE_DEFINE |
1298 #undef FLAG_MODE_DEFINE_DEFAULTS | 1305 #undef FLAG_MODE_DEFINE_DEFAULTS |
1299 #undef FLAG_MODE_META | 1306 #undef FLAG_MODE_META |
1300 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1307 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1301 | 1308 |
1302 #undef COMMA | 1309 #undef COMMA |
OLD | NEW |