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

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

Issue 2384063010: [interpreter] Preserve bytecode by default. (Closed)
Patch Set: Rebased. Created 4 years, 2 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 | « no previous file | no next file » | 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 // Flags for data representation optimizations 289 // Flags for data representation optimizations
290 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 290 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
291 DEFINE_BOOL(string_slices, true, "use string slices") 291 DEFINE_BOOL(string_slices, true, "use string slices")
292 292
293 // Flags for Ignition. 293 // Flags for Ignition.
294 DEFINE_BOOL(ignition, false, "use ignition interpreter") 294 DEFINE_BOOL(ignition, false, "use ignition interpreter")
295 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") 295 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features")
296 DEFINE_IMPLICATION(ignition_staging, ignition) 296 DEFINE_IMPLICATION(ignition_staging, ignition)
297 DEFINE_IMPLICATION(ignition_staging, ignition_osr) 297 DEFINE_IMPLICATION(ignition_staging, ignition_osr)
298 DEFINE_IMPLICATION(ignition_staging, ignition_preserve_bytecode)
299 DEFINE_BOOL(ignition_eager, false, "eagerly compile and parse with ignition") 298 DEFINE_BOOL(ignition_eager, false, "eagerly compile and parse with ignition")
300 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") 299 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter")
301 DEFINE_BOOL(ignition_deadcode, true, 300 DEFINE_BOOL(ignition_deadcode, true,
302 "use ignition dead code elimination optimizer") 301 "use ignition dead code elimination optimizer")
303 DEFINE_BOOL(ignition_osr, false, "enable support for OSR from ignition code") 302 DEFINE_BOOL(ignition_osr, false, "enable support for OSR from ignition code")
304 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") 303 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer")
305 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") 304 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer")
306 DEFINE_BOOL(ignition_filter_expression_positions, true, 305 DEFINE_BOOL(ignition_filter_expression_positions, true,
307 "filter expression positions before the bytecode pipeline") 306 "filter expression positions before the bytecode pipeline")
308 DEFINE_BOOL(ignition_preserve_bytecode, false, 307 DEFINE_BOOL(ignition_preserve_bytecode, true,
309 "preserve generated bytecode even when switching tiers") 308 "preserve generated bytecode even when switching tiers")
310 DEFINE_BOOL(print_bytecode, false, 309 DEFINE_BOOL(print_bytecode, false,
311 "print bytecode generated by ignition interpreter") 310 "print bytecode generated by ignition interpreter")
312 DEFINE_BOOL(trace_ignition, false, 311 DEFINE_BOOL(trace_ignition, false,
313 "trace the bytecodes executed by the ignition interpreter") 312 "trace the bytecodes executed by the ignition interpreter")
314 DEFINE_BOOL(trace_ignition_codegen, false, 313 DEFINE_BOOL(trace_ignition_codegen, false,
315 "trace the codegen of ignition interpreter bytecode handlers") 314 "trace the codegen of ignition interpreter bytecode handlers")
316 DEFINE_BOOL(trace_ignition_dispatches, false, 315 DEFINE_BOOL(trace_ignition_dispatches, false,
317 "traces the dispatches to bytecode handlers by the ignition " 316 "traces the dispatches to bytecode handlers by the ignition "
318 "interpreter") 317 "interpreter")
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 #undef DEFINE_ALIAS_FLOAT 1218 #undef DEFINE_ALIAS_FLOAT
1220 #undef DEFINE_ALIAS_ARGS 1219 #undef DEFINE_ALIAS_ARGS
1221 1220
1222 #undef FLAG_MODE_DECLARE 1221 #undef FLAG_MODE_DECLARE
1223 #undef FLAG_MODE_DEFINE 1222 #undef FLAG_MODE_DEFINE
1224 #undef FLAG_MODE_DEFINE_DEFAULTS 1223 #undef FLAG_MODE_DEFINE_DEFAULTS
1225 #undef FLAG_MODE_META 1224 #undef FLAG_MODE_META
1226 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1227 1226
1228 #undef COMMA 1227 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698