blob: 0de46e0f0c9ae01dbe378922ecf92ee79ff278df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// |jit-test| skip-if: !wasmDebuggingEnabled() || !wasmSimdEnabled()
var g7 = newGlobal({newCompartment: true});
g7.parent = this;
g7.eval(`
Debugger(parent).onEnterFrame = function(frame) { };
`);
var ins = wasmEvalText(`
(memory (export "mem") 1 1)
(func (export "run")
(param $k i32)
(v128.store (i32.const 0) (call $f (local.get $k)))
)
(func $f
(param $k i32)
(result v128)
(v128.const i32x4 5 6 7 8)
)
`);
ins.exports.run(0);
|