summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/pass-stack-int64.js
blob: 0350f5ad8377c3455a23d57586599ef6eb418db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
load(libdir + "wasm.js");

var params = '';
var locals = '';
for (let i = 0; i < 20; i++) {
    params += '(param i64) ';
    locals += `(get_local ${i}) `;
}

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