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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") | 437 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") |
438 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") | 438 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") |
439 DEFINE_BOOL(trace_turbo_loop, false, "trace TurboFan's loop optimizations") | 439 DEFINE_BOOL(trace_turbo_loop, false, "trace TurboFan's loop optimizations") |
440 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 440 DEFINE_BOOL(turbo_asm, true, "enable 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(csa_verify, DEBUG_BOOL, | 444 DEFINE_BOOL(csa_verify, DEBUG_BOOL, |
445 "verify TurboFan machine graph of code stubs") | 445 "verify TurboFan machine graph of code stubs") |
446 DEFINE_BOOL(trace_csa_verify, false, "trace code stubs verification") | 446 DEFINE_BOOL(trace_csa_verify, false, "trace code stubs verification") |
| 447 DEFINE_STRING(csa_trap_on_node, nullptr, |
| 448 "trigger break point when a node with given id is created in " |
| 449 "given stub. The format is: StubName,NodeId") |
447 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 450 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
448 DEFINE_BOOL(turbo_stats_nvp, false, | 451 DEFINE_BOOL(turbo_stats_nvp, false, |
449 "print TurboFan statistics in machine-readable format") | 452 "print TurboFan statistics in machine-readable format") |
450 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 453 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
451 DEFINE_BOOL(function_context_specialization, false, | 454 DEFINE_BOOL(function_context_specialization, false, |
452 "enable function context specialization in TurboFan") | 455 "enable function context specialization in TurboFan") |
453 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") | 456 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") |
454 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 457 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
455 DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan") | 458 DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan") |
456 DEFINE_BOOL(trace_turbo_load_elimination, false, | 459 DEFINE_BOOL(trace_turbo_load_elimination, false, |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1242 #undef DEFINE_ALIAS_FLOAT | 1245 #undef DEFINE_ALIAS_FLOAT |
1243 #undef DEFINE_ALIAS_ARGS | 1246 #undef DEFINE_ALIAS_ARGS |
1244 | 1247 |
1245 #undef FLAG_MODE_DECLARE | 1248 #undef FLAG_MODE_DECLARE |
1246 #undef FLAG_MODE_DEFINE | 1249 #undef FLAG_MODE_DEFINE |
1247 #undef FLAG_MODE_DEFINE_DEFAULTS | 1250 #undef FLAG_MODE_DEFINE_DEFAULTS |
1248 #undef FLAG_MODE_META | 1251 #undef FLAG_MODE_META |
1249 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1252 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1250 | 1253 |
1251 #undef COMMA | 1254 #undef COMMA |
OLD | NEW |