Chromium Code Reviews| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 186 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 186 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 187 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 187 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 188 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 188 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
| 189 "generate array elements transition stubs") | 189 "generate array elements transition stubs") |
| 190 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 190 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " |
| 191 "generate keyed store stubs") | 191 "generate keyed store stubs") |
| 192 DEFINE_bool(clever_optimizations, | 192 DEFINE_bool(clever_optimizations, |
| 193 true, | 193 true, |
| 194 "Optimize object size, Array shift, DOM strings and string +") | 194 "Optimize object size, Array shift, DOM strings and string +") |
| 195 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 195 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
| 196 DEFINE_bool(pretenure_hallocateobject, false, "pretenure HAllocateObject") | |
|
Hannes Payer (out of office)
2013/05/23 09:32:27
This currently tanks performance. We will enable i
| |
| 196 DEFINE_bool(track_fields, true, "track fields with only smi values") | 197 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 197 DEFINE_bool(track_double_fields, true, "track fields with double values") | 198 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| 198 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 199 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 199 DEFINE_implication(track_double_fields, track_fields) | 200 DEFINE_implication(track_double_fields, track_fields) |
| 200 DEFINE_implication(track_heap_object_fields, track_fields) | 201 DEFINE_implication(track_heap_object_fields, track_fields) |
| 201 | 202 |
| 202 // Flags for data representation optimizations | 203 // Flags for data representation optimizations |
| 203 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 204 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 204 DEFINE_bool(string_slices, true, "use string slices") | 205 DEFINE_bool(string_slices, true, "use string slices") |
| 205 | 206 |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 787 #undef DEFINE_bool | 788 #undef DEFINE_bool |
| 788 #undef DEFINE_int | 789 #undef DEFINE_int |
| 789 #undef DEFINE_string | 790 #undef DEFINE_string |
| 790 #undef DEFINE_implication | 791 #undef DEFINE_implication |
| 791 | 792 |
| 792 #undef FLAG_MODE_DECLARE | 793 #undef FLAG_MODE_DECLARE |
| 793 #undef FLAG_MODE_DEFINE | 794 #undef FLAG_MODE_DEFINE |
| 794 #undef FLAG_MODE_DEFINE_DEFAULTS | 795 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 795 #undef FLAG_MODE_META | 796 #undef FLAG_MODE_META |
| 796 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 797 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |