diff options
author | Thomas Lively <tlively@google.com> | 2024-04-11 09:22:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 09:22:04 -0700 |
commit | adea6e0f80c68108691f28ab4aa81b8f8973ac35 (patch) | |
tree | f14db2e43e7307a3472e297e014f109b8fb28f7c /src/wasm/wasm-ir-builder.cpp | |
parent | dd092420b9468450fa7cbded8adbdc8489857a0e (diff) | |
download | binaryen-adea6e0f80c68108691f28ab4aa81b8f8973ac35.tar.gz binaryen-adea6e0f80c68108691f28ab4aa81b8f8973ac35.tar.bz2 binaryen-adea6e0f80c68108691f28ab4aa81b8f8973ac35.zip |
Ensure printed tuple.extract arity is valid (#6487)
We previously printed the size of the tuple operand as the arity, but that
printed `1` when the operand is unreachable. We don't allow our text input to
use `1` as the arity, so don't print it, either. Instead, print the smallest
valid arity, `2`, in this case.
Diffstat (limited to 'src/wasm/wasm-ir-builder.cpp')
0 files changed, 0 insertions, 0 deletions