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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 296 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
297 DEFINE_IMPLICATION(track_double_fields, track_fields) | 297 DEFINE_IMPLICATION(track_double_fields, track_fields) |
298 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 298 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
299 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 299 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
300 DEFINE_BOOL(track_field_types, true, "track field types") | 300 DEFINE_BOOL(track_field_types, true, "track field types") |
301 DEFINE_IMPLICATION(track_field_types, track_fields) | 301 DEFINE_IMPLICATION(track_field_types, track_fields) |
302 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 302 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
303 DEFINE_BOOL(type_profile, false, "collect type information") | 303 DEFINE_BOOL(type_profile, false, "collect type information") |
304 DEFINE_BOOL(feedback_normalization, false, | 304 DEFINE_BOOL(feedback_normalization, false, |
305 "feed back normalization to constructors") | 305 "feed back normalization to constructors") |
| 306 // TODO(jkummerow): This currently adds too much load on the stub cache. |
| 307 DEFINE_BOOL_READONLY(internalize_on_the_fly, false, |
| 308 "internalize string keys for generic keyed ICs on the fly") |
306 | 309 |
307 // Flags for optimization types. | 310 // Flags for optimization types. |
308 DEFINE_BOOL(optimize_for_size, false, | 311 DEFINE_BOOL(optimize_for_size, false, |
309 "Enables optimizations which favor memory size over execution " | 312 "Enables optimizations which favor memory size over execution " |
310 "speed") | 313 "speed") |
311 | 314 |
312 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 315 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
313 | 316 |
314 // Flags for data representation optimizations | 317 // Flags for data representation optimizations |
315 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 318 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1348 #undef DEFINE_ALIAS_FLOAT | 1351 #undef DEFINE_ALIAS_FLOAT |
1349 #undef DEFINE_ALIAS_ARGS | 1352 #undef DEFINE_ALIAS_ARGS |
1350 | 1353 |
1351 #undef FLAG_MODE_DECLARE | 1354 #undef FLAG_MODE_DECLARE |
1352 #undef FLAG_MODE_DEFINE | 1355 #undef FLAG_MODE_DEFINE |
1353 #undef FLAG_MODE_DEFINE_DEFAULTS | 1356 #undef FLAG_MODE_DEFINE_DEFAULTS |
1354 #undef FLAG_MODE_META | 1357 #undef FLAG_MODE_META |
1355 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1358 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1356 | 1359 |
1357 #undef COMMA | 1360 #undef COMMA |
OLD | NEW |