summaryrefslogtreecommitdiff
path: root/src/parser/contexts.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-10-02 13:12:38 -0700
committerGitHub <noreply@github.com>2023-10-02 13:12:38 -0700
commit77f36789aac707d1d5daed20e6e7612c9a9af51b (patch)
treeb05d54a5164711c1b2807b9c5e5e54206627938e /src/parser/contexts.h
parentd49f518eee07d9c267a32ca9443069255b4cbd1f (diff)
downloadbinaryen-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