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

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: Addressed comments Created 6 years, 8 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
« no previous file with comments | « src/deoptimizer.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
236 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") 239 DEFINE_bool(smi_binop, true, "support smi representation in binary operations")
237 240
238 // Flags for optimization types. 241 // Flags for optimization types.
239 DEFINE_bool(optimize_for_size, false, 242 DEFINE_bool(optimize_for_size, false,
240 "Enables optimizations which favor memory size over execution " 243 "Enables optimizations which favor memory size over execution "
241 "speed.") 244 "speed.")
242 245
243 // Flags for data representation optimizations 246 // Flags for data representation optimizations
244 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 247 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
245 DEFINE_bool(string_slices, true, "use string slices") 248 DEFINE_bool(string_slices, true, "use string slices")
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 #undef DEFINE_ALIAS_float 925 #undef DEFINE_ALIAS_float
923 #undef DEFINE_ALIAS_args 926 #undef DEFINE_ALIAS_args
924 927
925 #undef FLAG_MODE_DECLARE 928 #undef FLAG_MODE_DECLARE
926 #undef FLAG_MODE_DEFINE 929 #undef FLAG_MODE_DEFINE
927 #undef FLAG_MODE_DEFINE_DEFAULTS 930 #undef FLAG_MODE_DEFINE_DEFAULTS
928 #undef FLAG_MODE_META 931 #undef FLAG_MODE_META
929 #undef FLAG_MODE_DEFINE_IMPLICATIONS 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS
930 933
931 #undef COMMA 934 #undef COMMA
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698