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 102 matching lines...) Loading... |
113 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 113 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
114 DEFINE_bool(harmony_collections, false, | 114 DEFINE_bool(harmony_collections, false, |
115 "enable harmony collections (sets, maps, and weak maps)") | 115 "enable harmony collections (sets, maps, and weak maps)") |
116 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 116 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
117 DEFINE_implication(harmony, harmony_scoping) | 117 DEFINE_implication(harmony, harmony_scoping) |
118 DEFINE_implication(harmony, harmony_modules) | 118 DEFINE_implication(harmony, harmony_modules) |
119 DEFINE_implication(harmony, harmony_proxies) | 119 DEFINE_implication(harmony, harmony_proxies) |
120 DEFINE_implication(harmony, harmony_collections) | 120 DEFINE_implication(harmony, harmony_collections) |
121 | 121 |
122 // Flags for experimental implementation features. | 122 // Flags for experimental implementation features. |
123 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 123 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
124 DEFINE_bool(clever_optimizations, | 124 DEFINE_bool(clever_optimizations, |
125 true, | 125 true, |
126 "Optimize object size, Array shift, DOM strings and string +") | 126 "Optimize object size, Array shift, DOM strings and string +") |
127 | 127 |
128 // Flags for data representation optimizations | 128 // Flags for data representation optimizations |
129 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 129 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
130 DEFINE_bool(string_slices, true, "use string slices") | 130 DEFINE_bool(string_slices, true, "use string slices") |
131 | 131 |
132 // Flags for Crankshaft. | 132 // Flags for Crankshaft. |
133 DEFINE_bool(crankshaft, true, "use crankshaft") | 133 DEFINE_bool(crankshaft, true, "use crankshaft") |
(...skipping 444 matching lines...) Loading... |
578 #undef DEFINE_bool | 578 #undef DEFINE_bool |
579 #undef DEFINE_int | 579 #undef DEFINE_int |
580 #undef DEFINE_string | 580 #undef DEFINE_string |
581 #undef DEFINE_implication | 581 #undef DEFINE_implication |
582 | 582 |
583 #undef FLAG_MODE_DECLARE | 583 #undef FLAG_MODE_DECLARE |
584 #undef FLAG_MODE_DEFINE | 584 #undef FLAG_MODE_DEFINE |
585 #undef FLAG_MODE_DEFINE_DEFAULTS | 585 #undef FLAG_MODE_DEFINE_DEFAULTS |
586 #undef FLAG_MODE_META | 586 #undef FLAG_MODE_META |
587 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 587 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |