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 "enable harmony modules (implies block scoping)") | 143 "enable harmony modules (implies block scoping)") |
144 DEFINE_bool(harmony_symbols, false, | 144 DEFINE_bool(harmony_symbols, false, |
145 "enable harmony symbols (a.k.a. private names)") | 145 "enable harmony symbols (a.k.a. private names)") |
146 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 146 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
147 DEFINE_bool(harmony_collections, false, | 147 DEFINE_bool(harmony_collections, false, |
148 "enable harmony collections (sets, maps, and weak maps)") | 148 "enable harmony collections (sets, maps, and weak maps)") |
149 DEFINE_bool(harmony_observation, false, | 149 DEFINE_bool(harmony_observation, false, |
150 "enable harmony object observation (implies harmony collections") | 150 "enable harmony object observation (implies harmony collections") |
151 DEFINE_bool(harmony_typed_arrays, false, | 151 DEFINE_bool(harmony_typed_arrays, false, |
152 "enable harmony typed arrays") | 152 "enable harmony typed arrays") |
| 153 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
153 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 154 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
154 DEFINE_implication(harmony, harmony_scoping) | 155 DEFINE_implication(harmony, harmony_scoping) |
155 DEFINE_implication(harmony, harmony_modules) | 156 DEFINE_implication(harmony, harmony_modules) |
156 DEFINE_implication(harmony, harmony_symbols) | 157 DEFINE_implication(harmony, harmony_symbols) |
157 DEFINE_implication(harmony, harmony_proxies) | 158 DEFINE_implication(harmony, harmony_proxies) |
158 DEFINE_implication(harmony, harmony_collections) | 159 DEFINE_implication(harmony, harmony_collections) |
159 DEFINE_implication(harmony, harmony_observation) | 160 DEFINE_implication(harmony, harmony_observation) |
| 161 DEFINE_implication(harmony, harmony_generators) |
160 DEFINE_implication(harmony_modules, harmony_scoping) | 162 DEFINE_implication(harmony_modules, harmony_scoping) |
161 DEFINE_implication(harmony_observation, harmony_collections) | 163 DEFINE_implication(harmony_observation, harmony_collections) |
162 DEFINE_implication(harmony, harmony_typed_arrays) | 164 DEFINE_implication(harmony, harmony_typed_arrays) |
163 | 165 |
164 // Flags for experimental implementation features. | 166 // Flags for experimental implementation features. |
165 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 167 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
166 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") |
167 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 169 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
168 "generate array elements transition stubs") | 170 "generate array elements transition stubs") |
169 DEFINE_bool(compiled_keyed_stores, false, "use optimizing compiler to " | 171 DEFINE_bool(compiled_keyed_stores, false, "use optimizing compiler to " |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 #undef DEFINE_bool | 757 #undef DEFINE_bool |
756 #undef DEFINE_int | 758 #undef DEFINE_int |
757 #undef DEFINE_string | 759 #undef DEFINE_string |
758 #undef DEFINE_implication | 760 #undef DEFINE_implication |
759 | 761 |
760 #undef FLAG_MODE_DECLARE | 762 #undef FLAG_MODE_DECLARE |
761 #undef FLAG_MODE_DEFINE | 763 #undef FLAG_MODE_DEFINE |
762 #undef FLAG_MODE_DEFINE_DEFAULTS | 764 #undef FLAG_MODE_DEFINE_DEFAULTS |
763 #undef FLAG_MODE_META | 765 #undef FLAG_MODE_META |
764 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 766 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |