| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code") | 340 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code") |
| 341 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") | 341 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") |
| 342 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 342 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
| 343 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 343 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
| 344 DEFINE_BOOL(turbo_source_positions, false, | 344 DEFINE_BOOL(turbo_source_positions, false, |
| 345 "track source code positions when building TurboFan IR") | 345 "track source code positions when building TurboFan IR") |
| 346 DEFINE_BOOL(context_specialization, false, | 346 DEFINE_BOOL(context_specialization, false, |
| 347 "enable context specialization in TurboFan") | 347 "enable context specialization in TurboFan") |
| 348 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 348 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
| 349 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 349 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
| 350 DEFINE_BOOL(turbo_inlining_intrinsics, false, |
| 351 "enable inlining of intrinsics in TurboFan") |
| 350 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 352 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
| 353 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) |
| 351 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | 354 DEFINE_IMPLICATION(turbo_inlining, turbo_types) |
| 352 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 355 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
| 353 | 356 |
| 354 DEFINE_INT(typed_array_max_size_in_heap, 64, | 357 DEFINE_INT(typed_array_max_size_in_heap, 64, |
| 355 "threshold for in-heap typed array") | 358 "threshold for in-heap typed array") |
| 356 | 359 |
| 357 // Profiler flags. | 360 // Profiler flags. |
| 358 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 361 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| 359 // 0x1800 fits in the immediate field of an ARM instruction. | 362 // 0x1800 fits in the immediate field of an ARM instruction. |
| 360 DEFINE_INT(interrupt_budget, 0x1800, | 363 DEFINE_INT(interrupt_budget, 0x1800, |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 #undef DEFINE_ALIAS_FLOAT | 931 #undef DEFINE_ALIAS_FLOAT |
| 929 #undef DEFINE_ALIAS_ARGS | 932 #undef DEFINE_ALIAS_ARGS |
| 930 | 933 |
| 931 #undef FLAG_MODE_DECLARE | 934 #undef FLAG_MODE_DECLARE |
| 932 #undef FLAG_MODE_DEFINE | 935 #undef FLAG_MODE_DEFINE |
| 933 #undef FLAG_MODE_DEFINE_DEFAULTS | 936 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 934 #undef FLAG_MODE_META | 937 #undef FLAG_MODE_META |
| 935 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 938 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 936 | 939 |
| 937 #undef COMMA | 940 #undef COMMA |
| OLD | NEW |