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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) | 180 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) |
181 DEFINE_IMPLICATION(harmony_collections, harmony_symbols) | 181 DEFINE_IMPLICATION(harmony_collections, harmony_symbols) |
182 DEFINE_IMPLICATION(harmony_generators, harmony_symbols) | 182 DEFINE_IMPLICATION(harmony_generators, harmony_symbols) |
183 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols) | 183 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols) |
184 | 184 |
185 DEFINE_IMPLICATION(harmony, es_staging) | 185 DEFINE_IMPLICATION(harmony, es_staging) |
186 DEFINE_IMPLICATION(es_staging, harmony_symbols) | 186 DEFINE_IMPLICATION(es_staging, harmony_symbols) |
187 DEFINE_IMPLICATION(es_staging, harmony_collections) | 187 DEFINE_IMPLICATION(es_staging, harmony_collections) |
188 | 188 |
189 // Flags for experimental implementation features. | 189 // Flags for experimental implementation features. |
190 DEFINE_BOOL(packed_arrays, true, "optimizes arrays that have no holes") | |
191 DEFINE_BOOL(smi_only_arrays, true, "tracks arrays with only smi values") | |
192 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, | 190 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, |
193 "use optimizing compiler to generate keyed dictionary load stubs") | 191 "use optimizing compiler to generate keyed dictionary load stubs") |
194 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 192 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
195 "use optimizing compiler to generate keyed generic load stubs") | 193 "use optimizing compiler to generate keyed generic load stubs") |
196 DEFINE_BOOL(clever_optimizations, true, | 194 DEFINE_BOOL(clever_optimizations, true, |
197 "Optimize object size, Array shift, DOM strings and string +") | 195 "Optimize object size, Array shift, DOM strings and string +") |
198 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 196 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
199 // support for specific allocation sites. | 197 // support for specific allocation sites. |
200 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 198 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
201 DEFINE_BOOL(allocation_site_pretenuring, true, | 199 DEFINE_BOOL(allocation_site_pretenuring, true, |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 #undef DEFINE_ALIAS_FLOAT | 913 #undef DEFINE_ALIAS_FLOAT |
916 #undef DEFINE_ALIAS_ARGS | 914 #undef DEFINE_ALIAS_ARGS |
917 | 915 |
918 #undef FLAG_MODE_DECLARE | 916 #undef FLAG_MODE_DECLARE |
919 #undef FLAG_MODE_DEFINE | 917 #undef FLAG_MODE_DEFINE |
920 #undef FLAG_MODE_DEFINE_DEFAULTS | 918 #undef FLAG_MODE_DEFINE_DEFAULTS |
921 #undef FLAG_MODE_META | 919 #undef FLAG_MODE_META |
922 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 920 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
923 | 921 |
924 #undef COMMA | 922 #undef COMMA |
OLD | NEW |