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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 262 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
263 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 263 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
264 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 264 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
265 DEFINE_IMPLICATION(track_double_fields, track_fields) | 265 DEFINE_IMPLICATION(track_double_fields, track_fields) |
266 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 266 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
267 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 267 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
268 DEFINE_BOOL(track_field_types, true, "track field types") | 268 DEFINE_BOOL(track_field_types, true, "track field types") |
269 DEFINE_IMPLICATION(track_field_types, track_fields) | 269 DEFINE_IMPLICATION(track_field_types, track_fields) |
270 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 270 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
271 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 271 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
272 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, | 272 DEFINE_BOOL(mark_shared_functions_for_tier_up, false, |
273 "mark shared functions for tier up") | 273 "mark shared functions for tier up") |
274 | 274 |
275 // Flags for optimization types. | 275 // Flags for optimization types. |
276 DEFINE_BOOL(optimize_for_size, false, | 276 DEFINE_BOOL(optimize_for_size, false, |
277 "Enables optimizations which favor memory size over execution " | 277 "Enables optimizations which favor memory size over execution " |
278 "speed") | 278 "speed") |
279 | 279 |
280 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 280 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
281 | 281 |
282 // Flags for data representation optimizations | 282 // Flags for data representation optimizations |
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 #undef DEFINE_ALIAS_FLOAT | 1218 #undef DEFINE_ALIAS_FLOAT |
1219 #undef DEFINE_ALIAS_ARGS | 1219 #undef DEFINE_ALIAS_ARGS |
1220 | 1220 |
1221 #undef FLAG_MODE_DECLARE | 1221 #undef FLAG_MODE_DECLARE |
1222 #undef FLAG_MODE_DEFINE | 1222 #undef FLAG_MODE_DEFINE |
1223 #undef FLAG_MODE_DEFINE_DEFAULTS | 1223 #undef FLAG_MODE_DEFINE_DEFAULTS |
1224 #undef FLAG_MODE_META | 1224 #undef FLAG_MODE_META |
1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1226 | 1226 |
1227 #undef COMMA | 1227 #undef COMMA |
OLD | NEW |