Bug 1879238: Implement casting for exnref hierarchy. r=yury
commit699e5652b7d01c35472cee304bade6cfb6a97f92
authorBen Visness <bvisness@mozilla.com>
Tue, 13 Feb 2024 18:49:04 +0000 (13 18:49 +0000)
committerBen Visness <bvisness@mozilla.com>
Tue, 13 Feb 2024 18:49:04 +0000 (13 18:49 +0000)
treefe09e603a8b27abe7a48fb0182863185b072b1ed
parent7b638f99e22575d0a9192edbe16d7db0f4f89771
Bug 1879238: Implement casting for exnref hierarchy. r=yury

This was simply not implemented, and was hitting all our MOZ_CRASHes.

Differential Revision: https://phabricator.services.mozilla.com/D201155
js/public/friend/ErrorNumbers.msg
js/src/jit-test/tests/wasm/exnref/casting.js [new file with mode: 0644]
js/src/jit-test/tests/wasm/simd/ad-hack.js
js/src/jit-test/tests/wasm/simd/js-api.js
js/src/jit/CodeGenerator.cpp
js/src/jit/Lowering.cpp
js/src/jit/MacroAssembler.cpp
js/src/jit/MacroAssembler.h
js/src/wasm/WasmBaselineCompile.cpp
js/src/wasm/WasmTypeDef.h
js/src/wasm/WasmValType.h