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

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

Issue 306883002: Don't take source size into account for inlining. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « no previous file | src/hydrogen.h » ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") 226 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering")
227 DEFINE_int(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 227 DEFINE_int(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
228 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 228 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
229 DEFINE_bool(use_inlining, true, "use function inlining") 229 DEFINE_bool(use_inlining, true, "use function inlining")
230 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis") 230 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis")
231 DEFINE_bool(use_allocation_folding, true, "use allocation folding") 231 DEFINE_bool(use_allocation_folding, true, "use allocation folding")
232 DEFINE_bool(use_local_allocation_folding, false, "only fold in basic blocks") 232 DEFINE_bool(use_local_allocation_folding, false, "only fold in basic blocks")
233 DEFINE_bool(use_write_barrier_elimination, true, 233 DEFINE_bool(use_write_barrier_elimination, true,
234 "eliminate write barriers targeting allocations in optimized code") 234 "eliminate write barriers targeting allocations in optimized code")
235 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") 235 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels")
236 DEFINE_int(max_inlined_source_size, 600,
237 "maximum source size in bytes considered for a single inlining")
238 DEFINE_int(max_inlined_nodes, 196, 236 DEFINE_int(max_inlined_nodes, 196,
239 "maximum number of AST nodes considered for a single inlining") 237 "maximum number of AST nodes considered for a single inlining")
240 DEFINE_int(max_inlined_nodes_cumulative, 400, 238 DEFINE_int(max_inlined_nodes_cumulative, 400,
241 "maximum cumulative number of AST nodes considered for inlining") 239 "maximum cumulative number of AST nodes considered for inlining")
242 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") 240 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
243 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") 241 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions")
244 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, true, 242 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, true,
245 "crankshaft harvests type feedback from stub cache") 243 "crankshaft harvests type feedback from stub cache")
246 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") 244 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen")
247 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase") 245 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase")
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 #undef DEFINE_ALIAS_float 889 #undef DEFINE_ALIAS_float
892 #undef DEFINE_ALIAS_args 890 #undef DEFINE_ALIAS_args
893 891
894 #undef FLAG_MODE_DECLARE 892 #undef FLAG_MODE_DECLARE
895 #undef FLAG_MODE_DEFINE 893 #undef FLAG_MODE_DEFINE
896 #undef FLAG_MODE_DEFINE_DEFAULTS 894 #undef FLAG_MODE_DEFINE_DEFAULTS
897 #undef FLAG_MODE_META 895 #undef FLAG_MODE_META
898 #undef FLAG_MODE_DEFINE_IMPLICATIONS 896 #undef FLAG_MODE_DEFINE_IMPLICATIONS
899 897
900 #undef COMMA 898 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698