| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 // Flags for experimental implementation features. | 200 // Flags for experimental implementation features. |
| 201 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 201 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 202 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 202 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 203 DEFINE_bool(clever_optimizations, | 203 DEFINE_bool(clever_optimizations, |
| 204 true, | 204 true, |
| 205 "Optimize object size, Array shift, DOM strings and string +") | 205 "Optimize object size, Array shift, DOM strings and string +") |
| 206 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 206 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
| 207 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 207 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
| 208 // support for specific allocation sites. | 208 // support for specific allocation sites. |
| 209 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 209 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
| 210 DEFINE_bool(allocation_site_pretenuring, false, |
| 211 "pretenure with allocation sites") |
| 210 DEFINE_bool(track_fields, true, "track fields with only smi values") | 212 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 211 DEFINE_bool(track_double_fields, true, "track fields with double values") | 213 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| 212 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 214 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 213 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 215 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
| 214 DEFINE_implication(track_double_fields, track_fields) | 216 DEFINE_implication(track_double_fields, track_fields) |
| 215 DEFINE_implication(track_heap_object_fields, track_fields) | 217 DEFINE_implication(track_heap_object_fields, track_fields) |
| 216 DEFINE_implication(track_computed_fields, track_fields) | 218 DEFINE_implication(track_computed_fields, track_fields) |
| 217 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") | 219 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") |
| 218 | 220 |
| 219 // Flags for optimization types. | 221 // Flags for optimization types. |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 #undef DEFINE_ALIAS_float | 866 #undef DEFINE_ALIAS_float |
| 865 #undef DEFINE_ALIAS_args | 867 #undef DEFINE_ALIAS_args |
| 866 | 868 |
| 867 #undef FLAG_MODE_DECLARE | 869 #undef FLAG_MODE_DECLARE |
| 868 #undef FLAG_MODE_DEFINE | 870 #undef FLAG_MODE_DEFINE |
| 869 #undef FLAG_MODE_DEFINE_DEFAULTS | 871 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 870 #undef FLAG_MODE_META | 872 #undef FLAG_MODE_META |
| 871 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 873 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 872 | 874 |
| 873 #undef COMMA | 875 #undef COMMA |
| OLD | NEW |