Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: src/flag-definitions.h

Issue 167303005: Track field types. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Support transitions in LookupResult. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 "trace pretenuring decisions of HAllocate instructions") 226 "trace pretenuring decisions of HAllocate instructions")
227 DEFINE_bool(trace_pretenuring_statistics, false, 227 DEFINE_bool(trace_pretenuring_statistics, false,
228 "trace allocation site pretenuring statistics") 228 "trace allocation site pretenuring statistics")
229 DEFINE_bool(track_fields, true, "track fields with only smi values") 229 DEFINE_bool(track_fields, true, "track fields with only smi values")
230 DEFINE_bool(track_double_fields, true, "track fields with double values") 230 DEFINE_bool(track_double_fields, true, "track fields with double values")
231 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") 231 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values")
232 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") 232 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields")
233 DEFINE_implication(track_double_fields, track_fields) 233 DEFINE_implication(track_double_fields, track_fields)
234 DEFINE_implication(track_heap_object_fields, track_fields) 234 DEFINE_implication(track_heap_object_fields, track_fields)
235 DEFINE_implication(track_computed_fields, track_fields) 235 DEFINE_implication(track_computed_fields, track_fields)
236 DEFINE_bool(track_field_types, true, "track field types")
237 DEFINE_implication(track_field_types, track_fields)
238 DEFINE_implication(track_field_types, track_heap_object_fields)
239 DEFINE_bool(trace_track_field_types, false,
240 "prints statistics about field type tracking")
236 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") 241 DEFINE_bool(smi_binop, true, "support smi representation in binary operations")
237 242
238 // Flags for optimization types. 243 // Flags for optimization types.
239 DEFINE_bool(optimize_for_size, false, 244 DEFINE_bool(optimize_for_size, false,
240 "Enables optimizations which favor memory size over execution " 245 "Enables optimizations which favor memory size over execution "
241 "speed.") 246 "speed.")
242 247
243 // Flags for data representation optimizations 248 // Flags for data representation optimizations
244 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 249 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
245 DEFINE_bool(string_slices, true, "use string slices") 250 DEFINE_bool(string_slices, true, "use string slices")
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 #undef DEFINE_ALIAS_float 924 #undef DEFINE_ALIAS_float
920 #undef DEFINE_ALIAS_args 925 #undef DEFINE_ALIAS_args
921 926
922 #undef FLAG_MODE_DECLARE 927 #undef FLAG_MODE_DECLARE
923 #undef FLAG_MODE_DEFINE 928 #undef FLAG_MODE_DEFINE
924 #undef FLAG_MODE_DEFINE_DEFAULTS 929 #undef FLAG_MODE_DEFINE_DEFAULTS
925 #undef FLAG_MODE_META 930 #undef FLAG_MODE_META
926 #undef FLAG_MODE_DEFINE_IMPLICATIONS 931 #undef FLAG_MODE_DEFINE_IMPLICATIONS
927 932
928 #undef COMMA 933 #undef COMMA
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.h » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698