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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 399 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
400 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 400 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
401 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) | 401 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) |
402 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | 402 DEFINE_IMPLICATION(turbo_inlining, turbo_types) |
403 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 403 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
404 // TODO(dcarney): this is just for experimentation, remove when default. | 404 // TODO(dcarney): this is just for experimentation, remove when default. |
405 DEFINE_BOOL(turbo_reuse_spill_slots, false, "reuse spill slots in TurboFan") | 405 DEFINE_BOOL(turbo_reuse_spill_slots, false, "reuse spill slots in TurboFan") |
406 // TODO(dcarney): this is just for experimentation, remove when default. | 406 // TODO(dcarney): this is just for experimentation, remove when default. |
407 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 407 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
408 "delay ssa deconstruction in TurboFan register allocator") | 408 "delay ssa deconstruction in TurboFan register allocator") |
| 409 // TODO(dcarney): this is just for debugging, remove eventually. |
| 410 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
409 DEFINE_BOOL(turbo_jt, true, "enable jump threading") | 411 DEFINE_BOOL(turbo_jt, true, "enable jump threading") |
410 | 412 |
411 DEFINE_INT(typed_array_max_size_in_heap, 64, | 413 DEFINE_INT(typed_array_max_size_in_heap, 64, |
412 "threshold for in-heap typed array") | 414 "threshold for in-heap typed array") |
413 | 415 |
414 // Profiler flags. | 416 // Profiler flags. |
415 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 417 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
416 // 0x1800 fits in the immediate field of an ARM instruction. | 418 // 0x1800 fits in the immediate field of an ARM instruction. |
417 DEFINE_INT(interrupt_budget, 0x1800, | 419 DEFINE_INT(interrupt_budget, 0x1800, |
418 "execution budget before interrupt is triggered") | 420 "execution budget before interrupt is triggered") |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 #undef DEFINE_ALIAS_FLOAT | 996 #undef DEFINE_ALIAS_FLOAT |
995 #undef DEFINE_ALIAS_ARGS | 997 #undef DEFINE_ALIAS_ARGS |
996 | 998 |
997 #undef FLAG_MODE_DECLARE | 999 #undef FLAG_MODE_DECLARE |
998 #undef FLAG_MODE_DEFINE | 1000 #undef FLAG_MODE_DEFINE |
999 #undef FLAG_MODE_DEFINE_DEFAULTS | 1001 #undef FLAG_MODE_DEFINE_DEFAULTS |
1000 #undef FLAG_MODE_META | 1002 #undef FLAG_MODE_META |
1001 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1003 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1002 | 1004 |
1003 #undef COMMA | 1005 #undef COMMA |
OLD | NEW |