| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // Flags for experimental implementation features. | 166 // Flags for experimental implementation features. |
| 167 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 167 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 168 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 168 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 169 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 169 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
| 170 "generate array elements transition stubs") | 170 "generate array elements transition stubs") |
| 171 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 171 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " |
| 172 "generate keyed store stubs") | 172 "generate keyed store stubs") |
| 173 DEFINE_bool(clever_optimizations, | 173 DEFINE_bool(clever_optimizations, |
| 174 true, | 174 true, |
| 175 "Optimize object size, Array shift, DOM strings and string +") | 175 "Optimize object size, Array shift, DOM strings and string +") |
| 176 DEFINE_bool(pretenure_literals, false, "allocate literals in old space") | 176 DEFINE_bool(pretenure_literals, true, "allocate literals in old space") |
| 177 | 177 |
| 178 // Flags for data representation optimizations | 178 // Flags for data representation optimizations |
| 179 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 179 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 180 DEFINE_bool(string_slices, true, "use string slices") | 180 DEFINE_bool(string_slices, true, "use string slices") |
| 181 | 181 |
| 182 // Flags for Crankshaft. | 182 // Flags for Crankshaft. |
| 183 DEFINE_bool(crankshaft, true, "use crankshaft") | 183 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 184 DEFINE_string(hydrogen_filter, "", "optimization filter") | 184 DEFINE_string(hydrogen_filter, "", "optimization filter") |
| 185 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 185 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
| 186 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 186 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 #undef DEFINE_bool | 756 #undef DEFINE_bool |
| 757 #undef DEFINE_int | 757 #undef DEFINE_int |
| 758 #undef DEFINE_string | 758 #undef DEFINE_string |
| 759 #undef DEFINE_implication | 759 #undef DEFINE_implication |
| 760 | 760 |
| 761 #undef FLAG_MODE_DECLARE | 761 #undef FLAG_MODE_DECLARE |
| 762 #undef FLAG_MODE_DEFINE | 762 #undef FLAG_MODE_DEFINE |
| 763 #undef FLAG_MODE_DEFINE_DEFAULTS | 763 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 764 #undef FLAG_MODE_META | 764 #undef FLAG_MODE_META |
| 765 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 765 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |