summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1713556.js
blob: 0db7a3aa2572823aa32d5aa7e38bd1019ae4ecd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
)