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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 DEFINE_bool(es52_globals, true, | 137 DEFINE_bool(es52_globals, true, |
138 "activate new semantics for global var declarations") | 138 "activate new semantics for global var declarations") |
139 | 139 |
140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
142 DEFINE_bool(harmony_modules, false, | 142 DEFINE_bool(harmony_modules, false, |
143 "enable harmony modules (implies block scoping)") | 143 "enable harmony modules (implies block scoping)") |
144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
145 DEFINE_bool(harmony_collections, false, | 145 DEFINE_bool(harmony_collections, false, |
146 "enable harmony collections (sets, maps, and weak maps)") | 146 "enable harmony collections (sets, maps, and weak maps)") |
147 DEFINE_bool(harmony_object_observe, false, | 147 DEFINE_bool(harmony_observation, false, |
148 "enable harmony object observation (implies harmony collections") | 148 "enable harmony object observation (implies harmony collections") |
149 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 149 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
150 DEFINE_implication(harmony, harmony_scoping) | 150 DEFINE_implication(harmony, harmony_scoping) |
151 DEFINE_implication(harmony, harmony_modules) | 151 DEFINE_implication(harmony, harmony_modules) |
152 DEFINE_implication(harmony, harmony_proxies) | 152 DEFINE_implication(harmony, harmony_proxies) |
153 DEFINE_implication(harmony, harmony_collections) | 153 DEFINE_implication(harmony, harmony_collections) |
154 DEFINE_implication(harmony, harmony_object_observe) | 154 DEFINE_implication(harmony, harmony_observation) |
155 DEFINE_implication(harmony_modules, harmony_scoping) | 155 DEFINE_implication(harmony_modules, harmony_scoping) |
156 DEFINE_implication(harmony_object_observe, harmony_collections) | 156 DEFINE_implication(harmony_observation, harmony_collections) |
157 | 157 |
158 // Flags for experimental implementation features. | 158 // Flags for experimental implementation features. |
159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
161 DEFINE_bool(clever_optimizations, | 161 DEFINE_bool(clever_optimizations, |
162 true, | 162 true, |
163 "Optimize object size, Array shift, DOM strings and string +") | 163 "Optimize object size, Array shift, DOM strings and string +") |
164 | 164 |
165 // Flags for data representation optimizations | 165 // Flags for data representation optimizations |
166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 #undef DEFINE_bool | 706 #undef DEFINE_bool |
707 #undef DEFINE_int | 707 #undef DEFINE_int |
708 #undef DEFINE_string | 708 #undef DEFINE_string |
709 #undef DEFINE_implication | 709 #undef DEFINE_implication |
710 | 710 |
711 #undef FLAG_MODE_DECLARE | 711 #undef FLAG_MODE_DECLARE |
712 #undef FLAG_MODE_DEFINE | 712 #undef FLAG_MODE_DEFINE |
713 #undef FLAG_MODE_DEFINE_DEFAULTS | 713 #undef FLAG_MODE_DEFINE_DEFAULTS |
714 #undef FLAG_MODE_META | 714 #undef FLAG_MODE_META |
715 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 715 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |