Skip to content

Conversation

TianlongLiang
Copy link
Collaborator

@TianlongLiang TianlongLiang commented May 10, 2024

Use WASMFuncType to represent tag_type in WASMTagImport and WASMTag so that the type definition is consistent no matter to GC is enabled or disabled. This patch will fix #3409

#endif
tag_type->types[tti],
#if WASM_ENABLE_GC != 0
ref_type,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ref_type isn't set above, do you mean WASMRefType *ref_type = &wasm_ref_type?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment and use &wasm_ref_type directly

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit c6d42db into bytecodealliance:main May 13, 2024
@TianlongLiang TianlongLiang deleted the dev/fix_wasmtype_conversion branch July 1, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation errors when build iwasm with GC and EH support
2 participants