bug1664979.js (512B)
1 // |jit-test| --fuzzing-safe; --ion-offthread-compile=off; skip-if: !wasmIsSupported() 2 3 var all = [undefined, null, ]; 4 function AsmModule(stdlib) { 5 "use asm"; 6 var fround = stdlib.Math.fround; 7 function fltConvNot(y38) { 8 y38 = fround(y38); 9 var i38 = 0; 10 i38 = ~((~~y38) | 0); 11 return (!!i38) | 0; 12 } 13 return { 14 fltConvNot: fltConvNot, 15 }; 16 } 17 var asmModule = AsmModule({ 18 Math: Math 19 }); 20 for (var i38 = 0; i38 < 10; ++i38) 21 asmModule.fltConvNot(all[i38])