| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 DEFINE_bool(clever_optimizations, true, | 217 DEFINE_bool(clever_optimizations, true, |
| 218 "Optimize object size, Array shift, DOM strings and string +") | 218 "Optimize object size, Array shift, DOM strings and string +") |
| 219 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 219 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
| 220 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 220 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
| 221 // support for specific allocation sites. | 221 // support for specific allocation sites. |
| 222 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 222 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
| 223 DEFINE_bool(allocation_site_pretenuring, true, | 223 DEFINE_bool(allocation_site_pretenuring, true, |
| 224 "pretenure with allocation sites") | 224 "pretenure with allocation sites") |
| 225 DEFINE_bool(trace_pretenuring, false, | 225 DEFINE_bool(trace_pretenuring, false, |
| 226 "trace pretenuring decisions of HAllocate instructions") | 226 "trace pretenuring decisions of HAllocate instructions") |
| 227 DEFINE_bool(trace_pretenuring_statistics, false, |
| 228 "trace allocation site pretenuring statistics") |
| 227 DEFINE_bool(track_fields, true, "track fields with only smi values") | 229 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 228 DEFINE_bool(track_double_fields, true, "track fields with double values") | 230 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| 229 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 231 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 230 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 232 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
| 231 DEFINE_implication(track_double_fields, track_fields) | 233 DEFINE_implication(track_double_fields, track_fields) |
| 232 DEFINE_implication(track_heap_object_fields, track_fields) | 234 DEFINE_implication(track_heap_object_fields, track_fields) |
| 233 DEFINE_implication(track_computed_fields, track_fields) | 235 DEFINE_implication(track_computed_fields, track_fields) |
| 234 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") | 236 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") |
| 235 | 237 |
| 236 // Flags for optimization types. | 238 // Flags for optimization types. |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 #undef DEFINE_ALIAS_float | 893 #undef DEFINE_ALIAS_float |
| 892 #undef DEFINE_ALIAS_args | 894 #undef DEFINE_ALIAS_args |
| 893 | 895 |
| 894 #undef FLAG_MODE_DECLARE | 896 #undef FLAG_MODE_DECLARE |
| 895 #undef FLAG_MODE_DEFINE | 897 #undef FLAG_MODE_DEFINE |
| 896 #undef FLAG_MODE_DEFINE_DEFAULTS | 898 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 897 #undef FLAG_MODE_META | 899 #undef FLAG_MODE_META |
| 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 900 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 899 | 901 |
| 900 #undef COMMA | 902 #undef COMMA |
| OLD | NEW |