diff options
author | Thomas Lively <tlively@google.com> | 2023-10-02 13:12:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 13:12:38 -0700 |
commit | 77f36789aac707d1d5daed20e6e7612c9a9af51b (patch) | |
tree | b05d54a5164711c1b2807b9c5e5e54206627938e /src/parser/contexts.h | |
parent | d49f518eee07d9c267a32ca9443069255b4cbd1f (diff) | |
download | binaryen-77f36789aac707d1d5daed20e6e7612c9a9af51b.tar.gz binaryen-77f36789aac707d1d5daed20e6e7612c9a9af51b.tar.bz2 binaryen-77f36789aac707d1d5daed20e6e7612c9a9af51b.zip |
Refine ref.test's castType during refinalization (#5985)
Just like we do with other casts, refine the cast type to be the greatest lower
bound of its previous cast type and its input type. The difference is that the
output type of ref.test remains i32, but it's still useful to retain more
precise type information.
Diffstat (limited to 'src/parser/contexts.h')
0 files changed, 0 insertions, 0 deletions