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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 // Feature dependencies. | 212 // Feature dependencies. |
213 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) | 213 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) |
214 DEFINE_IMPLICATION(harmony_classes, harmony_scoping) | 214 DEFINE_IMPLICATION(harmony_classes, harmony_scoping) |
215 DEFINE_IMPLICATION(harmony_classes, harmony_object_literals) | 215 DEFINE_IMPLICATION(harmony_classes, harmony_object_literals) |
216 | 216 |
217 | 217 |
218 // Flags for experimental implementation features. | 218 // Flags for experimental implementation features. |
219 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 219 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
220 "use optimizing compiler to generate keyed generic load stubs") | 220 "use optimizing compiler to generate keyed generic load stubs") |
221 DEFINE_BOOL(clever_optimizations, true, | |
222 "Optimize object size, Array shift, DOM strings and string +") | |
223 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 221 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
224 // support for specific allocation sites. | 222 // support for specific allocation sites. |
225 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 223 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
226 DEFINE_BOOL(allocation_site_pretenuring, true, | 224 DEFINE_BOOL(allocation_site_pretenuring, true, |
227 "pretenure with allocation sites") | 225 "pretenure with allocation sites") |
228 DEFINE_BOOL(trace_pretenuring, false, | 226 DEFINE_BOOL(trace_pretenuring, false, |
229 "trace pretenuring decisions of HAllocate instructions") | 227 "trace pretenuring decisions of HAllocate instructions") |
230 DEFINE_BOOL(trace_pretenuring_statistics, false, | 228 DEFINE_BOOL(trace_pretenuring_statistics, false, |
231 "trace allocation site pretenuring statistics") | 229 "trace allocation site pretenuring statistics") |
232 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 230 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 #undef DEFINE_ALIAS_FLOAT | 976 #undef DEFINE_ALIAS_FLOAT |
979 #undef DEFINE_ALIAS_ARGS | 977 #undef DEFINE_ALIAS_ARGS |
980 | 978 |
981 #undef FLAG_MODE_DECLARE | 979 #undef FLAG_MODE_DECLARE |
982 #undef FLAG_MODE_DEFINE | 980 #undef FLAG_MODE_DEFINE |
983 #undef FLAG_MODE_DEFINE_DEFAULTS | 981 #undef FLAG_MODE_DEFINE_DEFAULTS |
984 #undef FLAG_MODE_META | 982 #undef FLAG_MODE_META |
985 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 983 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
986 | 984 |
987 #undef COMMA | 985 #undef COMMA |
OLD | NEW |