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

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

Issue 1804433004: [serializer] add options to compile eagerly and pre-age for code cache. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « src/compiler.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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") 573 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
574 DEFINE_BOOL(opt, true, "use adaptive optimizations") 574 DEFINE_BOOL(opt, true, "use adaptive optimizations")
575 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 575 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
576 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 576 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
577 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 577 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
578 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 578 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
579 DEFINE_BOOL(trace_stub_failures, false, 579 DEFINE_BOOL(trace_stub_failures, false,
580 "trace deoptimization of generated code stubs") 580 "trace deoptimization of generated code stubs")
581 581
582 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") 582 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts")
583 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts")
584 DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache")
583 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") 585 DEFINE_BOOL(trace_serializer, false, "print code serializer trace")
584 586
585 // compiler.cc 587 // compiler.cc
586 DEFINE_INT(min_preparse_length, 1024, 588 DEFINE_INT(min_preparse_length, 1024,
587 "minimum length for automatic enable preparsing") 589 "minimum length for automatic enable preparsing")
588 DEFINE_INT(max_opt_count, 10, 590 DEFINE_INT(max_opt_count, 10,
589 "maximum number of optimization attempts before giving up.") 591 "maximum number of optimization attempts before giving up.")
590 592
591 // compilation-cache.cc 593 // compilation-cache.cc
592 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 594 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 #undef DEFINE_ALIAS_FLOAT 1161 #undef DEFINE_ALIAS_FLOAT
1160 #undef DEFINE_ALIAS_ARGS 1162 #undef DEFINE_ALIAS_ARGS
1161 1163
1162 #undef FLAG_MODE_DECLARE 1164 #undef FLAG_MODE_DECLARE
1163 #undef FLAG_MODE_DEFINE 1165 #undef FLAG_MODE_DEFINE
1164 #undef FLAG_MODE_DEFINE_DEFAULTS 1166 #undef FLAG_MODE_DEFINE_DEFAULTS
1165 #undef FLAG_MODE_META 1167 #undef FLAG_MODE_META
1166 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1168 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1167 1169
1168 #undef COMMA 1170 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698