| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) | 246 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) |
| 247 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) | 247 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) |
| 248 | 248 |
| 249 // Destructuring shares too much parsing architecture with default parameters | 249 // Destructuring shares too much parsing architecture with default parameters |
| 250 // to be enabled on its own. | 250 // to be enabled on its own. |
| 251 DEFINE_IMPLICATION(harmony_destructuring, harmony_default_parameters) | 251 DEFINE_IMPLICATION(harmony_destructuring, harmony_default_parameters) |
| 252 | 252 |
| 253 // Flags for experimental implementation features. | 253 // Flags for experimental implementation features. |
| 254 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 254 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
| 255 "use optimizing compiler to generate keyed generic load stubs") | 255 "use optimizing compiler to generate keyed generic load stubs") |
| 256 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | |
| 257 // support for specific allocation sites. | |
| 258 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | |
| 259 DEFINE_BOOL(allocation_site_pretenuring, true, | 256 DEFINE_BOOL(allocation_site_pretenuring, true, |
| 260 "pretenure with allocation sites") | 257 "pretenure with allocation sites") |
| 261 DEFINE_BOOL(trace_pretenuring, false, | 258 DEFINE_BOOL(trace_pretenuring, false, |
| 262 "trace pretenuring decisions of HAllocate instructions") | 259 "trace pretenuring decisions of HAllocate instructions") |
| 263 DEFINE_BOOL(trace_pretenuring_statistics, false, | 260 DEFINE_BOOL(trace_pretenuring_statistics, false, |
| 264 "trace allocation site pretenuring statistics") | 261 "trace allocation site pretenuring statistics") |
| 265 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 262 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
| 266 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 263 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
| 267 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 264 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
| 268 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 265 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 #undef DEFINE_ALIAS_FLOAT | 1101 #undef DEFINE_ALIAS_FLOAT |
| 1105 #undef DEFINE_ALIAS_ARGS | 1102 #undef DEFINE_ALIAS_ARGS |
| 1106 | 1103 |
| 1107 #undef FLAG_MODE_DECLARE | 1104 #undef FLAG_MODE_DECLARE |
| 1108 #undef FLAG_MODE_DEFINE | 1105 #undef FLAG_MODE_DEFINE |
| 1109 #undef FLAG_MODE_DEFINE_DEFAULTS | 1106 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1110 #undef FLAG_MODE_META | 1107 #undef FLAG_MODE_META |
| 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1112 | 1109 |
| 1113 #undef COMMA | 1110 #undef COMMA |
| OLD | NEW |