summaryrefslogtreecommitdiff
path: root/src/ir/ReFinalize.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-02-24 11:11:20 -0800
committerGitHub <noreply@github.com>2023-02-24 11:11:20 -0800
commit1c697a42228a9a8a2b953e6fa26431643a61b525 (patch)
tree869899bf4e5929fa11800eff241cf0bd93023226 /src/ir/ReFinalize.cpp
parentc193c59f338cfc24d6803fba1c04c523d0d6109b (diff)
downloadbinaryen-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