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...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 DEFINE_implication(es_staging, harmony_maths) | 183 DEFINE_implication(es_staging, harmony_maths) |
184 DEFINE_implication(es_staging, harmony_symbols) | 184 DEFINE_implication(es_staging, harmony_symbols) |
185 | 185 |
186 // Flags for experimental implementation features. | 186 // Flags for experimental implementation features. |
187 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 187 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
188 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 188 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
189 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 189 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
190 "use optimizing compiler to generate keyed dictionary load stubs") | 190 "use optimizing compiler to generate keyed dictionary load stubs") |
191 DEFINE_bool(clever_optimizations, true, | 191 DEFINE_bool(clever_optimizations, true, |
192 "Optimize object size, Array shift, DOM strings and string +") | 192 "Optimize object size, Array shift, DOM strings and string +") |
193 DEFINE_bool(pretenuring, true, "allocate objects in old space") | |
194 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 193 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
195 // support for specific allocation sites. | 194 // support for specific allocation sites. |
196 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 195 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
197 DEFINE_bool(allocation_site_pretenuring, true, | 196 DEFINE_bool(allocation_site_pretenuring, true, |
198 "pretenure with allocation sites") | 197 "pretenure with allocation sites") |
199 DEFINE_bool(trace_pretenuring, false, | 198 DEFINE_bool(trace_pretenuring, false, |
200 "trace pretenuring decisions of HAllocate instructions") | 199 "trace pretenuring decisions of HAllocate instructions") |
201 DEFINE_bool(trace_pretenuring_statistics, false, | 200 DEFINE_bool(trace_pretenuring_statistics, false, |
202 "trace allocation site pretenuring statistics") | 201 "trace allocation site pretenuring statistics") |
203 DEFINE_bool(track_fields, true, "track fields with only smi values") | 202 DEFINE_bool(track_fields, true, "track fields with only smi values") |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 #undef DEFINE_ALIAS_float | 891 #undef DEFINE_ALIAS_float |
893 #undef DEFINE_ALIAS_args | 892 #undef DEFINE_ALIAS_args |
894 | 893 |
895 #undef FLAG_MODE_DECLARE | 894 #undef FLAG_MODE_DECLARE |
896 #undef FLAG_MODE_DEFINE | 895 #undef FLAG_MODE_DEFINE |
897 #undef FLAG_MODE_DEFINE_DEFAULTS | 896 #undef FLAG_MODE_DEFINE_DEFAULTS |
898 #undef FLAG_MODE_META | 897 #undef FLAG_MODE_META |
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
900 | 899 |
901 #undef COMMA | 900 #undef COMMA |
OLD | NEW |