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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 DEFINE_implication(harmony, es_staging) | 184 DEFINE_implication(harmony, es_staging) |
185 DEFINE_implication(es_staging, harmony_maths) | 185 DEFINE_implication(es_staging, harmony_maths) |
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") | 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") | 191 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
192 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 192 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
193 "use optimizing compiler to generate keyed dictionary load stubs") | 193 "use optimizing compiler to generate keyed dictionary load stubs") |
194 DEFINE_bool(compiled_keyed_generic_loads, true, | 194 DEFINE_bool(compiled_keyed_generic_loads, false, |
195 "use optimizing compiler to generate keyed generic load stubs") | 195 "use optimizing compiler to generate keyed generic load stubs") |
196 DEFINE_bool(clever_optimizations, true, | 196 DEFINE_bool(clever_optimizations, true, |
197 "Optimize object size, Array shift, DOM strings and string +") | 197 "Optimize object size, Array shift, DOM strings and string +") |
198 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 198 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
199 // support for specific allocation sites. | 199 // support for specific allocation sites. |
200 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 200 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
201 DEFINE_bool(allocation_site_pretenuring, true, | 201 DEFINE_bool(allocation_site_pretenuring, true, |
202 "pretenure with allocation sites") | 202 "pretenure with allocation sites") |
203 DEFINE_bool(trace_pretenuring, false, | 203 DEFINE_bool(trace_pretenuring, false, |
204 "trace pretenuring decisions of HAllocate instructions") | 204 "trace pretenuring decisions of HAllocate instructions") |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 #undef DEFINE_ALIAS_float | 893 #undef DEFINE_ALIAS_float |
894 #undef DEFINE_ALIAS_args | 894 #undef DEFINE_ALIAS_args |
895 | 895 |
896 #undef FLAG_MODE_DECLARE | 896 #undef FLAG_MODE_DECLARE |
897 #undef FLAG_MODE_DEFINE | 897 #undef FLAG_MODE_DEFINE |
898 #undef FLAG_MODE_DEFINE_DEFAULTS | 898 #undef FLAG_MODE_DEFINE_DEFAULTS |
899 #undef FLAG_MODE_META | 899 #undef FLAG_MODE_META |
900 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 900 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
901 | 901 |
902 #undef COMMA | 902 #undef COMMA |
OLD | NEW |