File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -637,16 +637,19 @@ void V8Engine::initialize()
637
637
M_insist (not isolate_);
638
638
639
639
/* ----- Set V8 flags. --------------------------------------------------------------------------------------------*/
640
+ /* A documentation of these flags can be found at
641
+ * https://chromium.googlesource.com/v8/v8/+/67180425bcecc021a3aa8df23b44afa531ab6630/src/flags/flag-definitions.h.*/
640
642
std::ostringstream flags;
641
643
flags << " --stack_size 1000000 " ;
642
644
if (options::wasm_adaptive) {
643
645
flags << " --opt "
644
646
<< " --liftoff "
645
647
<< " --wasm-tier-up "
646
648
<< " --wasm-dynamic-tiering "
647
- << " --wasm-lazy-compilation " ;
649
+ << " --wasm-lazy-compilation " ; // compile code lazily at runtime if needed
648
650
} else {
649
- flags << " --no-liftoff " ;
651
+ flags << " --no-liftoff "
652
+ << " --no-wasm-lazy-compilation " ; // compile code before starting execution
650
653
}
651
654
if (options::cdt_port >= 1024 ) {
652
655
flags << " --wasm-bounds-checks "
You can’t perform that action at this time.
0 commit comments