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