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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
424 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 424 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
425 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 425 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
426 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") | 426 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") |
427 DEFINE_BOOL(turbo_try_catch, true, "enable try-catch support in TurboFan") | 427 DEFINE_BOOL(turbo_try_catch, true, "enable try-catch support in TurboFan") |
428 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") | 428 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") |
429 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 429 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
430 "stress loop peeling optimization") | 430 "stress loop peeling optimization") |
431 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 431 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
432 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 432 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
433 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 433 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
434 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | |
Michael Starzinger
2015/07/22 11:59:22
Note that this is still off, I want to enable it i
| |
434 | 435 |
435 DEFINE_INT(typed_array_max_size_in_heap, 64, | 436 DEFINE_INT(typed_array_max_size_in_heap, 64, |
436 "threshold for in-heap typed array") | 437 "threshold for in-heap typed array") |
437 | 438 |
438 // Profiler flags. | 439 // Profiler flags. |
439 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 440 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
440 // 0x1800 fits in the immediate field of an ARM instruction. | 441 // 0x1800 fits in the immediate field of an ARM instruction. |
441 DEFINE_INT(interrupt_budget, 0x1800, | 442 DEFINE_INT(interrupt_budget, 0x1800, |
442 "execution budget before interrupt is triggered") | 443 "execution budget before interrupt is triggered") |
443 DEFINE_INT(type_info_threshold, 25, | 444 DEFINE_INT(type_info_threshold, 25, |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1064 #undef DEFINE_ALIAS_FLOAT | 1065 #undef DEFINE_ALIAS_FLOAT |
1065 #undef DEFINE_ALIAS_ARGS | 1066 #undef DEFINE_ALIAS_ARGS |
1066 | 1067 |
1067 #undef FLAG_MODE_DECLARE | 1068 #undef FLAG_MODE_DECLARE |
1068 #undef FLAG_MODE_DEFINE | 1069 #undef FLAG_MODE_DEFINE |
1069 #undef FLAG_MODE_DEFINE_DEFAULTS | 1070 #undef FLAG_MODE_DEFINE_DEFAULTS |
1070 #undef FLAG_MODE_META | 1071 #undef FLAG_MODE_META |
1071 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1072 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1072 | 1073 |
1073 #undef COMMA | 1074 #undef COMMA |
OLD | NEW |