summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/pass-stack-int64.js
blob: 94497f35deac49ee2dee50f661af962efbe2eade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var params = '';
var locals = '';
for (let i = 0; i < 20; i++) {
    params += '(param i64) ';
    locals += `(local.get ${i}) `;
}

wasmEvalText(`
(module
    (func
        ${params}
        (call 0 ${locals})
    )
)
`);