| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 228 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
| 229 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 229 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
| 230 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 230 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
| 231 DEFINE_IMPLICATION(track_double_fields, track_fields) | 231 DEFINE_IMPLICATION(track_double_fields, track_fields) |
| 232 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 232 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
| 233 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 233 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
| 234 DEFINE_BOOL(track_field_types, true, "track field types") | 234 DEFINE_BOOL(track_field_types, true, "track field types") |
| 235 DEFINE_IMPLICATION(track_field_types, track_fields) | 235 DEFINE_IMPLICATION(track_field_types, track_fields) |
| 236 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 236 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
| 237 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 237 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| 238 DEFINE_BOOL(vector_ics, false, "support vector-based ics") | 238 DEFINE_BOOL(vector_ics, true, "support vector-based ics") |
| 239 DEFINE_BOOL(hydrogen_vector_dispatcher, false, |
| 240 "use a hydrogen-based dispatcher for vector ics") |
| 239 | 241 |
| 240 // Flags for optimization types. | 242 // Flags for optimization types. |
| 241 DEFINE_BOOL(optimize_for_size, false, | 243 DEFINE_BOOL(optimize_for_size, false, |
| 242 "Enables optimizations which favor memory size over execution " | 244 "Enables optimizations which favor memory size over execution " |
| 243 "speed.") | 245 "speed.") |
| 244 | 246 |
| 245 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 247 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
| 246 | 248 |
| 247 // Flags for data representation optimizations | 249 // Flags for data representation optimizations |
| 248 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 250 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 #undef DEFINE_ALIAS_FLOAT | 991 #undef DEFINE_ALIAS_FLOAT |
| 990 #undef DEFINE_ALIAS_ARGS | 992 #undef DEFINE_ALIAS_ARGS |
| 991 | 993 |
| 992 #undef FLAG_MODE_DECLARE | 994 #undef FLAG_MODE_DECLARE |
| 993 #undef FLAG_MODE_DEFINE | 995 #undef FLAG_MODE_DEFINE |
| 994 #undef FLAG_MODE_DEFINE_DEFAULTS | 996 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 995 #undef FLAG_MODE_META | 997 #undef FLAG_MODE_META |
| 996 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 998 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 997 | 999 |
| 998 #undef COMMA | 1000 #undef COMMA |
| OLD | NEW |