| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 156 DEFINE_implication(harmony_observation, harmony_collections) | 156 DEFINE_implication(harmony_observation, harmony_collections) | 
| 157 | 157 | 
| 158 // Flags for experimental implementation features. | 158 // Flags for experimental implementation features. | 
| 159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 
| 160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 
| 161 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 161 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 
| 162             "generate array elements transition stubs") | 162             "generate array elements transition stubs") | 
| 163 DEFINE_bool(clever_optimizations, | 163 DEFINE_bool(clever_optimizations, | 
| 164             true, | 164             true, | 
| 165             "Optimize object size, Array shift, DOM strings and string +") | 165             "Optimize object size, Array shift, DOM strings and string +") | 
|  | 166 DEFINE_bool(pretenure_objects, false, "pretenure objects") | 
| 166 | 167 | 
| 167 // Flags for data representation optimizations | 168 // Flags for data representation optimizations | 
| 168 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 169 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 
| 169 DEFINE_bool(string_slices, true, "use string slices") | 170 DEFINE_bool(string_slices, true, "use string slices") | 
| 170 | 171 | 
| 171 // Flags for Crankshaft. | 172 // Flags for Crankshaft. | 
| 172 DEFINE_bool(crankshaft, true, "use crankshaft") | 173 DEFINE_bool(crankshaft, true, "use crankshaft") | 
| 173 DEFINE_string(hydrogen_filter, "", "optimization filter") | 174 DEFINE_string(hydrogen_filter, "", "optimization filter") | 
| 174 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 175 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 
| 175 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 176 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 749 #undef DEFINE_bool | 750 #undef DEFINE_bool | 
| 750 #undef DEFINE_int | 751 #undef DEFINE_int | 
| 751 #undef DEFINE_string | 752 #undef DEFINE_string | 
| 752 #undef DEFINE_implication | 753 #undef DEFINE_implication | 
| 753 | 754 | 
| 754 #undef FLAG_MODE_DECLARE | 755 #undef FLAG_MODE_DECLARE | 
| 755 #undef FLAG_MODE_DEFINE | 756 #undef FLAG_MODE_DEFINE | 
| 756 #undef FLAG_MODE_DEFINE_DEFAULTS | 757 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 757 #undef FLAG_MODE_META | 758 #undef FLAG_MODE_META | 
| 758 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 759 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| OLD | NEW | 
|---|