| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 253 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
| 254 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 254 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
| 255 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 255 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
| 256 DEFINE_IMPLICATION(track_double_fields, track_fields) | 256 DEFINE_IMPLICATION(track_double_fields, track_fields) |
| 257 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 257 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
| 258 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 258 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
| 259 DEFINE_BOOL(track_field_types, true, "track field types") | 259 DEFINE_BOOL(track_field_types, true, "track field types") |
| 260 DEFINE_IMPLICATION(track_field_types, track_fields) | 260 DEFINE_IMPLICATION(track_field_types, track_fields) |
| 261 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 261 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
| 262 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 262 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| 263 DEFINE_BOOL(vector_ics, true, "support vector-based ics") | |
| 264 | 263 |
| 265 // Flags for optimization types. | 264 // Flags for optimization types. |
| 266 DEFINE_BOOL(optimize_for_size, false, | 265 DEFINE_BOOL(optimize_for_size, false, |
| 267 "Enables optimizations which favor memory size over execution " | 266 "Enables optimizations which favor memory size over execution " |
| 268 "speed.") | 267 "speed.") |
| 269 | 268 |
| 270 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 269 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
| 271 | 270 |
| 272 // Flags for data representation optimizations | 271 // Flags for data representation optimizations |
| 273 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 272 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 #undef DEFINE_ALIAS_FLOAT | 1066 #undef DEFINE_ALIAS_FLOAT |
| 1068 #undef DEFINE_ALIAS_ARGS | 1067 #undef DEFINE_ALIAS_ARGS |
| 1069 | 1068 |
| 1070 #undef FLAG_MODE_DECLARE | 1069 #undef FLAG_MODE_DECLARE |
| 1071 #undef FLAG_MODE_DEFINE | 1070 #undef FLAG_MODE_DEFINE |
| 1072 #undef FLAG_MODE_DEFINE_DEFAULTS | 1071 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1073 #undef FLAG_MODE_META | 1072 #undef FLAG_MODE_META |
| 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1073 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1075 | 1074 |
| 1076 #undef COMMA | 1075 #undef COMMA |
| OLD | NEW |