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

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

Issue 373713006: Introduce code serializer/deserializer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments and rebased Created 6 years, 5 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/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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") 416 DEFINE_BOOL(trace_opt, false, "trace lazy optimization")
417 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") 417 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
418 DEFINE_BOOL(opt, true, "use adaptive optimizations") 418 DEFINE_BOOL(opt, true, "use adaptive optimizations")
419 DEFINE_BOOL(always_opt, false, "always try to optimize functions") 419 DEFINE_BOOL(always_opt, false, "always try to optimize functions")
420 DEFINE_BOOL(always_osr, false, "always try to OSR functions") 420 DEFINE_BOOL(always_osr, false, "always try to OSR functions")
421 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") 421 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
422 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") 422 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
423 DEFINE_BOOL(trace_stub_failures, false, 423 DEFINE_BOOL(trace_stub_failures, false,
424 "trace deoptimization of generated code stubs") 424 "trace deoptimization of generated code stubs")
425 425
426 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts")
427
426 // compiler.cc 428 // compiler.cc
427 DEFINE_INT(min_preparse_length, 1024, 429 DEFINE_INT(min_preparse_length, 1024,
428 "minimum length for automatic enable preparsing") 430 "minimum length for automatic enable preparsing")
429 DEFINE_BOOL(always_full_compiler, false, 431 DEFINE_BOOL(always_full_compiler, false,
430 "try to use the dedicated run-once backend for all code") 432 "try to use the dedicated run-once backend for all code")
431 DEFINE_INT(max_opt_count, 10, 433 DEFINE_INT(max_opt_count, 10,
432 "maximum number of optimization attempts before giving up.") 434 "maximum number of optimization attempts before giving up.")
433 435
434 // compilation-cache.cc 436 // compilation-cache.cc
435 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 437 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 #undef DEFINE_ALIAS_FLOAT 914 #undef DEFINE_ALIAS_FLOAT
913 #undef DEFINE_ALIAS_ARGS 915 #undef DEFINE_ALIAS_ARGS
914 916
915 #undef FLAG_MODE_DECLARE 917 #undef FLAG_MODE_DECLARE
916 #undef FLAG_MODE_DEFINE 918 #undef FLAG_MODE_DEFINE
917 #undef FLAG_MODE_DEFINE_DEFAULTS 919 #undef FLAG_MODE_DEFINE_DEFAULTS
918 #undef FLAG_MODE_META 920 #undef FLAG_MODE_META
919 #undef FLAG_MODE_DEFINE_IMPLICATIONS 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS
920 922
921 #undef COMMA 923 #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