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

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

Issue 1531243003: Turn on wasm flags all the time, add a reference from wasm functions to the module. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add missing file Created 5 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 | « src/factory.cc ('k') | src/wasm/wasm-js.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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "stress loop peeling optimization") 464 "stress loop peeling optimization")
465 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") 465 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan")
466 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") 466 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan")
467 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") 467 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code")
468 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") 468 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code")
469 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") 469 DEFINE_BOOL(turbo_escape, false, "enable escape analysis")
470 DEFINE_BOOL(trace_turbo_escape, false, "enable tracing in escape analysis") 470 DEFINE_BOOL(trace_turbo_escape, false, "enable tracing in escape analysis")
471 DEFINE_BOOL(turbo_instruction_scheduling, false, 471 DEFINE_BOOL(turbo_instruction_scheduling, false,
472 "enable instruction scheduling in TurboFan") 472 "enable instruction scheduling in TurboFan")
473 473
474 #if defined(V8_WASM)
475 // Flags for native WebAssembly. 474 // Flags for native WebAssembly.
476 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") 475 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript")
477 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") 476 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
478 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") 477 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code")
479 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") 478 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
480 DEFINE_BOOL(wasm_break_on_decoder_error, false, 479 DEFINE_BOOL(wasm_break_on_decoder_error, false,
481 "debug break when wasm decoder encounters an error") 480 "debug break when wasm decoder encounters an error")
482 #endif
483 481
484 DEFINE_INT(typed_array_max_size_in_heap, 64, 482 DEFINE_INT(typed_array_max_size_in_heap, 64,
485 "threshold for in-heap typed array") 483 "threshold for in-heap typed array")
486 484
487 // Profiler flags. 485 // Profiler flags.
488 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 486 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
489 // 0x1800 fits in the immediate field of an ARM instruction. 487 // 0x1800 fits in the immediate field of an ARM instruction.
490 DEFINE_INT(interrupt_budget, 0x1800, 488 DEFINE_INT(interrupt_budget, 0x1800,
491 "execution budget before interrupt is triggered") 489 "execution budget before interrupt is triggered")
492 DEFINE_INT(type_info_threshold, 25, 490 DEFINE_INT(type_info_threshold, 25,
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 #undef DEFINE_ALIAS_FLOAT 1134 #undef DEFINE_ALIAS_FLOAT
1137 #undef DEFINE_ALIAS_ARGS 1135 #undef DEFINE_ALIAS_ARGS
1138 1136
1139 #undef FLAG_MODE_DECLARE 1137 #undef FLAG_MODE_DECLARE
1140 #undef FLAG_MODE_DEFINE 1138 #undef FLAG_MODE_DEFINE
1141 #undef FLAG_MODE_DEFINE_DEFAULTS 1139 #undef FLAG_MODE_DEFINE_DEFAULTS
1142 #undef FLAG_MODE_META 1140 #undef FLAG_MODE_META
1143 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1141 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1144 1142
1145 #undef COMMA 1143 #undef COMMA
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698