diff options
author | Alon Zakai <azakai@google.com> | 2022-12-12 16:12:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 16:12:08 -0800 |
commit | 0668d9328ad57100103d6b59f40de513659e1c6b (patch) | |
tree | 0b0c59d5340034a151369e96906a45e1ecf1421f /scripts | |
parent | 6c0d8f7bb674da1cf22499873f6fe87e45f3be64 (diff) | |
download | binaryen-0668d9328ad57100103d6b59f40de513659e1c6b.tar.gz binaryen-0668d9328ad57100103d6b59f40de513659e1c6b.tar.bz2 binaryen-0668d9328ad57100103d6b59f40de513659e1c6b.zip |
[Wasm GC] Fix GlobalStructInference on unrefined globals (#5338)
If a global's type is not fully refined, then when --gsi replaces a reference with
a global.get, we end up with a type that might not be good enough. For example,
if the type is any then it is not a subtype of eq and we can't do ref.eq on it, which
this pass requires. We also can't just do struct.get on it if it is a too-distant parent
or such.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions