summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-08-12 09:31:37 -0700
committerGitHub <noreply@github.com>2021-08-12 09:31:37 -0700
commitb84d2cf5491cabdeac565dcd9695d1673037f7e9 (patch)
tree68fc4c43d662c2c7d5baf68c07fa6bcc1cc23058 /test/binaryen.js
parent344bfe98b3d4cdb9dac223e9b6b8be7f96332d59 (diff)
downloadbinaryen-b84d2cf5491cabdeac565dcd9695d1673037f7e9.tar.gz
binaryen-b84d2cf5491cabdeac565dcd9695d1673037f7e9.tar.bz2
binaryen-b84d2cf5491cabdeac565dcd9695d1673037f7e9.zip
Fix signed_ field initialization in Load. (#4075)
This was being set in the creation of Loads in the binary reader, but forgotten in the SIMD logic - which ends up creating a Load with type v128, and signed_ was uninitialized. Very hard to test this, but I saw it "break" hash value computation which is how I noticed this. Also initialize the I31 sign field. Now all of them in wasm.h are properly initialized.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions