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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 DEFINE_implication(harmony, harmony_iteration) | 176 DEFINE_implication(harmony, harmony_iteration) |
177 DEFINE_implication(harmony, harmony_numeric_literals) | 177 DEFINE_implication(harmony, harmony_numeric_literals) |
178 DEFINE_implication(harmony, harmony_strings) | 178 DEFINE_implication(harmony, harmony_strings) |
179 DEFINE_implication(harmony, harmony_arrays) | 179 DEFINE_implication(harmony, harmony_arrays) |
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 | 182 |
183 DEFINE_implication(harmony, es_staging) | 183 DEFINE_implication(harmony, es_staging) |
184 DEFINE_implication(es_staging, harmony_maths) | 184 DEFINE_implication(es_staging, harmony_maths) |
185 DEFINE_implication(es_staging, harmony_symbols) | 185 DEFINE_implication(es_staging, harmony_symbols) |
| 186 DEFINE_implication(es_staging, harmony_collections) |
186 | 187 |
187 // Flags for experimental implementation features. | 188 // Flags for experimental implementation features. |
188 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 189 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
189 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 190 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
190 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 191 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
191 "use optimizing compiler to generate keyed dictionary load stubs") | 192 "use optimizing compiler to generate keyed dictionary load stubs") |
192 DEFINE_bool(clever_optimizations, true, | 193 DEFINE_bool(clever_optimizations, true, |
193 "Optimize object size, Array shift, DOM strings and string +") | 194 "Optimize object size, Array shift, DOM strings and string +") |
194 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 195 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
195 // support for specific allocation sites. | 196 // support for specific allocation sites. |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 #undef DEFINE_ALIAS_float | 893 #undef DEFINE_ALIAS_float |
893 #undef DEFINE_ALIAS_args | 894 #undef DEFINE_ALIAS_args |
894 | 895 |
895 #undef FLAG_MODE_DECLARE | 896 #undef FLAG_MODE_DECLARE |
896 #undef FLAG_MODE_DEFINE | 897 #undef FLAG_MODE_DEFINE |
897 #undef FLAG_MODE_DEFINE_DEFAULTS | 898 #undef FLAG_MODE_DEFINE_DEFAULTS |
898 #undef FLAG_MODE_META | 899 #undef FLAG_MODE_META |
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 900 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
900 | 901 |
901 #undef COMMA | 902 #undef COMMA |
OLD | NEW |