 Chromium Code Reviews
 Chromium Code Reviews Issue 14146005:
  Track representations of fields  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 14146005:
  Track representations of fields  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 183 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 
| 184 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 184 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 
| 185 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 185 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 
| 186 "generate array elements transition stubs") | 186 "generate array elements transition stubs") | 
| 187 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 187 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 
| 188 "generate keyed store stubs") | 188 "generate keyed store stubs") | 
| 189 DEFINE_bool(clever_optimizations, | 189 DEFINE_bool(clever_optimizations, | 
| 190 true, | 190 true, | 
| 191 "Optimize object size, Array shift, DOM strings and string +") | 191 "Optimize object size, Array shift, DOM strings and string +") | 
| 192 DEFINE_bool(pretenure_literals, true, "allocate literals in old space") | 192 DEFINE_bool(pretenure_literals, true, "allocate literals in old space") | 
| 193 DEFINE_bool(track_fields, true, "track fields with only smi values") | |
| 194 DEFINE_bool(track_double_fields, true, "track fields with double values") | |
| 
danno
2013/04/24 15:23:00
These should be off by default and enabled in anot
 
Toon Verwaest
2013/04/25 10:59:38
Done.
 | |
| 195 DEFINE_implication(track_double_fields, track_fields) | |
| 193 | 196 | 
| 194 // Flags for data representation optimizations | 197 // Flags for data representation optimizations | 
| 195 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 198 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 
| 196 DEFINE_bool(string_slices, true, "use string slices") | 199 DEFINE_bool(string_slices, true, "use string slices") | 
| 197 | 200 | 
| 198 // Flags for Crankshaft. | 201 // Flags for Crankshaft. | 
| 199 DEFINE_bool(crankshaft, true, "use crankshaft") | 202 DEFINE_bool(crankshaft, true, "use crankshaft") | 
| 200 DEFINE_string(hydrogen_filter, "", "optimization filter") | 203 DEFINE_string(hydrogen_filter, "", "optimization filter") | 
| 201 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 204 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 
| 202 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 205 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 770 #undef DEFINE_bool | 773 #undef DEFINE_bool | 
| 771 #undef DEFINE_int | 774 #undef DEFINE_int | 
| 772 #undef DEFINE_string | 775 #undef DEFINE_string | 
| 773 #undef DEFINE_implication | 776 #undef DEFINE_implication | 
| 774 | 777 | 
| 775 #undef FLAG_MODE_DECLARE | 778 #undef FLAG_MODE_DECLARE | 
| 776 #undef FLAG_MODE_DEFINE | 779 #undef FLAG_MODE_DEFINE | 
| 777 #undef FLAG_MODE_DEFINE_DEFAULTS | 780 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 778 #undef FLAG_MODE_META | 781 #undef FLAG_MODE_META | 
| 779 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 782 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| OLD | NEW |