summaryrefslogtreecommitdiff
path: root/src/passes/SimplifyLocals.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-11-07 08:34:56 -0800
committerGitHub <noreply@github.com>2024-11-07 08:34:56 -0800
commit0af8f1f2d7ff304837ee0698265c84985420fcae (patch)
tree5a137b0483b95894126422a31c687054cda5db73 /src/passes/SimplifyLocals.cpp
parentab8a41c85ddb1ea783bc8a8832254f992262bed6 (diff)
downloadbinaryen-0af8f1f2d7ff304837ee0698265c84985420fcae.tar.gz
binaryen-0af8f1f2d7ff304837ee0698265c84985420fcae.tar.bz2
binaryen-0af8f1f2d7ff304837ee0698265c84985420fcae.zip
[wasm64] Fuzzer: Fix table import operations on table64 (#7056)
The old code assumed the index was a JS number, but if the table has 64-bit indexes it must be a BigInt. Detect that and cast as needed.
Diffstat (limited to 'src/passes/SimplifyLocals.cpp')
0 files changed, 0 insertions, 0 deletions