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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 DEFINE_BOOL(allocation_site_pretenuring, true, | 267 DEFINE_BOOL(allocation_site_pretenuring, true, |
268 "pretenure with allocation sites") | 268 "pretenure with allocation sites") |
269 DEFINE_BOOL(trace_pretenuring, false, | 269 DEFINE_BOOL(trace_pretenuring, false, |
270 "trace pretenuring decisions of HAllocate instructions") | 270 "trace pretenuring decisions of HAllocate instructions") |
271 DEFINE_BOOL(trace_pretenuring_statistics, false, | 271 DEFINE_BOOL(trace_pretenuring_statistics, false, |
272 "trace allocation site pretenuring statistics") | 272 "trace allocation site pretenuring statistics") |
273 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 273 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
274 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 274 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
275 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 275 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
276 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 276 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
277 DEFINE_BOOL(harmony_instanceof_opt, false, "optimize ES6 instanceof support") | 277 DEFINE_BOOL(harmony_instanceof_opt, true, "optimize ES6 instanceof support") |
278 DEFINE_IMPLICATION(track_double_fields, track_fields) | 278 DEFINE_IMPLICATION(track_double_fields, track_fields) |
279 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 279 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
280 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 280 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
281 DEFINE_BOOL(track_field_types, true, "track field types") | 281 DEFINE_BOOL(track_field_types, true, "track field types") |
282 DEFINE_IMPLICATION(track_field_types, track_fields) | 282 DEFINE_IMPLICATION(track_field_types, track_fields) |
283 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 283 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
284 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 284 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
285 | 285 |
286 // Flags for optimization types. | 286 // Flags for optimization types. |
287 DEFINE_BOOL(optimize_for_size, false, | 287 DEFINE_BOOL(optimize_for_size, false, |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 #undef DEFINE_ALIAS_FLOAT | 1169 #undef DEFINE_ALIAS_FLOAT |
1170 #undef DEFINE_ALIAS_ARGS | 1170 #undef DEFINE_ALIAS_ARGS |
1171 | 1171 |
1172 #undef FLAG_MODE_DECLARE | 1172 #undef FLAG_MODE_DECLARE |
1173 #undef FLAG_MODE_DEFINE | 1173 #undef FLAG_MODE_DEFINE |
1174 #undef FLAG_MODE_DEFINE_DEFAULTS | 1174 #undef FLAG_MODE_DEFINE_DEFAULTS |
1175 #undef FLAG_MODE_META | 1175 #undef FLAG_MODE_META |
1176 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1176 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1177 | 1177 |
1178 #undef COMMA | 1178 #undef COMMA |
OLD | NEW |