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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 205 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
206 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 206 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
207 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 207 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
208 DEFINE_IMPLICATION(track_double_fields, track_fields) | 208 DEFINE_IMPLICATION(track_double_fields, track_fields) |
209 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 209 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
210 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 210 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
211 DEFINE_BOOL(track_field_types, true, "track field types") | 211 DEFINE_BOOL(track_field_types, true, "track field types") |
212 DEFINE_IMPLICATION(track_field_types, track_fields) | 212 DEFINE_IMPLICATION(track_field_types, track_fields) |
213 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 213 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
214 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 214 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| 215 DEFINE_BOOL(vector_ics, false, "support vector-based ics") |
215 | 216 |
216 // Flags for optimization types. | 217 // Flags for optimization types. |
217 DEFINE_BOOL(optimize_for_size, false, | 218 DEFINE_BOOL(optimize_for_size, false, |
218 "Enables optimizations which favor memory size over execution " | 219 "Enables optimizations which favor memory size over execution " |
219 "speed.") | 220 "speed.") |
220 | 221 |
221 // Flags for data representation optimizations | 222 // Flags for data representation optimizations |
222 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 223 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
223 DEFINE_BOOL(string_slices, true, "use string slices") | 224 DEFINE_BOOL(string_slices, true, "use string slices") |
224 | 225 |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 #undef DEFINE_ALIAS_FLOAT | 914 #undef DEFINE_ALIAS_FLOAT |
914 #undef DEFINE_ALIAS_ARGS | 915 #undef DEFINE_ALIAS_ARGS |
915 | 916 |
916 #undef FLAG_MODE_DECLARE | 917 #undef FLAG_MODE_DECLARE |
917 #undef FLAG_MODE_DEFINE | 918 #undef FLAG_MODE_DEFINE |
918 #undef FLAG_MODE_DEFINE_DEFAULTS | 919 #undef FLAG_MODE_DEFINE_DEFAULTS |
919 #undef FLAG_MODE_META | 920 #undef FLAG_MODE_META |
920 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
921 | 922 |
922 #undef COMMA | 923 #undef COMMA |
OLD | NEW |