summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-12 12:38:38 -0600
committerGitHub <noreply@github.com>2023-01-12 10:38:38 -0800
commit51ac6ef642540d46af9b10869d047c8c6730a6c1 (patch)
treea747064e4c164c47b2cbc12cb75ea59312bf33d2 /src/binaryen-c.cpp
parent4663321f956c5a4c0ceed2e7be7a81be57e8f921 (diff)
downloadbinaryen-51ac6ef642540d46af9b10869d047c8c6730a6c1.tar.gz
binaryen-51ac6ef642540d46af9b10869d047c8c6730a6c1.tar.bz2
binaryen-51ac6ef642540d46af9b10869d047c8c6730a6c1.zip
[Wasm GC] Generalize `skipCast` to work with all type hierarchies (#5422)
`skipCast` takes an optional parameter that bounds how general the resulting type is allowed to be. That parameter previously had a default value of `anyref` with the intention of allowing all casts to be skipped, but that default inadvertently prevented any casts in the `func` or `extern` type hierarchies from being skipped. Update `skipCast` so that the default parameter allows all casts to be skipped in all hierarchies.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions