| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 DEFINE_bool(harmony_collections, false, | 143 DEFINE_bool(harmony_collections, false, |
| 144 "enable harmony collections (sets, maps, and weak maps)") | 144 "enable harmony collections (sets, maps, and weak maps)") |
| 145 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 145 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
| 146 DEFINE_implication(harmony, harmony_scoping) | 146 DEFINE_implication(harmony, harmony_scoping) |
| 147 DEFINE_implication(harmony, harmony_modules) | 147 DEFINE_implication(harmony, harmony_modules) |
| 148 DEFINE_implication(harmony, harmony_proxies) | 148 DEFINE_implication(harmony, harmony_proxies) |
| 149 DEFINE_implication(harmony, harmony_collections) | 149 DEFINE_implication(harmony, harmony_collections) |
| 150 DEFINE_implication(harmony_modules, harmony_scoping) | 150 DEFINE_implication(harmony_modules, harmony_scoping) |
| 151 | 151 |
| 152 // Flags for experimental implementation features. | 152 // Flags for experimental implementation features. |
| 153 DEFINE_bool(packed_arrays, false, "optimizes arrays that have no holes") |
| 153 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 154 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 154 DEFINE_bool(clever_optimizations, | 155 DEFINE_bool(clever_optimizations, |
| 155 true, | 156 true, |
| 156 "Optimize object size, Array shift, DOM strings and string +") | 157 "Optimize object size, Array shift, DOM strings and string +") |
| 157 | 158 |
| 158 // Flags for data representation optimizations | 159 // Flags for data representation optimizations |
| 159 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 160 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 160 DEFINE_bool(string_slices, true, "use string slices") | 161 DEFINE_bool(string_slices, true, "use string slices") |
| 161 | 162 |
| 162 // Flags for Crankshaft. | 163 // Flags for Crankshaft. |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 #undef DEFINE_bool | 654 #undef DEFINE_bool |
| 654 #undef DEFINE_int | 655 #undef DEFINE_int |
| 655 #undef DEFINE_string | 656 #undef DEFINE_string |
| 656 #undef DEFINE_implication | 657 #undef DEFINE_implication |
| 657 | 658 |
| 658 #undef FLAG_MODE_DECLARE | 659 #undef FLAG_MODE_DECLARE |
| 659 #undef FLAG_MODE_DEFINE | 660 #undef FLAG_MODE_DEFINE |
| 660 #undef FLAG_MODE_DEFINE_DEFAULTS | 661 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 661 #undef FLAG_MODE_META | 662 #undef FLAG_MODE_META |
| 662 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 663 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |