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

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

Issue 2650703003: [parser]: Skipping inner funcs / initial implemetation of storing scope analysis data from preparse… (Closed)
Patch Set: rebased - argh, forced to format build.gn Created 3 years, 11 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/ast/scopes.cc ('k') | src/parsing/parse-info.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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 #endif 882 #endif
883 883
884 // parser.cc 884 // parser.cc
885 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") 885 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax")
886 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") 886 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing")
887 DEFINE_BOOL(trace_preparse, false, "trace preparsing decisions") 887 DEFINE_BOOL(trace_preparse, false, "trace preparsing decisions")
888 DEFINE_BOOL(lazy_inner_functions, true, "enable lazy parsing inner functions") 888 DEFINE_BOOL(lazy_inner_functions, true, "enable lazy parsing inner functions")
889 DEFINE_BOOL(aggressive_lazy_inner_functions, false, 889 DEFINE_BOOL(aggressive_lazy_inner_functions, false,
890 "even lazier inner function parsing") 890 "even lazier inner function parsing")
891 DEFINE_IMPLICATION(aggressive_lazy_inner_functions, lazy_inner_functions) 891 DEFINE_IMPLICATION(aggressive_lazy_inner_functions, lazy_inner_functions)
892 DEFINE_BOOL(preparser_scope_analysis, false,
893 "perform scope analysis for preparsed inner functions")
894 DEFINE_IMPLICATION(preparser_scope_analysis, lazy_inner_functions)
892 895
893 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc 896 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc
894 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") 897 DEFINE_BOOL(trace_sim, false, "Trace simulator execution")
895 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") 898 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator")
896 DEFINE_BOOL(check_icache, false, 899 DEFINE_BOOL(check_icache, false,
897 "Check icache flushes in ARM and MIPS simulator") 900 "Check icache flushes in ARM and MIPS simulator")
898 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") 901 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions")
899 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ 902 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \
900 defined(V8_TARGET_ARCH_PPC64) 903 defined(V8_TARGET_ARCH_PPC64)
901 DEFINE_INT(sim_stack_alignment, 16, 904 DEFINE_INT(sim_stack_alignment, 16,
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 #undef DEFINE_ALIAS_FLOAT 1293 #undef DEFINE_ALIAS_FLOAT
1291 #undef DEFINE_ALIAS_ARGS 1294 #undef DEFINE_ALIAS_ARGS
1292 1295
1293 #undef FLAG_MODE_DECLARE 1296 #undef FLAG_MODE_DECLARE
1294 #undef FLAG_MODE_DEFINE 1297 #undef FLAG_MODE_DEFINE
1295 #undef FLAG_MODE_DEFINE_DEFAULTS 1298 #undef FLAG_MODE_DEFINE_DEFAULTS
1296 #undef FLAG_MODE_META 1299 #undef FLAG_MODE_META
1297 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1300 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1298 1301
1299 #undef COMMA 1302 #undef COMMA
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/parsing/parse-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698