diff options
author | Alon Zakai <azakai@google.com> | 2021-01-12 22:50:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 14:50:54 -0800 |
commit | dc7184afcbdcc72d0a6d66e2b36fc5857050dd87 (patch) | |
tree | 1ccadec38943894c28b720920057313001f31326 /src/passes/OptimizeInstructions.cpp | |
parent | 46f0229bfd3c145873eca4d7db5e14f657ad729b (diff) | |
download | binaryen-dc7184afcbdcc72d0a6d66e2b36fc5857050dd87.tar.gz binaryen-dc7184afcbdcc72d0a6d66e2b36fc5857050dd87.tar.bz2 binaryen-dc7184afcbdcc72d0a6d66e2b36fc5857050dd87.zip |
[GC] Fix casts of non-GC data (#3483)
The code previously assumed it could always call getGCData, but
that assumes the input is an array or a struct. It could also be an
anyref etc. that contains something other than GC data.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions