Skip to content

Conversation

@kylo5aby
Copy link
Contributor

@kylo5aby kylo5aby commented Jan 22, 2026

Complete the coverage of common heap types by extending the range check
in wasm_is_refheaptype_common() to include HEAP_TYPE_NOEXTERN and
HEAP_TYPE_NOFUNC. Also fix the assertion condition in wasm_ref_type_set_heap_type()
which had an incorrect range check that was always false.

@kylo5aby kylo5aby marked this pull request as draft January 22, 2026 09:29
@kylo5aby kylo5aby marked this pull request as ready for review January 22, 2026 10:02
@kylo5aby kylo5aby changed the title gc: complete common heap type coverage in wasm_is_refheaptype_common() gc: complete common heap type coverage Jan 22, 2026
Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
@kylo5aby kylo5aby force-pushed the gc-type branch 2 times, most recently from de94780 to bd679be Compare January 22, 2026 10:12
@lum1n0us lum1n0us added the breaking-change Determine if this PR introduces breaking changes. It will be used by scripts to classify PRs. label Jan 22, 2026
Copy link
Contributor

@lum1n0us lum1n0us left a comment

Choose a reason for hiding this comment

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

might want to mention that both exn(0x74 or -12 as S7) and noexn(0x69 or -23 as S7) are not suppoted yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Determine if this PR introduces breaking changes. It will be used by scripts to classify PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants