This commit is contained in:
TL 2025-02-25 15:39:57 +08:00
parent 035f758734
commit a62d10400f

View File

@ -2396,7 +2396,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
else else
cur_func_type = cur_func->u.func->func_type; cur_func_type = cur_func->u.func->func_type;
/* clang-format off */ /* clang-format off */
#if WASM_ENABLE_GC == 0 #if WASM_ENABLE_GC == 0
if (cur_type != cur_func_type) { if (cur_type != cur_func_type) {
wasm_set_exception(module, "indirect call type mismatch"); wasm_set_exception(module, "indirect call type mismatch");