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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 DEFINE_bool(use_strict, false, "enforce strict mode") | 134 DEFINE_bool(use_strict, false, "enforce strict mode") |
135 DEFINE_bool(es5_readonly, true, | 135 DEFINE_bool(es5_readonly, true, |
136 "activate correct semantics for inheriting readonliness") | 136 "activate correct semantics for inheriting readonliness") |
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_symbols, false, |
| 145 "enable harmony symbols (a.k.a. private names)") |
144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 146 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
145 DEFINE_bool(harmony_collections, false, | 147 DEFINE_bool(harmony_collections, false, |
146 "enable harmony collections (sets, maps, and weak maps)") | 148 "enable harmony collections (sets, maps, and weak maps)") |
147 DEFINE_bool(harmony_observation, false, | 149 DEFINE_bool(harmony_observation, false, |
148 "enable harmony object observation (implies harmony collections") | 150 "enable harmony object observation (implies harmony collections") |
149 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 151 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
150 DEFINE_implication(harmony, harmony_scoping) | 152 DEFINE_implication(harmony, harmony_scoping) |
151 DEFINE_implication(harmony, harmony_modules) | 153 DEFINE_implication(harmony, harmony_modules) |
| 154 DEFINE_implication(harmony, harmony_symbols) |
152 DEFINE_implication(harmony, harmony_proxies) | 155 DEFINE_implication(harmony, harmony_proxies) |
153 DEFINE_implication(harmony, harmony_collections) | 156 DEFINE_implication(harmony, harmony_collections) |
154 DEFINE_implication(harmony, harmony_observation) | 157 DEFINE_implication(harmony, harmony_observation) |
155 DEFINE_implication(harmony_modules, harmony_scoping) | 158 DEFINE_implication(harmony_modules, harmony_scoping) |
156 DEFINE_implication(harmony_observation, harmony_collections) | 159 DEFINE_implication(harmony_observation, harmony_collections) |
157 | 160 |
158 // Flags for experimental implementation features. | 161 // Flags for experimental implementation features. |
159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 162 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 163 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
161 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 164 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 #undef DEFINE_bool | 736 #undef DEFINE_bool |
734 #undef DEFINE_int | 737 #undef DEFINE_int |
735 #undef DEFINE_string | 738 #undef DEFINE_string |
736 #undef DEFINE_implication | 739 #undef DEFINE_implication |
737 | 740 |
738 #undef FLAG_MODE_DECLARE | 741 #undef FLAG_MODE_DECLARE |
739 #undef FLAG_MODE_DEFINE | 742 #undef FLAG_MODE_DEFINE |
740 #undef FLAG_MODE_DEFINE_DEFAULTS | 743 #undef FLAG_MODE_DEFINE_DEFAULTS |
741 #undef FLAG_MODE_META | 744 #undef FLAG_MODE_META |
742 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 745 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |