@@ -58,13 +58,13 @@ DEFINE_BOOL_READONLY(readonly_flag, "readonly-flag", FALSE, "Example")
5858*/
5959
6060DEFINE_BOOL (wasm_exceptions , "wasm-exceptions" , FALSE, "Enable codegen for WASM exceptions" )
61- DEFINE_BOOL (wasm_gc_safepoints , "wasm-gc-safepoints" , FALSE, "Use GC safepoints on WASM" )
6261DEFINE_BOOL (aot_lazy_assembly_load , "aot-lazy-assembly-load" , FALSE, "Load assemblies referenced by AOT images lazily" )
6362
6463#if HOST_BROWSER
6564DEFINE_BOOL (interp_pgo_recording , "interp-pgo-recording" , TRUE, "Record interpreter tiering information for automatic PGO" )
6665#else
6766DEFINE_BOOL (interp_pgo_recording , "interp-pgo-recording" , FALSE, "Record interpreter tiering information for automatic PGO" )
67+ DEFINE_BOOL (wasm_gc_safepoints , "wasm-gc-safepoints" , FALSE, "Use GC safepoints on WASM" )
6868#endif
6969DEFINE_BOOL (interp_pgo_logging , "interp-pgo-logging" , FALSE, "Log messages when interpreter PGO optimizes a method or updates its table" )
7070DEFINE_BOOL (interp_codegen_timing , "interp-codegen-timing" , FALSE, "Measure time spent generating interpreter code and log it periodically" )
@@ -79,13 +79,17 @@ DEFINE_BOOL(jiterpreter_traces_enabled, "jiterpreter-traces-enabled", TRUE, "JIT
7979DEFINE_BOOL (jiterpreter_interp_entry_enabled , "jiterpreter-interp-entry-enabled" , TRUE, "JIT specialized WASM interp_entry wrappers" )
8080// jit_call_enabled controls whether do_jit_call will use specialized trampolines for hot call sites
8181DEFINE_BOOL (jiterpreter_jit_call_enabled , "jiterpreter-jit-call-enabled" , TRUE, "JIT specialized WASM do_jit_call trampolines" )
82+
83+ DEFINE_BOOL (wasm_gc_safepoints , "wasm-gc-safepoints" , FALSE, "Use GC safepoints on WASM" )
8284#else
8385// traces_enabled controls whether the jiterpreter will JIT individual interpreter opcode traces
84- DEFINE_BOOL (jiterpreter_traces_enabled , "jiterpreter-traces-enabled" , TRUE , "JIT interpreter opcode traces into WASM" )
86+ DEFINE_BOOL_READONLY (jiterpreter_traces_enabled , "jiterpreter-traces-enabled" , FALSE , "JIT interpreter opcode traces into WASM" )
8587// interp_entry_enabled controls whether specialized interp_entry wrappers will be jitted
8688DEFINE_BOOL_READONLY (jiterpreter_interp_entry_enabled , "jiterpreter-interp-entry-enabled" , FALSE, "JIT specialized WASM interp_entry wrappers" )
8789// jit_call_enabled controls whether do_jit_call will use specialized trampolines for hot call sites
8890DEFINE_BOOL_READONLY (jiterpreter_jit_call_enabled , "jiterpreter-jit-call-enabled" , FALSE, "JIT specialized WASM do_jit_call trampolines" )
91+
92+ DEFINE_BOOL_READONLY (wasm_gc_safepoints , "wasm-gc-safepoints" , TRUE, "Use GC safepoints on WASM" )
8993#endif // DISABLE_THREADS
9094
9195// enables using WASM try/catch_all instructions where appropriate (currently only do_jit_call),
0 commit comments