diff options
Diffstat (limited to 'js/src/jit-test/tests/cacheir/bug1713556.js')
-rw-r--r-- | js/src/jit-test/tests/cacheir/bug1713556.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/cacheir/bug1713556.js b/js/src/jit-test/tests/cacheir/bug1713556.js new file mode 100644 index 0000000000..0db7a3aa25 --- /dev/null +++ b/js/src/jit-test/tests/cacheir/bug1713556.js @@ -0,0 +1,25 @@ +// |jit-test| skip-if: !wasmIsSupported() + +function wasmEvalText(str ) { + binary = wasmTextToBinary(str) + m = new WebAssembly.Module(binary) + return new WebAssembly.Instance(m) +} +ins = wasmEvalText(` + (func (export "get1") (param)) +`); +ins.exports.get1( + 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 + ,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 +) |