support WASM_FUNCREF return type in argv_to_results

This commit is contained in:
James Ring 2024-11-25 22:38:08 -08:00
parent 1d111a38d6
commit ce4fa25345

View File

@ -3330,6 +3330,7 @@ argv_to_results(const uint32 *argv, const wasm_valtype_vec_t *result_defs,
break;
#if WASM_ENABLE_GC == 0 && WASM_ENABLE_REF_TYPES != 0
case WASM_EXTERNREF:
case WASM_FUNCREF:
result->of.ref = (struct wasm_ref_t *)(*(uintptr_t *)argv);
argv += sizeof(uintptr_t) / sizeof(uint32);
break;