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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 DEFINE_bool(track_double_fields, true, "track fields with double values") | 209 DEFINE_bool(track_double_fields, true, "track fields with double values") |
210 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 210 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
211 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 211 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
212 DEFINE_implication(track_double_fields, track_fields) | 212 DEFINE_implication(track_double_fields, track_fields) |
213 DEFINE_implication(track_heap_object_fields, track_fields) | 213 DEFINE_implication(track_heap_object_fields, track_fields) |
214 DEFINE_implication(track_computed_fields, track_fields) | 214 DEFINE_implication(track_computed_fields, track_fields) |
215 DEFINE_bool(track_field_types, true, "track field types") | 215 DEFINE_bool(track_field_types, true, "track field types") |
216 DEFINE_implication(track_field_types, track_fields) | 216 DEFINE_implication(track_field_types, track_fields) |
217 DEFINE_implication(track_field_types, track_heap_object_fields) | 217 DEFINE_implication(track_field_types, track_heap_object_fields) |
218 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") | 218 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") |
219 DEFINE_bool(vector_ics, true, "support vector-based ics") | |
Toon Verwaest
2014/07/18 09:52:16
false?
| |
219 | 220 |
220 // Flags for optimization types. | 221 // Flags for optimization types. |
221 DEFINE_bool(optimize_for_size, false, | 222 DEFINE_bool(optimize_for_size, false, |
222 "Enables optimizations which favor memory size over execution " | 223 "Enables optimizations which favor memory size over execution " |
223 "speed.") | 224 "speed.") |
224 | 225 |
225 // Flags for data representation optimizations | 226 // Flags for data representation optimizations |
226 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 227 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
227 DEFINE_bool(string_slices, true, "use string slices") | 228 DEFINE_bool(string_slices, true, "use string slices") |
228 | 229 |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
914 #undef DEFINE_ALIAS_float | 915 #undef DEFINE_ALIAS_float |
915 #undef DEFINE_ALIAS_args | 916 #undef DEFINE_ALIAS_args |
916 | 917 |
917 #undef FLAG_MODE_DECLARE | 918 #undef FLAG_MODE_DECLARE |
918 #undef FLAG_MODE_DEFINE | 919 #undef FLAG_MODE_DEFINE |
919 #undef FLAG_MODE_DEFINE_DEFAULTS | 920 #undef FLAG_MODE_DEFINE_DEFAULTS |
920 #undef FLAG_MODE_META | 921 #undef FLAG_MODE_META |
921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
922 | 923 |
923 #undef COMMA | 924 #undef COMMA |
OLD | NEW |