bug1940716.js (478B)
1 // |jit-test| --disable-main-thread-denormals; skip-if: !getBuildConfiguration("can-disable-main-thread-denormals") || !wasmIsSupported() || (getBuildConfiguration("osx") && getBuildConfiguration("arm64")); 2 3 function a(b) { 4 c = new WebAssembly.Module(b); 5 return new WebAssembly.Instance(c); 6 } 7 function d(e) { 8 return a(wasmTextToBinary(e)); 9 } 10 f = [ , Number.MIN_VALUE ] 11 let { refTest } = d(`(func (export "refTest") (param externref))`).exports; 12 for (h of f) 13 refTest(h);