[mono][wasm] Make experimental-gshared-mrgctx really true on WASM AOT. (#85770)
authorZoltan Varga <vargaz@gmail.com>
Thu, 4 May 2023 15:19:47 +0000 (11:19 -0400)
committerGitHub <noreply@github.com>
Thu, 4 May 2023 15:19:47 +0000 (11:19 -0400)
src/mono/mono/utils/options-def.h

index 566637d..1a6f58a 100644 (file)
@@ -145,7 +145,7 @@ DEFINE_INT(jiterpreter_interp_entry_queue_flush_threshold, "jiterpreter-interp-e
 DEFINE_INT(jiterpreter_wasm_bytes_limit, "jiterpreter-wasm-bytes-limit", 6 * 1024 * 1024, "Disable jiterpreter code generation once this many bytes of WASM have been generated")
 #endif // HOST_BROWSER
 
-#ifdef HOST_WASM
+#ifdef TARGET_WASM
 DEFINE_BOOL_READONLY(experimental_gshared_mrgctx, "experimental-gshared-mrgctx", TRUE, "Use a mrgctx for all gshared methods")
 #else
 DEFINE_BOOL(experimental_gshared_mrgctx, "experimental-gshared-mrgctx", FALSE, "Use a mrgctx for all gshared methods")