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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 DEFINE_bool(harmony_collections, false, | 175 DEFINE_bool(harmony_collections, false, |
176 "enable harmony collections (sets, maps, and weak maps)") | 176 "enable harmony collections (sets, maps, and weak maps)") |
177 DEFINE_bool(harmony_observation, false, | 177 DEFINE_bool(harmony_observation, false, |
178 "enable harmony object observation (implies harmony collections") | 178 "enable harmony object observation (implies harmony collections") |
179 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 179 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
180 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 180 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
181 DEFINE_bool(harmony_numeric_literals, false, | 181 DEFINE_bool(harmony_numeric_literals, false, |
182 "enable harmony numeric literals (0o77, 0b11)") | 182 "enable harmony numeric literals (0o77, 0b11)") |
183 DEFINE_bool(harmony_strings, false, "enable harmony string") | 183 DEFINE_bool(harmony_strings, false, "enable harmony string") |
184 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") | 184 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") |
| 185 DEFINE_bool(harmony_maths, false, "enable harmony math functions") |
185 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 186 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
186 DEFINE_implication(harmony, harmony_scoping) | 187 DEFINE_implication(harmony, harmony_scoping) |
187 DEFINE_implication(harmony, harmony_modules) | 188 DEFINE_implication(harmony, harmony_modules) |
188 DEFINE_implication(harmony, harmony_symbols) | 189 DEFINE_implication(harmony, harmony_symbols) |
189 DEFINE_implication(harmony, harmony_proxies) | 190 DEFINE_implication(harmony, harmony_proxies) |
190 DEFINE_implication(harmony, harmony_collections) | 191 DEFINE_implication(harmony, harmony_collections) |
191 DEFINE_implication(harmony, harmony_observation) | 192 DEFINE_implication(harmony, harmony_observation) |
192 DEFINE_implication(harmony, harmony_generators) | 193 DEFINE_implication(harmony, harmony_generators) |
193 DEFINE_implication(harmony, harmony_iteration) | 194 DEFINE_implication(harmony, harmony_iteration) |
194 DEFINE_implication(harmony, harmony_numeric_literals) | 195 DEFINE_implication(harmony, harmony_numeric_literals) |
195 DEFINE_implication(harmony, harmony_strings) | 196 DEFINE_implication(harmony, harmony_strings) |
196 DEFINE_implication(harmony, harmony_arrays) | 197 DEFINE_implication(harmony, harmony_arrays) |
| 198 DEFINE_implication(harmony, harmony_maths) |
197 DEFINE_implication(harmony_modules, harmony_scoping) | 199 DEFINE_implication(harmony_modules, harmony_scoping) |
198 DEFINE_implication(harmony_observation, harmony_collections) | 200 DEFINE_implication(harmony_observation, harmony_collections) |
199 | 201 |
200 // Flags for experimental implementation features. | 202 // Flags for experimental implementation features. |
201 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
202 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
203 DEFINE_bool(clever_optimizations, | 205 DEFINE_bool(clever_optimizations, |
204 true, | 206 true, |
205 "Optimize object size, Array shift, DOM strings and string +") | 207 "Optimize object size, Array shift, DOM strings and string +") |
206 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 208 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 #undef DEFINE_ALIAS_float | 875 #undef DEFINE_ALIAS_float |
874 #undef DEFINE_ALIAS_args | 876 #undef DEFINE_ALIAS_args |
875 | 877 |
876 #undef FLAG_MODE_DECLARE | 878 #undef FLAG_MODE_DECLARE |
877 #undef FLAG_MODE_DEFINE | 879 #undef FLAG_MODE_DEFINE |
878 #undef FLAG_MODE_DEFINE_DEFAULTS | 880 #undef FLAG_MODE_DEFINE_DEFAULTS |
879 #undef FLAG_MODE_META | 881 #undef FLAG_MODE_META |
880 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 882 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
881 | 883 |
882 #undef COMMA | 884 #undef COMMA |
OLD | NEW |