3 ms·
Generating wasm code at runtime is pretty easy (I'd imagine easier than generating valid asm.js code). We have a little library for our tests that handles a lot
by eqrion 5mo ago
Generating wasm code at runtime is pretty easy (I'd imagine easier than generating valid asm.js code). We have a little library for our tests that handles a lot of it: https://searchfox.org/firefox-main/source/js/src/jit-test/lib/wasm-binary.js#1 https://searchfox.org/firefox-main/source/js/src/jit-test/li...