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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 "do not emit check maps for constant values that have a leaf map, " | 326 "do not emit check maps for constant values that have a leaf map, " |
327 "deoptimize the optimized code if the layout of the maps changes.") | 327 "deoptimize the optimized code if the layout of the maps changes.") |
328 | 328 |
329 // Flags for TurboFan. | 329 // Flags for TurboFan. |
330 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") | 330 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") |
331 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 331 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
332 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") | 332 DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") |
333 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") | 333 DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") |
334 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") | 334 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") |
335 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 335 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
336 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && V8_TURBOFAN_BACKEND | 336 #if V8_TURBOFAN_BACKEND |
337 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 337 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
338 #else | 338 #else |
339 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") | 339 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") |
340 #endif | 340 #endif |
341 DEFINE_BOOL(turbo_source_positions, false, | 341 DEFINE_BOOL(turbo_source_positions, false, |
342 "track source code positions when building TurboFan IR") | 342 "track source code positions when building TurboFan IR") |
343 DEFINE_BOOL(context_specialization, false, | 343 DEFINE_BOOL(context_specialization, false, |
344 "enable context specialization in TurboFan") | 344 "enable context specialization in TurboFan") |
345 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 345 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
346 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 346 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 #undef DEFINE_ALIAS_FLOAT | 932 #undef DEFINE_ALIAS_FLOAT |
933 #undef DEFINE_ALIAS_ARGS | 933 #undef DEFINE_ALIAS_ARGS |
934 | 934 |
935 #undef FLAG_MODE_DECLARE | 935 #undef FLAG_MODE_DECLARE |
936 #undef FLAG_MODE_DEFINE | 936 #undef FLAG_MODE_DEFINE |
937 #undef FLAG_MODE_DEFINE_DEFAULTS | 937 #undef FLAG_MODE_DEFINE_DEFAULTS |
938 #undef FLAG_MODE_META | 938 #undef FLAG_MODE_META |
939 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 939 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
940 | 940 |
941 #undef COMMA | 941 #undef COMMA |
OLD | NEW |