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

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

Issue 737373003: When optimizing deserialized code, make sure IC state is preserved. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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/full-codegen.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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") 470 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
471 DEFINE_BOOL(opt, true, "use adaptive optimizations") 471 DEFINE_BOOL(opt, true, "use adaptive optimizations")
472 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 472 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
473 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 473 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
474 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 474 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
475 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 475 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
476 DEFINE_BOOL(trace_stub_failures, false, 476 DEFINE_BOOL(trace_stub_failures, false,
477 "trace deoptimization of generated code stubs") 477 "trace deoptimization of generated code stubs")
478 478
479 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") 479 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts")
480 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions")
480 DEFINE_BOOL(trace_code_serializer, false, "print code serializer trace") 481 DEFINE_BOOL(trace_code_serializer, false, "print code serializer trace")
481 482
482 // compiler.cc 483 // compiler.cc
483 DEFINE_INT(min_preparse_length, 1024, 484 DEFINE_INT(min_preparse_length, 1024,
484 "minimum length for automatic enable preparsing") 485 "minimum length for automatic enable preparsing")
485 DEFINE_INT(max_opt_count, 10, 486 DEFINE_INT(max_opt_count, 10,
486 "maximum number of optimization attempts before giving up.") 487 "maximum number of optimization attempts before giving up.")
487 488
488 // compilation-cache.cc 489 // compilation-cache.cc
489 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 490 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 #undef DEFINE_ALIAS_FLOAT 978 #undef DEFINE_ALIAS_FLOAT
978 #undef DEFINE_ALIAS_ARGS 979 #undef DEFINE_ALIAS_ARGS
979 980
980 #undef FLAG_MODE_DECLARE 981 #undef FLAG_MODE_DECLARE
981 #undef FLAG_MODE_DEFINE 982 #undef FLAG_MODE_DEFINE
982 #undef FLAG_MODE_DEFINE_DEFAULTS 983 #undef FLAG_MODE_DEFINE_DEFAULTS
983 #undef FLAG_MODE_META 984 #undef FLAG_MODE_META
984 #undef FLAG_MODE_DEFINE_IMPLICATIONS 985 #undef FLAG_MODE_DEFINE_IMPLICATIONS
985 986
986 #undef COMMA 987 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698