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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 DEFINE_IMPLICATION(harmony, harmony_strings) | 171 DEFINE_IMPLICATION(harmony, harmony_strings) |
172 DEFINE_IMPLICATION(harmony, harmony_arrays) | 172 DEFINE_IMPLICATION(harmony, harmony_arrays) |
173 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) | 173 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) |
174 DEFINE_IMPLICATION(harmony, harmony_classes) | 174 DEFINE_IMPLICATION(harmony, harmony_classes) |
175 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) | 175 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) |
176 | 176 |
177 DEFINE_IMPLICATION(harmony, es_staging) | 177 DEFINE_IMPLICATION(harmony, es_staging) |
178 DEFINE_IMPLICATION(es_staging, harmony_generators) | 178 DEFINE_IMPLICATION(es_staging, harmony_generators) |
179 | 179 |
180 // Flags for experimental implementation features. | 180 // Flags for experimental implementation features. |
181 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, | |
182 "use optimizing compiler to generate keyed dictionary load stubs") | |
183 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 181 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
184 "use optimizing compiler to generate keyed generic load stubs") | 182 "use optimizing compiler to generate keyed generic load stubs") |
185 DEFINE_BOOL(clever_optimizations, true, | 183 DEFINE_BOOL(clever_optimizations, true, |
186 "Optimize object size, Array shift, DOM strings and string +") | 184 "Optimize object size, Array shift, DOM strings and string +") |
187 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 185 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
188 // support for specific allocation sites. | 186 // support for specific allocation sites. |
189 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 187 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
190 DEFINE_BOOL(allocation_site_pretenuring, true, | 188 DEFINE_BOOL(allocation_site_pretenuring, true, |
191 "pretenure with allocation sites") | 189 "pretenure with allocation sites") |
192 DEFINE_BOOL(trace_pretenuring, false, | 190 DEFINE_BOOL(trace_pretenuring, false, |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 #undef DEFINE_ALIAS_FLOAT | 927 #undef DEFINE_ALIAS_FLOAT |
930 #undef DEFINE_ALIAS_ARGS | 928 #undef DEFINE_ALIAS_ARGS |
931 | 929 |
932 #undef FLAG_MODE_DECLARE | 930 #undef FLAG_MODE_DECLARE |
933 #undef FLAG_MODE_DEFINE | 931 #undef FLAG_MODE_DEFINE |
934 #undef FLAG_MODE_DEFINE_DEFAULTS | 932 #undef FLAG_MODE_DEFINE_DEFAULTS |
935 #undef FLAG_MODE_META | 933 #undef FLAG_MODE_META |
936 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 934 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
937 | 935 |
938 #undef COMMA | 936 #undef COMMA |
OLD | NEW |