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 370 matching lines...) Loading... |
381 "enable context specialization in TurboFan") | 381 "enable context specialization in TurboFan") |
382 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 382 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
383 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 383 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
384 DEFINE_BOOL(turbo_inlining_intrinsics, false, | 384 DEFINE_BOOL(turbo_inlining_intrinsics, false, |
385 "enable inlining of intrinsics in TurboFan") | 385 "enable inlining of intrinsics in TurboFan") |
386 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 386 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
387 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 387 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
388 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) | 388 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) |
389 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | 389 DEFINE_IMPLICATION(turbo_inlining, turbo_types) |
390 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 390 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
| 391 DEFINE_BOOL(turbo_mod_range, false, "enable ranging of modulus") |
391 | 392 |
392 DEFINE_INT(typed_array_max_size_in_heap, 64, | 393 DEFINE_INT(typed_array_max_size_in_heap, 64, |
393 "threshold for in-heap typed array") | 394 "threshold for in-heap typed array") |
394 | 395 |
395 // Profiler flags. | 396 // Profiler flags. |
396 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 397 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
397 // 0x1800 fits in the immediate field of an ARM instruction. | 398 // 0x1800 fits in the immediate field of an ARM instruction. |
398 DEFINE_INT(interrupt_budget, 0x1800, | 399 DEFINE_INT(interrupt_budget, 0x1800, |
399 "execution budget before interrupt is triggered") | 400 "execution budget before interrupt is triggered") |
400 DEFINE_INT(type_info_threshold, 25, | 401 DEFINE_INT(type_info_threshold, 25, |
(...skipping 567 matching lines...) Loading... |
968 #undef DEFINE_ALIAS_FLOAT | 969 #undef DEFINE_ALIAS_FLOAT |
969 #undef DEFINE_ALIAS_ARGS | 970 #undef DEFINE_ALIAS_ARGS |
970 | 971 |
971 #undef FLAG_MODE_DECLARE | 972 #undef FLAG_MODE_DECLARE |
972 #undef FLAG_MODE_DEFINE | 973 #undef FLAG_MODE_DEFINE |
973 #undef FLAG_MODE_DEFINE_DEFAULTS | 974 #undef FLAG_MODE_DEFINE_DEFAULTS |
974 #undef FLAG_MODE_META | 975 #undef FLAG_MODE_META |
975 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 976 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
976 | 977 |
977 #undef COMMA | 978 #undef COMMA |
OLD | NEW |