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

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

Issue 441643008: Track number of generic ICs per function (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/ic.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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 DEFINE_INT(typed_array_max_size_in_heap, 64, 350 DEFINE_INT(typed_array_max_size_in_heap, 64,
351 "threshold for in-heap typed array") 351 "threshold for in-heap typed array")
352 352
353 // Profiler flags. 353 // Profiler flags.
354 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 354 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
355 // 0x1800 fits in the immediate field of an ARM instruction. 355 // 0x1800 fits in the immediate field of an ARM instruction.
356 DEFINE_INT(interrupt_budget, 0x1800, 356 DEFINE_INT(interrupt_budget, 0x1800,
357 "execution budget before interrupt is triggered") 357 "execution budget before interrupt is triggered")
358 DEFINE_INT(type_info_threshold, 25, 358 DEFINE_INT(type_info_threshold, 25,
359 "percentage of ICs that must have type info to allow optimization") 359 "percentage of ICs that must have type info to allow optimization")
360 DEFINE_INT(generic_ic_threshold, 30,
361 "max percentage of megamorphic/generic ICs to allow optimization")
360 DEFINE_INT(self_opt_count, 130, "call count before self-optimization") 362 DEFINE_INT(self_opt_count, 130, "call count before self-optimization")
361 363
362 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") 364 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing")
363 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) 365 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt)
364 366
365 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc 367 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
366 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") 368 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging")
367 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") 369 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly")
368 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") 370 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available")
369 DEFINE_BOOL(enable_sse4_1, true, 371 DEFINE_BOOL(enable_sse4_1, true,
(...skipping 562 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 | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698