Correct Exception Handling tag type when GC is enabled (#3413)
Use `WASMFuncType` to represent tag_type in `WASMTagImport` and `WASMTag` so that the type definition is consistent no matter to GC is enabled or not. This PR fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/3409.
This commit is contained in:
@ -1612,7 +1612,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
||||
/* landing pad for the rethrow ? */
|
||||
find_a_catch_handler:
|
||||
{
|
||||
WASMType *tag_type = NULL;
|
||||
WASMFuncType *tag_type = NULL;
|
||||
uint32 cell_num_to_copy = 0;
|
||||
if (IS_INVALID_TAGINDEX(exception_tag_index)) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user