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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | 407 DEFINE_IMPLICATION(turbo_inlining, turbo_types) |
408 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 408 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
409 // TODO(dcarney): this is just for experimentation, remove when default. | 409 // TODO(dcarney): this is just for experimentation, remove when default. |
410 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 410 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
411 "delay ssa deconstruction in TurboFan register allocator") | 411 "delay ssa deconstruction in TurboFan register allocator") |
412 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 412 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
413 "verify register allocation in TurboFan") | 413 "verify register allocation in TurboFan") |
414 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 414 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
415 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 415 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
416 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") | 416 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") |
| 417 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
| 418 "stress loop peeling optimization") |
417 | 419 |
418 DEFINE_INT(typed_array_max_size_in_heap, 64, | 420 DEFINE_INT(typed_array_max_size_in_heap, 64, |
419 "threshold for in-heap typed array") | 421 "threshold for in-heap typed array") |
420 | 422 |
421 // Profiler flags. | 423 // Profiler flags. |
422 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 424 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
423 // 0x1800 fits in the immediate field of an ARM instruction. | 425 // 0x1800 fits in the immediate field of an ARM instruction. |
424 DEFINE_INT(interrupt_budget, 0x1800, | 426 DEFINE_INT(interrupt_budget, 0x1800, |
425 "execution budget before interrupt is triggered") | 427 "execution budget before interrupt is triggered") |
426 DEFINE_INT(type_info_threshold, 25, | 428 DEFINE_INT(type_info_threshold, 25, |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 #undef DEFINE_ALIAS_FLOAT | 1006 #undef DEFINE_ALIAS_FLOAT |
1005 #undef DEFINE_ALIAS_ARGS | 1007 #undef DEFINE_ALIAS_ARGS |
1006 | 1008 |
1007 #undef FLAG_MODE_DECLARE | 1009 #undef FLAG_MODE_DECLARE |
1008 #undef FLAG_MODE_DEFINE | 1010 #undef FLAG_MODE_DEFINE |
1009 #undef FLAG_MODE_DEFINE_DEFAULTS | 1011 #undef FLAG_MODE_DEFINE_DEFAULTS |
1010 #undef FLAG_MODE_META | 1012 #undef FLAG_MODE_META |
1011 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1013 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1012 | 1014 |
1013 #undef COMMA | 1015 #undef COMMA |
OLD | NEW |