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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 201 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
202 // support for specific allocation sites. | 202 // support for specific allocation sites. |
203 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 203 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
204 DEFINE_bool(track_fields, true, "track fields with only smi values") | 204 DEFINE_bool(track_fields, true, "track fields with only smi values") |
205 DEFINE_bool(track_double_fields, true, "track fields with double values") | 205 DEFINE_bool(track_double_fields, true, "track fields with double values") |
206 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 206 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
207 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 207 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
208 DEFINE_implication(track_double_fields, track_fields) | 208 DEFINE_implication(track_double_fields, track_fields) |
209 DEFINE_implication(track_heap_object_fields, track_fields) | 209 DEFINE_implication(track_heap_object_fields, track_fields) |
210 DEFINE_implication(track_computed_fields, track_fields) | 210 DEFINE_implication(track_computed_fields, track_fields) |
| 211 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") |
211 | 212 |
212 // Flags for data representation optimizations | 213 // Flags for data representation optimizations |
213 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 214 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
214 DEFINE_bool(string_slices, true, "use string slices") | 215 DEFINE_bool(string_slices, true, "use string slices") |
215 | 216 |
216 // Flags for Crankshaft. | 217 // Flags for Crankshaft. |
217 DEFINE_bool(crankshaft, true, "use crankshaft") | 218 DEFINE_bool(crankshaft, true, "use crankshaft") |
218 DEFINE_string(hydrogen_filter, "*", "optimization filter") | 219 DEFINE_string(hydrogen_filter, "*", "optimization filter") |
219 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 220 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
220 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 221 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 #undef DEFINE_bool | 811 #undef DEFINE_bool |
811 #undef DEFINE_int | 812 #undef DEFINE_int |
812 #undef DEFINE_string | 813 #undef DEFINE_string |
813 #undef DEFINE_implication | 814 #undef DEFINE_implication |
814 | 815 |
815 #undef FLAG_MODE_DECLARE | 816 #undef FLAG_MODE_DECLARE |
816 #undef FLAG_MODE_DEFINE | 817 #undef FLAG_MODE_DEFINE |
817 #undef FLAG_MODE_DEFINE_DEFAULTS | 818 #undef FLAG_MODE_DEFINE_DEFAULTS |
818 #undef FLAG_MODE_META | 819 #undef FLAG_MODE_META |
819 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 820 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |