blob: 4317a53b2625152a6e1f2d127992625f42cf0292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
let { exports } = new WebAssembly.Instance(new WebAssembly.Module(
wasmTextToBinary(`
(module
(func (export "g")
(drop
(block (result i32)
(i32.clz (i32.const 1))
(if
(i32.const 1)
(then (return)))))))`)));
exports.g();
|