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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) | 102 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
103 | 103 |
104 // | 104 // |
105 // Flags in all modes. | 105 // Flags in all modes. |
106 // | 106 // |
107 #define FLAG FLAG_FULL | 107 #define FLAG FLAG_FULL |
108 | 108 |
109 // Flags for experimental language features. | 109 // Flags for experimental language features. |
110 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 110 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
111 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 111 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
| 112 DEFINE_bool(harmony_modules, false, "enable harmony modules") |
112 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 113 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
113 DEFINE_bool(harmony_collections, false, | 114 DEFINE_bool(harmony_collections, false, |
114 "enable harmony collections (sets, maps, and weak maps)") | 115 "enable harmony collections (sets, maps, and weak maps)") |
115 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 116 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
116 DEFINE_implication(harmony, harmony_scoping) | 117 DEFINE_implication(harmony, harmony_scoping) |
| 118 DEFINE_implication(harmony, harmony_modules) |
117 DEFINE_implication(harmony, harmony_proxies) | 119 DEFINE_implication(harmony, harmony_proxies) |
118 DEFINE_implication(harmony, harmony_collections) | 120 DEFINE_implication(harmony, harmony_collections) |
119 | 121 |
120 // Flags for experimental implementation features. | 122 // Flags for experimental implementation features. |
121 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 123 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |
122 DEFINE_bool(clever_optimizations, | 124 DEFINE_bool(clever_optimizations, |
123 true, | 125 true, |
124 "Optimize object size, Array shift, DOM strings and string +") | 126 "Optimize object size, Array shift, DOM strings and string +") |
125 | 127 |
126 // Flags for data representation optimizations | 128 // Flags for data representation optimizations |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 #undef DEFINE_bool | 581 #undef DEFINE_bool |
580 #undef DEFINE_int | 582 #undef DEFINE_int |
581 #undef DEFINE_string | 583 #undef DEFINE_string |
582 #undef DEFINE_implication | 584 #undef DEFINE_implication |
583 | 585 |
584 #undef FLAG_MODE_DECLARE | 586 #undef FLAG_MODE_DECLARE |
585 #undef FLAG_MODE_DEFINE | 587 #undef FLAG_MODE_DEFINE |
586 #undef FLAG_MODE_DEFINE_DEFAULTS | 588 #undef FLAG_MODE_DEFINE_DEFAULTS |
587 #undef FLAG_MODE_META | 589 #undef FLAG_MODE_META |
588 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 590 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |