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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 DEFINE_IMPLICATION(track_double_fields, track_fields) | 277 DEFINE_IMPLICATION(track_double_fields, track_fields) |
278 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 278 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
279 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 279 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
280 DEFINE_BOOL(track_field_types, true, "track field types") | 280 DEFINE_BOOL(track_field_types, true, "track field types") |
281 DEFINE_IMPLICATION(track_field_types, track_fields) | 281 DEFINE_IMPLICATION(track_field_types, track_fields) |
282 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 282 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
283 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 283 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
284 DEFINE_BOOL(mark_shared_functions_for_tier_up, false, | 284 DEFINE_BOOL(mark_shared_functions_for_tier_up, false, |
285 "mark shared functions for tier up") | 285 "mark shared functions for tier up") |
286 | 286 |
| 287 // Flags for strongly rooting literal arrays in the feedback vector. |
| 288 DEFINE_BOOL(trace_strong_rooted_literals, false, "trace literal rooting") |
| 289 |
287 // Flags for optimization types. | 290 // Flags for optimization types. |
288 DEFINE_BOOL(optimize_for_size, false, | 291 DEFINE_BOOL(optimize_for_size, false, |
289 "Enables optimizations which favor memory size over execution " | 292 "Enables optimizations which favor memory size over execution " |
290 "speed") | 293 "speed") |
291 | 294 |
292 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 295 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
293 | 296 |
294 // Flags for data representation optimizations | 297 // Flags for data representation optimizations |
295 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 298 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
296 DEFINE_BOOL(string_slices, true, "use string slices") | 299 DEFINE_BOOL(string_slices, true, "use string slices") |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 #undef DEFINE_ALIAS_FLOAT | 1277 #undef DEFINE_ALIAS_FLOAT |
1275 #undef DEFINE_ALIAS_ARGS | 1278 #undef DEFINE_ALIAS_ARGS |
1276 | 1279 |
1277 #undef FLAG_MODE_DECLARE | 1280 #undef FLAG_MODE_DECLARE |
1278 #undef FLAG_MODE_DEFINE | 1281 #undef FLAG_MODE_DEFINE |
1279 #undef FLAG_MODE_DEFINE_DEFAULTS | 1282 #undef FLAG_MODE_DEFINE_DEFAULTS |
1280 #undef FLAG_MODE_META | 1283 #undef FLAG_MODE_META |
1281 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1284 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1282 | 1285 |
1283 #undef COMMA | 1286 #undef COMMA |
OLD | NEW |