diff options
author | Jérôme Vouillon <jerome.vouillon@gmail.com> | 2023-09-21 20:26:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 11:26:53 -0700 |
commit | a35af4b1e9461b12fd7993b4fd249bd39d73945d (patch) | |
tree | 5643c36c5dac5acead49a93c9a2007c3a99e0b91 /scripts/gen-s-parser.py | |
parent | 199811942d5f88d1d54158c9d7d5d5026cb1accb (diff) | |
download | binaryen-a35af4b1e9461b12fd7993b4fd249bd39d73945d.tar.gz binaryen-a35af4b1e9461b12fd7993b4fd249bd39d73945d.tar.bz2 binaryen-a35af4b1e9461b12fd7993b4fd249bd39d73945d.zip |
Make heap2local work through casts (#5952)
E.g.
(local $x (ref eq)
...
(local.set $x
(struct.new $float
...
)
)
(struct.get $float 0
(ref.cast (ref $float)
(local.get $x)
)
)
This PR allows us to use heap2local, ignoring the passing cast.
This is similar to existing handling of ref.as_non_null.
Diffstat (limited to 'scripts/gen-s-parser.py')
0 files changed, 0 insertions, 0 deletions