OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 181 matching lines...) Loading... |
192 DEFINE_bool(clever_optimizations, | 192 DEFINE_bool(clever_optimizations, |
193 true, | 193 true, |
194 "Optimize object size, Array shift, DOM strings and string +") | 194 "Optimize object size, Array shift, DOM strings and string +") |
195 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 195 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
196 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 196 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
197 // support for specific allocation sites. | 197 // support for specific allocation sites. |
198 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 198 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
199 DEFINE_bool(track_fields, true, "track fields with only smi values") | 199 DEFINE_bool(track_fields, true, "track fields with only smi values") |
200 DEFINE_bool(track_double_fields, true, "track fields with double values") | 200 DEFINE_bool(track_double_fields, true, "track fields with double values") |
201 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 201 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 202 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
202 DEFINE_implication(track_double_fields, track_fields) | 203 DEFINE_implication(track_double_fields, track_fields) |
203 DEFINE_implication(track_heap_object_fields, track_fields) | 204 DEFINE_implication(track_heap_object_fields, track_fields) |
| 205 DEFINE_implication(track_computed_fields, track_fields) |
204 | 206 |
205 // Flags for data representation optimizations | 207 // Flags for data representation optimizations |
206 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 208 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
207 DEFINE_bool(string_slices, true, "use string slices") | 209 DEFINE_bool(string_slices, true, "use string slices") |
208 | 210 |
209 // Flags for Crankshaft. | 211 // Flags for Crankshaft. |
210 DEFINE_bool(crankshaft, true, "use crankshaft") | 212 DEFINE_bool(crankshaft, true, "use crankshaft") |
211 DEFINE_string(hydrogen_filter, "", "optimization filter") | 213 DEFINE_string(hydrogen_filter, "", "optimization filter") |
212 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 214 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
213 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 215 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
(...skipping 578 matching lines...) Loading... |
792 #undef DEFINE_bool | 794 #undef DEFINE_bool |
793 #undef DEFINE_int | 795 #undef DEFINE_int |
794 #undef DEFINE_string | 796 #undef DEFINE_string |
795 #undef DEFINE_implication | 797 #undef DEFINE_implication |
796 | 798 |
797 #undef FLAG_MODE_DECLARE | 799 #undef FLAG_MODE_DECLARE |
798 #undef FLAG_MODE_DEFINE | 800 #undef FLAG_MODE_DEFINE |
799 #undef FLAG_MODE_DEFINE_DEFAULTS | 801 #undef FLAG_MODE_DEFINE_DEFAULTS |
800 #undef FLAG_MODE_META | 802 #undef FLAG_MODE_META |
801 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 803 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |