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

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

Issue 656533003: Special handling for inline caches in code serializer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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/execution.cc ('k') | src/objects.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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") 435 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
436 DEFINE_BOOL(opt, true, "use adaptive optimizations") 436 DEFINE_BOOL(opt, true, "use adaptive optimizations")
437 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 437 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
438 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 438 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
439 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 439 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
440 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 440 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
441 DEFINE_BOOL(trace_stub_failures, false, 441 DEFINE_BOOL(trace_stub_failures, false,
442 "trace deoptimization of generated code stubs") 442 "trace deoptimization of generated code stubs")
443 443
444 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") 444 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts")
445 DEFINE_BOOL(trace_code_serializer, false, "trace code serializer") 445 DEFINE_INT(serializer_trace_level, 0, "trace code serializer (0 .. 2)")
446 446
447 // compiler.cc 447 // compiler.cc
448 DEFINE_INT(min_preparse_length, 1024, 448 DEFINE_INT(min_preparse_length, 1024,
449 "minimum length for automatic enable preparsing") 449 "minimum length for automatic enable preparsing")
450 DEFINE_INT(max_opt_count, 10, 450 DEFINE_INT(max_opt_count, 10,
451 "maximum number of optimization attempts before giving up.") 451 "maximum number of optimization attempts before giving up.")
452 452
453 // compilation-cache.cc 453 // compilation-cache.cc
454 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 454 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
455 455
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 #undef DEFINE_ALIAS_FLOAT 928 #undef DEFINE_ALIAS_FLOAT
929 #undef DEFINE_ALIAS_ARGS 929 #undef DEFINE_ALIAS_ARGS
930 930
931 #undef FLAG_MODE_DECLARE 931 #undef FLAG_MODE_DECLARE
932 #undef FLAG_MODE_DEFINE 932 #undef FLAG_MODE_DEFINE
933 #undef FLAG_MODE_DEFINE_DEFAULTS 933 #undef FLAG_MODE_DEFINE_DEFAULTS
934 #undef FLAG_MODE_META 934 #undef FLAG_MODE_META
935 #undef FLAG_MODE_DEFINE_IMPLICATIONS 935 #undef FLAG_MODE_DEFINE_IMPLICATIONS
936 936
937 #undef COMMA 937 #undef COMMA
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698