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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 409 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
410 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 410 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
411 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 411 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
412 // TODO(dcarney): this is just for experimentation, remove when default. | 412 // TODO(dcarney): this is just for experimentation, remove when default. |
413 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 413 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
414 "delay ssa deconstruction in TurboFan register allocator") | 414 "delay ssa deconstruction in TurboFan register allocator") |
415 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 415 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
416 "verify register allocation in TurboFan") | 416 "verify register allocation in TurboFan") |
417 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 417 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
418 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 418 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
419 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") | 419 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") |
420 DEFINE_BOOL(turbo_exceptions, false, "enable exception handling in TurboFan") | 420 DEFINE_BOOL(turbo_exceptions, false, "enable exception handling in TurboFan") |
421 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 421 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
422 "stress loop peeling optimization") | 422 "stress loop peeling optimization") |
423 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 423 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
424 | 424 |
425 DEFINE_INT(typed_array_max_size_in_heap, 64, | 425 DEFINE_INT(typed_array_max_size_in_heap, 64, |
426 "threshold for in-heap typed array") | 426 "threshold for in-heap typed array") |
427 | 427 |
428 // Profiler flags. | 428 // Profiler flags. |
429 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 429 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 #undef DEFINE_ALIAS_FLOAT | 1040 #undef DEFINE_ALIAS_FLOAT |
1041 #undef DEFINE_ALIAS_ARGS | 1041 #undef DEFINE_ALIAS_ARGS |
1042 | 1042 |
1043 #undef FLAG_MODE_DECLARE | 1043 #undef FLAG_MODE_DECLARE |
1044 #undef FLAG_MODE_DEFINE | 1044 #undef FLAG_MODE_DEFINE |
1045 #undef FLAG_MODE_DEFINE_DEFAULTS | 1045 #undef FLAG_MODE_DEFINE_DEFAULTS |
1046 #undef FLAG_MODE_META | 1046 #undef FLAG_MODE_META |
1047 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1047 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1048 | 1048 |
1049 #undef COMMA | 1049 #undef COMMA |
OLD | NEW |