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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 DEFINE_BOOL(block_concurrent_recompilation, false, | 413 DEFINE_BOOL(block_concurrent_recompilation, false, |
414 "block queued jobs until released") | 414 "block queued jobs until released") |
415 | 415 |
416 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 416 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
417 "do not emit check maps for constant values that have a leaf map, " | 417 "do not emit check maps for constant values that have a leaf map, " |
418 "deoptimize the optimized code if the layout of the maps changes.") | 418 "deoptimize the optimized code if the layout of the maps changes.") |
419 | 419 |
420 // Flags for TurboFan. | 420 // Flags for TurboFan. |
421 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 421 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
422 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 422 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
423 DEFINE_IMPLICATION(turbo, turbo_escape) | |
424 DEFINE_BOOL(turbo_sp_frame_access, false, | 423 DEFINE_BOOL(turbo_sp_frame_access, false, |
425 "use stack pointer-relative access to frame wherever possible") | 424 "use stack pointer-relative access to frame wherever possible") |
426 DEFINE_BOOL(turbo_preprocess_ranges, true, | 425 DEFINE_BOOL(turbo_preprocess_ranges, true, |
427 "run pre-register allocation heuristics") | 426 "run pre-register allocation heuristics") |
428 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 427 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
429 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 428 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
430 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 429 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
431 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 430 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
432 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 431 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
433 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 432 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
(...skipping 29 matching lines...) Expand all Loading... |
463 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 462 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
464 "verify register allocation in TurboFan") | 463 "verify register allocation in TurboFan") |
465 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 464 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
466 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 465 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
467 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 466 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
468 "stress loop peeling optimization") | 467 "stress loop peeling optimization") |
469 DEFINE_BOOL(turbo_loop_peeling, true, "Turbofan loop peeling") | 468 DEFINE_BOOL(turbo_loop_peeling, true, "Turbofan loop peeling") |
470 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") | 469 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") |
471 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 470 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
472 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 471 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
473 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 472 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") |
474 DEFINE_BOOL(turbo_instruction_scheduling, false, | 473 DEFINE_BOOL(turbo_instruction_scheduling, false, |
475 "enable instruction scheduling in TurboFan") | 474 "enable instruction scheduling in TurboFan") |
476 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 475 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
477 "randomly schedule instructions to stress dependency tracking") | 476 "randomly schedule instructions to stress dependency tracking") |
478 DEFINE_BOOL(turbo_store_elimination, true, | 477 DEFINE_BOOL(turbo_store_elimination, true, |
479 "enable store-store elimination in TurboFan") | 478 "enable store-store elimination in TurboFan") |
480 | 479 |
481 // Flags to help platform porters | 480 // Flags to help platform porters |
482 DEFINE_BOOL(minimal, false, | 481 DEFINE_BOOL(minimal, false, |
483 "simplifies execution model to make porting " | 482 "simplifies execution model to make porting " |
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 #undef DEFINE_ALIAS_FLOAT | 1234 #undef DEFINE_ALIAS_FLOAT |
1236 #undef DEFINE_ALIAS_ARGS | 1235 #undef DEFINE_ALIAS_ARGS |
1237 | 1236 |
1238 #undef FLAG_MODE_DECLARE | 1237 #undef FLAG_MODE_DECLARE |
1239 #undef FLAG_MODE_DEFINE | 1238 #undef FLAG_MODE_DEFINE |
1240 #undef FLAG_MODE_DEFINE_DEFAULTS | 1239 #undef FLAG_MODE_DEFINE_DEFAULTS |
1241 #undef FLAG_MODE_META | 1240 #undef FLAG_MODE_META |
1242 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1241 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1243 | 1242 |
1244 #undef COMMA | 1243 #undef COMMA |
OLD | NEW |