@@ -58,13 +58,13 @@ DEFINE_BOOL_READONLY(readonly_flag, "readonly-flag", FALSE, "Example")
58
58
*/
59
59
60
60
DEFINE_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" )
62
61
DEFINE_BOOL (aot_lazy_assembly_load , "aot-lazy-assembly-load" , FALSE, "Load assemblies referenced by AOT images lazily" )
63
62
64
63
#if HOST_BROWSER
65
64
DEFINE_BOOL (interp_pgo_recording , "interp-pgo-recording" , TRUE, "Record interpreter tiering information for automatic PGO" )
66
65
#else
67
66
DEFINE_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" )
68
68
#endif
69
69
DEFINE_BOOL (interp_pgo_logging , "interp-pgo-logging" , FALSE, "Log messages when interpreter PGO optimizes a method or updates its table" )
70
70
DEFINE_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
79
79
DEFINE_BOOL (jiterpreter_interp_entry_enabled , "jiterpreter-interp-entry-enabled" , TRUE, "JIT specialized WASM interp_entry wrappers" )
80
80
// jit_call_enabled controls whether do_jit_call will use specialized trampolines for hot call sites
81
81
DEFINE_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" )
82
84
#else
83
85
// 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" )
85
87
// interp_entry_enabled controls whether specialized interp_entry wrappers will be jitted
86
88
DEFINE_BOOL_READONLY (jiterpreter_interp_entry_enabled , "jiterpreter-interp-entry-enabled" , FALSE, "JIT specialized WASM interp_entry wrappers" )
87
89
// jit_call_enabled controls whether do_jit_call will use specialized trampolines for hot call sites
88
90
DEFINE_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" )
89
93
#endif // DISABLE_THREADS
90
94
91
95
// enables using WASM try/catch_all instructions where appropriate (currently only do_jit_call),
0 commit comments