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

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

Issue 556243005: Serialize code stubs using stub key. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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.cc ('k') | src/serialize.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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") 431 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
432 DEFINE_BOOL(opt, true, "use adaptive optimizations") 432 DEFINE_BOOL(opt, true, "use adaptive optimizations")
433 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 433 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
434 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 434 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
435 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 435 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
436 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 436 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
437 DEFINE_BOOL(trace_stub_failures, false, 437 DEFINE_BOOL(trace_stub_failures, false,
438 "trace deoptimization of generated code stubs") 438 "trace deoptimization of generated code stubs")
439 439
440 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") 440 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts")
441 DEFINE_BOOL(trace_code_serializer, false, "trace code serializer")
441 442
442 // compiler.cc 443 // compiler.cc
443 DEFINE_INT(min_preparse_length, 1024, 444 DEFINE_INT(min_preparse_length, 1024,
444 "minimum length for automatic enable preparsing") 445 "minimum length for automatic enable preparsing")
445 DEFINE_INT(max_opt_count, 10, 446 DEFINE_INT(max_opt_count, 10,
446 "maximum number of optimization attempts before giving up.") 447 "maximum number of optimization attempts before giving up.")
447 448
448 // compilation-cache.cc 449 // compilation-cache.cc
449 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 450 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
450 451
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 #undef DEFINE_ALIAS_FLOAT 934 #undef DEFINE_ALIAS_FLOAT
934 #undef DEFINE_ALIAS_ARGS 935 #undef DEFINE_ALIAS_ARGS
935 936
936 #undef FLAG_MODE_DECLARE 937 #undef FLAG_MODE_DECLARE
937 #undef FLAG_MODE_DEFINE 938 #undef FLAG_MODE_DEFINE
938 #undef FLAG_MODE_DEFINE_DEFAULTS 939 #undef FLAG_MODE_DEFINE_DEFAULTS
939 #undef FLAG_MODE_META 940 #undef FLAG_MODE_META
940 #undef FLAG_MODE_DEFINE_IMPLICATIONS 941 #undef FLAG_MODE_DEFINE_IMPLICATIONS
941 942
942 #undef COMMA 943 #undef COMMA
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698