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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 295 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
296 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 296 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
297 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 297 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
298 DEFINE_IMPLICATION(track_double_fields, track_fields) | 298 DEFINE_IMPLICATION(track_double_fields, track_fields) |
299 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 299 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
300 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 300 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
301 DEFINE_BOOL(track_field_types, true, "track field types") | 301 DEFINE_BOOL(track_field_types, true, "track field types") |
302 DEFINE_IMPLICATION(track_field_types, track_fields) | 302 DEFINE_IMPLICATION(track_field_types, track_fields) |
303 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 303 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
304 DEFINE_BOOL(type_profile, false, "collect type information") | 304 DEFINE_BOOL(type_profile, false, "collect type information") |
| 305 DEFINE_BOOL(block_coverage, false, "collect block coverage information") |
305 DEFINE_BOOL(feedback_normalization, false, | 306 DEFINE_BOOL(feedback_normalization, false, |
306 "feed back normalization to constructors") | 307 "feed back normalization to constructors") |
307 // TODO(jkummerow): This currently adds too much load on the stub cache. | 308 // TODO(jkummerow): This currently adds too much load on the stub cache. |
308 DEFINE_BOOL_READONLY(internalize_on_the_fly, false, | 309 DEFINE_BOOL_READONLY(internalize_on_the_fly, false, |
309 "internalize string keys for generic keyed ICs on the fly") | 310 "internalize string keys for generic keyed ICs on the fly") |
310 | 311 |
311 // Flags for optimization types. | 312 // Flags for optimization types. |
312 DEFINE_BOOL(optimize_for_size, false, | 313 DEFINE_BOOL(optimize_for_size, false, |
313 "Enables optimizations which favor memory size over execution " | 314 "Enables optimizations which favor memory size over execution " |
314 "speed") | 315 "speed") |
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 #undef DEFINE_ALIAS_FLOAT | 1371 #undef DEFINE_ALIAS_FLOAT |
1371 #undef DEFINE_ALIAS_ARGS | 1372 #undef DEFINE_ALIAS_ARGS |
1372 | 1373 |
1373 #undef FLAG_MODE_DECLARE | 1374 #undef FLAG_MODE_DECLARE |
1374 #undef FLAG_MODE_DEFINE | 1375 #undef FLAG_MODE_DEFINE |
1375 #undef FLAG_MODE_DEFINE_DEFAULTS | 1376 #undef FLAG_MODE_DEFINE_DEFAULTS |
1376 #undef FLAG_MODE_META | 1377 #undef FLAG_MODE_META |
1377 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1378 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1378 | 1379 |
1379 #undef COMMA | 1380 #undef COMMA |
OLD | NEW |