| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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, false, "enable all harmony features (except typeof)") | 147 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 
| 148 DEFINE_implication(harmony, harmony_scoping) | 148 DEFINE_implication(harmony, harmony_scoping) | 
| 149 DEFINE_implication(harmony, harmony_modules) | 149 DEFINE_implication(harmony, harmony_modules) | 
| 150 DEFINE_implication(harmony, harmony_proxies) | 150 DEFINE_implication(harmony, harmony_proxies) | 
| 151 DEFINE_implication(harmony, harmony_collections) | 151 DEFINE_implication(harmony, harmony_collections) | 
| 152 DEFINE_implication(harmony_modules, harmony_scoping) | 152 DEFINE_implication(harmony_modules, harmony_scoping) | 
| 153 | 153 | 
| 154 // Flags for experimental implementation features. | 154 // Flags for experimental implementation features. | 
| 155 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 155 DEFINE_bool(packed_arrays, false, "optimizes arrays that have no holes") | 
| 156 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 156 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 
| 157 DEFINE_bool(clever_optimizations, | 157 DEFINE_bool(clever_optimizations, | 
| 158             true, | 158             true, | 
| 159             "Optimize object size, Array shift, DOM strings and string +") | 159             "Optimize object size, Array shift, DOM strings and string +") | 
| 160 | 160 | 
| 161 // Flags for data representation optimizations | 161 // Flags for data representation optimizations | 
| 162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 
| 163 DEFINE_bool(string_slices, true, "use string slices") | 163 DEFINE_bool(string_slices, true, "use string slices") | 
| 164 | 164 | 
| 165 // Flags for Crankshaft. | 165 // Flags for Crankshaft. | 
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 658 #undef DEFINE_bool | 658 #undef DEFINE_bool | 
| 659 #undef DEFINE_int | 659 #undef DEFINE_int | 
| 660 #undef DEFINE_string | 660 #undef DEFINE_string | 
| 661 #undef DEFINE_implication | 661 #undef DEFINE_implication | 
| 662 | 662 | 
| 663 #undef FLAG_MODE_DECLARE | 663 #undef FLAG_MODE_DECLARE | 
| 664 #undef FLAG_MODE_DEFINE | 664 #undef FLAG_MODE_DEFINE | 
| 665 #undef FLAG_MODE_DEFINE_DEFAULTS | 665 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 666 #undef FLAG_MODE_META | 666 #undef FLAG_MODE_META | 
| 667 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 667 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| OLD | NEW | 
|---|