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

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

Issue 766893002: Serializer: cache recent back references for shorter encoding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 6 years 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 | « no previous file | 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 DEFINE_BOOL(opt, true, "use adaptive optimizations") 481 DEFINE_BOOL(opt, true, "use adaptive optimizations")
482 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 482 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
483 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 483 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
484 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 484 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
485 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 485 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
486 DEFINE_BOOL(trace_stub_failures, false, 486 DEFINE_BOOL(trace_stub_failures, false,
487 "trace deoptimization of generated code stubs") 487 "trace deoptimization of generated code stubs")
488 488
489 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") 489 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts")
490 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions") 490 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions")
491 DEFINE_BOOL(trace_code_serializer, false, "print code serializer trace") 491 DEFINE_BOOL(trace_serializer, false, "print code serializer trace")
492 492
493 // compiler.cc 493 // compiler.cc
494 DEFINE_INT(min_preparse_length, 1024, 494 DEFINE_INT(min_preparse_length, 1024,
495 "minimum length for automatic enable preparsing") 495 "minimum length for automatic enable preparsing")
496 DEFINE_INT(max_opt_count, 10, 496 DEFINE_INT(max_opt_count, 10,
497 "maximum number of optimization attempts before giving up.") 497 "maximum number of optimization attempts before giving up.")
498 498
499 // compilation-cache.cc 499 // compilation-cache.cc
500 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 500 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
501 501
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 #undef DEFINE_ALIAS_FLOAT 992 #undef DEFINE_ALIAS_FLOAT
993 #undef DEFINE_ALIAS_ARGS 993 #undef DEFINE_ALIAS_ARGS
994 994
995 #undef FLAG_MODE_DECLARE 995 #undef FLAG_MODE_DECLARE
996 #undef FLAG_MODE_DEFINE 996 #undef FLAG_MODE_DEFINE
997 #undef FLAG_MODE_DEFINE_DEFAULTS 997 #undef FLAG_MODE_DEFINE_DEFAULTS
998 #undef FLAG_MODE_META 998 #undef FLAG_MODE_META
999 #undef FLAG_MODE_DEFINE_IMPLICATIONS 999 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1000 1000
1001 #undef COMMA 1001 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698