diff options
author | Alon Zakai <azakai@google.com> | 2023-02-24 11:11:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 11:11:20 -0800 |
commit | 1c697a42228a9a8a2b953e6fa26431643a61b525 (patch) | |
tree | 869899bf4e5929fa11800eff241cf0bd93023226 /src/ir/ReFinalize.cpp | |
parent | c193c59f338cfc24d6803fba1c04c523d0d6109b (diff) | |
download | binaryen-1c697a42228a9a8a2b953e6fa26431643a61b525.tar.gz binaryen-1c697a42228a9a8a2b953e6fa26431643a61b525.tar.bz2 binaryen-1c697a42228a9a8a2b953e6fa26431643a61b525.zip |
[wasm-ctor-eval] Properly handle multiple ctors with GC (#5522)
Before, a single ctor with GC worked, but any subsequent ones simply dropped
the globals from the previous ones, because we were missing an addGlobal in
an important place.
Also, we can get confused about which global names are in use in the module, so fix
that as well by storing them directly (we keep removing and re-adding globals, so
we can't use the normal module mechanism to find which names are in use).
Diffstat (limited to 'src/ir/ReFinalize.cpp')
0 files changed, 0 insertions, 0 deletions