mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-03-28 08:51:05 +00:00
27 lines
488 B
Plaintext
27 lines
488 B
Plaintext
(module
|
|
(type (;0;) (func))
|
|
(type (;1;) (func (param i32)))
|
|
(import "env" "gas" (func (;0;) (type 1)))
|
|
(func (;1;) (type 0)
|
|
i32.const 3
|
|
call 0
|
|
i32.const 1
|
|
if ;; label = @1
|
|
i32.const 2
|
|
call 0
|
|
loop ;; label = @2
|
|
i32.const 3
|
|
call 0
|
|
i32.const 123
|
|
drop
|
|
end
|
|
end)
|
|
(func (;2;) (type 0)
|
|
i32.const 2
|
|
call 0
|
|
block ;; label = @1
|
|
i32.const 1
|
|
call 0
|
|
end)
|
|
(export "simple" (func 1)))
|