| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 DEFINE_bool(harmony_collections, false, | 163 DEFINE_bool(harmony_collections, false, |
| 164 "enable harmony collections (sets, maps, and weak maps)") | 164 "enable harmony collections (sets, maps, and weak maps)") |
| 165 DEFINE_bool(harmony_observation, false, | 165 DEFINE_bool(harmony_observation, false, |
| 166 "enable harmony object observation (implies harmony collections") | 166 "enable harmony object observation (implies harmony collections") |
| 167 DEFINE_bool(harmony_typed_arrays, false, | 167 DEFINE_bool(harmony_typed_arrays, false, |
| 168 "enable harmony typed arrays") | 168 "enable harmony typed arrays") |
| 169 DEFINE_bool(harmony_array_buffer, false, | 169 DEFINE_bool(harmony_array_buffer, false, |
| 170 "enable harmony array buffer") | 170 "enable harmony array buffer") |
| 171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer) | 171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer) |
| 172 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 172 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
| 173 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
| 173 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 174 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
| 174 DEFINE_implication(harmony, harmony_scoping) | 175 DEFINE_implication(harmony, harmony_scoping) |
| 175 DEFINE_implication(harmony, harmony_modules) | 176 DEFINE_implication(harmony, harmony_modules) |
| 176 DEFINE_implication(harmony, harmony_symbols) | 177 DEFINE_implication(harmony, harmony_symbols) |
| 177 DEFINE_implication(harmony, harmony_proxies) | 178 DEFINE_implication(harmony, harmony_proxies) |
| 178 DEFINE_implication(harmony, harmony_collections) | 179 DEFINE_implication(harmony, harmony_collections) |
| 179 DEFINE_implication(harmony, harmony_observation) | 180 DEFINE_implication(harmony, harmony_observation) |
| 180 DEFINE_implication(harmony, harmony_generators) | 181 DEFINE_implication(harmony, harmony_generators) |
| 182 DEFINE_implication(harmony, harmony_iteration) |
| 181 DEFINE_implication(harmony_modules, harmony_scoping) | 183 DEFINE_implication(harmony_modules, harmony_scoping) |
| 182 DEFINE_implication(harmony_observation, harmony_collections) | 184 DEFINE_implication(harmony_observation, harmony_collections) |
| 183 // TODO[dslomov] add harmony => harmony_typed_arrays | 185 // TODO[dslomov] add harmony => harmony_typed_arrays |
| 184 | 186 |
| 185 // Flags for experimental implementation features. | 187 // Flags for experimental implementation features. |
| 186 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 188 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 187 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 189 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 188 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 190 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
| 189 "generate array elements transition stubs") | 191 "generate array elements transition stubs") |
| 190 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 192 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 #undef DEFINE_bool | 794 #undef DEFINE_bool |
| 793 #undef DEFINE_int | 795 #undef DEFINE_int |
| 794 #undef DEFINE_string | 796 #undef DEFINE_string |
| 795 #undef DEFINE_implication | 797 #undef DEFINE_implication |
| 796 | 798 |
| 797 #undef FLAG_MODE_DECLARE | 799 #undef FLAG_MODE_DECLARE |
| 798 #undef FLAG_MODE_DEFINE | 800 #undef FLAG_MODE_DEFINE |
| 799 #undef FLAG_MODE_DEFINE_DEFAULTS | 801 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 800 #undef FLAG_MODE_META | 802 #undef FLAG_MODE_META |
| 801 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 803 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |