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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 DEFINE_bool(harmony_collections, false, | 180 DEFINE_bool(harmony_collections, false, |
181 "enable harmony collections (sets, maps, and weak maps)") | 181 "enable harmony collections (sets, maps, and weak maps)") |
182 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 182 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
183 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 183 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
184 DEFINE_bool(harmony_numeric_literals, false, | 184 DEFINE_bool(harmony_numeric_literals, false, |
185 "enable harmony numeric literals (0o77, 0b11)") | 185 "enable harmony numeric literals (0o77, 0b11)") |
186 DEFINE_bool(harmony_strings, false, "enable harmony string") | 186 DEFINE_bool(harmony_strings, false, "enable harmony string") |
187 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") | 187 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") |
188 DEFINE_bool(harmony_maths, false, "enable harmony math functions") | 188 DEFINE_bool(harmony_maths, false, "enable harmony math functions") |
189 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 189 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
190 DEFINE_implication(harmony, es_staging) | 190 DEFINE_implication(harmony, es_staging) |
rossberg
2014/03/11 14:36:18
Nit: just to group this a little better, can you m
| |
191 DEFINE_implication(harmony, harmony_scoping) | 191 DEFINE_implication(harmony, harmony_scoping) |
192 DEFINE_implication(harmony, harmony_modules) | 192 DEFINE_implication(harmony, harmony_modules) |
193 DEFINE_implication(harmony, harmony_symbols) | 193 DEFINE_implication(harmony, harmony_symbols) |
194 DEFINE_implication(harmony, harmony_promises) | 194 DEFINE_implication(harmony, harmony_promises) |
195 DEFINE_implication(harmony, harmony_proxies) | 195 DEFINE_implication(harmony, harmony_proxies) |
196 DEFINE_implication(harmony, harmony_collections) | 196 DEFINE_implication(harmony, harmony_collections) |
197 DEFINE_implication(harmony, harmony_generators) | 197 DEFINE_implication(harmony, harmony_generators) |
198 DEFINE_implication(harmony, harmony_iteration) | 198 DEFINE_implication(harmony, harmony_iteration) |
199 DEFINE_implication(harmony, harmony_numeric_literals) | 199 DEFINE_implication(harmony, harmony_numeric_literals) |
200 DEFINE_implication(harmony, harmony_strings) | 200 DEFINE_implication(harmony, harmony_strings) |
201 DEFINE_implication(harmony, harmony_arrays) | 201 DEFINE_implication(harmony, harmony_arrays) |
202 DEFINE_implication(harmony, harmony_maths) | |
203 DEFINE_implication(harmony_promises, harmony_collections) | 202 DEFINE_implication(harmony_promises, harmony_collections) |
204 DEFINE_implication(harmony_modules, harmony_scoping) | 203 DEFINE_implication(harmony_modules, harmony_scoping) |
204 DEFINE_implication(es_staging, harmony_maths) | |
205 | 205 |
206 // Flags for experimental implementation features. | 206 // Flags for experimental implementation features. |
207 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 207 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
208 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 208 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
209 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 209 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
210 "use optimizing compiler to generate keyed dictionary load stubs") | 210 "use optimizing compiler to generate keyed dictionary load stubs") |
211 DEFINE_bool(clever_optimizations, true, | 211 DEFINE_bool(clever_optimizations, true, |
212 "Optimize object size, Array shift, DOM strings and string +") | 212 "Optimize object size, Array shift, DOM strings and string +") |
213 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 213 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
214 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 214 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
912 #undef DEFINE_ALIAS_float | 912 #undef DEFINE_ALIAS_float |
913 #undef DEFINE_ALIAS_args | 913 #undef DEFINE_ALIAS_args |
914 | 914 |
915 #undef FLAG_MODE_DECLARE | 915 #undef FLAG_MODE_DECLARE |
916 #undef FLAG_MODE_DEFINE | 916 #undef FLAG_MODE_DEFINE |
917 #undef FLAG_MODE_DEFINE_DEFAULTS | 917 #undef FLAG_MODE_DEFINE_DEFAULTS |
918 #undef FLAG_MODE_META | 918 #undef FLAG_MODE_META |
919 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 919 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
920 | 920 |
921 #undef COMMA | 921 #undef COMMA |
OLD | NEW |