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 172 matching lines...) Loading... |
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 DEFINE_implication(es_staging, harmony_collections) |
187 | 187 |
188 // Flags for experimental implementation features. | 188 // Flags for experimental implementation features. |
189 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 189 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
190 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") |
191 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 191 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
192 "use optimizing compiler to generate keyed dictionary load stubs") | 192 "use optimizing compiler to generate keyed dictionary load stubs") |
| 193 DEFINE_bool(compiled_keyed_generic_loads, false, |
| 194 "use optimizing compiler to generate keyed generic load stubs") |
193 DEFINE_bool(clever_optimizations, true, | 195 DEFINE_bool(clever_optimizations, true, |
194 "Optimize object size, Array shift, DOM strings and string +") | 196 "Optimize object size, Array shift, DOM strings and string +") |
195 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 197 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
196 // support for specific allocation sites. | 198 // support for specific allocation sites. |
197 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 199 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
198 DEFINE_bool(allocation_site_pretenuring, true, | 200 DEFINE_bool(allocation_site_pretenuring, true, |
199 "pretenure with allocation sites") | 201 "pretenure with allocation sites") |
200 DEFINE_bool(trace_pretenuring, false, | 202 DEFINE_bool(trace_pretenuring, false, |
201 "trace pretenuring decisions of HAllocate instructions") | 203 "trace pretenuring decisions of HAllocate instructions") |
202 DEFINE_bool(trace_pretenuring_statistics, false, | 204 DEFINE_bool(trace_pretenuring_statistics, false, |
(...skipping 687 matching lines...) Loading... |
890 #undef DEFINE_ALIAS_float | 892 #undef DEFINE_ALIAS_float |
891 #undef DEFINE_ALIAS_args | 893 #undef DEFINE_ALIAS_args |
892 | 894 |
893 #undef FLAG_MODE_DECLARE | 895 #undef FLAG_MODE_DECLARE |
894 #undef FLAG_MODE_DEFINE | 896 #undef FLAG_MODE_DEFINE |
895 #undef FLAG_MODE_DEFINE_DEFAULTS | 897 #undef FLAG_MODE_DEFINE_DEFAULTS |
896 #undef FLAG_MODE_META | 898 #undef FLAG_MODE_META |
897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 899 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
898 | 900 |
899 #undef COMMA | 901 #undef COMMA |
OLD | NEW |