| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") | 331 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") |
| 332 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") | 332 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") |
| 333 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") | 333 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") |
| 334 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 334 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
| 335 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") | 335 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") |
| 336 DEFINE_BOOL(turbo_source_positions, false, | 336 DEFINE_BOOL(turbo_source_positions, false, |
| 337 "track source code positions when building TurboFan IR") | 337 "track source code positions when building TurboFan IR") |
| 338 DEFINE_BOOL(context_specialization, true, | 338 DEFINE_BOOL(context_specialization, true, |
| 339 "enable context specialization in TurboFan") | 339 "enable context specialization in TurboFan") |
| 340 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 340 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
| 341 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
| 342 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
| 341 | 343 |
| 342 DEFINE_INT(typed_array_max_size_in_heap, 64, | 344 DEFINE_INT(typed_array_max_size_in_heap, 64, |
| 343 "threshold for in-heap typed array") | 345 "threshold for in-heap typed array") |
| 344 | 346 |
| 345 // Profiler flags. | 347 // Profiler flags. |
| 346 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 348 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| 347 // 0x1800 fits in the immediate field of an ARM instruction. | 349 // 0x1800 fits in the immediate field of an ARM instruction. |
| 348 DEFINE_INT(interrupt_budget, 0x1800, | 350 DEFINE_INT(interrupt_budget, 0x1800, |
| 349 "execution budget before interrupt is triggered") | 351 "execution budget before interrupt is triggered") |
| 350 DEFINE_INT(type_info_threshold, 25, | 352 DEFINE_INT(type_info_threshold, 25, |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 #undef DEFINE_ALIAS_FLOAT | 928 #undef DEFINE_ALIAS_FLOAT |
| 927 #undef DEFINE_ALIAS_ARGS | 929 #undef DEFINE_ALIAS_ARGS |
| 928 | 930 |
| 929 #undef FLAG_MODE_DECLARE | 931 #undef FLAG_MODE_DECLARE |
| 930 #undef FLAG_MODE_DEFINE | 932 #undef FLAG_MODE_DEFINE |
| 931 #undef FLAG_MODE_DEFINE_DEFAULTS | 933 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 932 #undef FLAG_MODE_META | 934 #undef FLAG_MODE_META |
| 933 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 935 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 934 | 936 |
| 935 #undef COMMA | 937 #undef COMMA |
| OLD | NEW |