legacy function pointer typecasts fail in wasm

main
phani 5 years ago
parent 5016942e3f
commit 837fc3a7c0

@ -121,7 +121,8 @@ get_function_from_table(u32 idx, u32 type_id)
struct indirect_table_entry f = module_indirect_table[idx]; struct indirect_table_entry f = module_indirect_table[idx];
assert(f.type_id == type_id && f.func_pointer); // assert(f.type_id == type_id);
assert(f.func_pointer);
return f.func_pointer; return f.func_pointer;
} }

Loading…
Cancel
Save