bug1713556.js (825B)
1 // |jit-test| skip-if: !wasmIsSupported() 2 3 function wasmEvalText(str ) { 4 binary = wasmTextToBinary(str) 5 m = new WebAssembly.Module(binary) 6 return new WebAssembly.Instance(m) 7 } 8 ins = wasmEvalText(` 9 (func (export "get1") (param)) 10 `); 11 ins.exports.get1( 12 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 13 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 14 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 15 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 16 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 17 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 18 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 19 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 20 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 21 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 22 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 23 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 24 ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 25 )