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

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

Issue 619863002: Introduce flag --allocation-site-transitioning Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed extra work happening when !transitioning && pretenuring. Created 6 years, 2 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/code-stubs.h ('k') | src/hydrogen.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 "Optimize object size, Array shift, DOM strings and string +") 188 "Optimize object size, Array shift, DOM strings and string +")
189 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 189 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
190 // support for specific allocation sites. 190 // support for specific allocation sites.
191 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") 191 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new")
192 DEFINE_BOOL(allocation_site_pretenuring, true, 192 DEFINE_BOOL(allocation_site_pretenuring, true,
193 "pretenure with allocation sites") 193 "pretenure with allocation sites")
194 DEFINE_BOOL(trace_pretenuring, false, 194 DEFINE_BOOL(trace_pretenuring, false,
195 "trace pretenuring decisions of HAllocate instructions") 195 "trace pretenuring decisions of HAllocate instructions")
196 DEFINE_BOOL(trace_pretenuring_statistics, false, 196 DEFINE_BOOL(trace_pretenuring_statistics, false,
197 "trace allocation site pretenuring statistics") 197 "trace allocation site pretenuring statistics")
198 DEFINE_BOOL(allocation_site_transitioning, false,
199 "transition with allocation sites")
198 DEFINE_BOOL(track_fields, true, "track fields with only smi values") 200 DEFINE_BOOL(track_fields, true, "track fields with only smi values")
199 DEFINE_BOOL(track_double_fields, true, "track fields with double values") 201 DEFINE_BOOL(track_double_fields, true, "track fields with double values")
200 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") 202 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values")
201 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") 203 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields")
202 DEFINE_IMPLICATION(track_double_fields, track_fields) 204 DEFINE_IMPLICATION(track_double_fields, track_fields)
203 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 205 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
204 DEFINE_IMPLICATION(track_computed_fields, track_fields) 206 DEFINE_IMPLICATION(track_computed_fields, track_fields)
205 DEFINE_BOOL(track_field_types, true, "track field types") 207 DEFINE_BOOL(track_field_types, true, "track field types")
206 DEFINE_IMPLICATION(track_field_types, track_fields) 208 DEFINE_IMPLICATION(track_field_types, track_fields)
207 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 209 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 #undef DEFINE_ALIAS_FLOAT 934 #undef DEFINE_ALIAS_FLOAT
933 #undef DEFINE_ALIAS_ARGS 935 #undef DEFINE_ALIAS_ARGS
934 936
935 #undef FLAG_MODE_DECLARE 937 #undef FLAG_MODE_DECLARE
936 #undef FLAG_MODE_DEFINE 938 #undef FLAG_MODE_DEFINE
937 #undef FLAG_MODE_DEFINE_DEFAULTS 939 #undef FLAG_MODE_DEFINE_DEFAULTS
938 #undef FLAG_MODE_META 940 #undef FLAG_MODE_META
939 #undef FLAG_MODE_DEFINE_IMPLICATIONS 941 #undef FLAG_MODE_DEFINE_IMPLICATIONS
940 942
941 #undef COMMA 943 #undef COMMA
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698