diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-06-18 09:37:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 09:37:09 -0700 |
commit | bab21052c3e12df7ad2fd3711d0fe6e69e05f449 (patch) | |
tree | 0ff5e87412853db2253ade9373d95b118e68f892 /src/binaryen-c.cpp | |
parent | 4652398b62ce0546f015cdc2c7b3010938c7c5a9 (diff) | |
download | binaryen-bab21052c3e12df7ad2fd3711d0fe6e69e05f449.tar.gz binaryen-bab21052c3e12df7ad2fd3711d0fe6e69e05f449.tar.bz2 binaryen-bab21052c3e12df7ad2fd3711d0fe6e69e05f449.zip |
Do not emit recursion groups without GC enabled (#4738)
We emit nominal types as a single large recursion group, but this produces
invalid modules when --nominal or --hybrid was used without GC enabled. Fix the
bug by always emitting types as though they were structural (i.e. without
recursion groups) when GC is not enabled.
Fixes #4723.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions