OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_proxies, false, "enable harmony proxies") | 112 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
113 DEFINE_bool(harmony_collections, false, | 113 DEFINE_bool(harmony_collections, false, |
114 "enable harmony collections (sets, maps, and weak maps)") | 114 "enable harmony collections (sets, maps, and weak maps)") |
115 DEFINE_bool(harmony, false, "enable all harmony features") | 115 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
116 DEFINE_implication(harmony, harmony_typeof) | |
117 DEFINE_implication(harmony, harmony_scoping) | 116 DEFINE_implication(harmony, harmony_scoping) |
118 DEFINE_implication(harmony, harmony_proxies) | 117 DEFINE_implication(harmony, harmony_proxies) |
119 DEFINE_implication(harmony, harmony_collections) | 118 DEFINE_implication(harmony, harmony_collections) |
120 | 119 |
121 // Flags for experimental implementation features. | 120 // Flags for experimental implementation features. |
122 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 121 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
123 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 122 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |
124 DEFINE_bool(string_slices, true, "use string slices") | 123 DEFINE_bool(string_slices, true, "use string slices") |
125 | 124 |
126 DEFINE_bool(clever_optimizations, | 125 DEFINE_bool(clever_optimizations, |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 #undef DEFINE_bool | 585 #undef DEFINE_bool |
587 #undef DEFINE_int | 586 #undef DEFINE_int |
588 #undef DEFINE_string | 587 #undef DEFINE_string |
589 #undef DEFINE_implication | 588 #undef DEFINE_implication |
590 | 589 |
591 #undef FLAG_MODE_DECLARE | 590 #undef FLAG_MODE_DECLARE |
592 #undef FLAG_MODE_DEFINE | 591 #undef FLAG_MODE_DEFINE |
593 #undef FLAG_MODE_DEFINE_DEFAULTS | 592 #undef FLAG_MODE_DEFINE_DEFAULTS |
594 #undef FLAG_MODE_META | 593 #undef FLAG_MODE_META |
595 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 594 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |