mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-22 02:07:58 +00:00
fdce5c64f1
I tried locally merge `fix-tests` and `fix-clippy` branches and CI should work after my PRs
20 lines
276 B
WebAssembly Text Format
20 lines
276 B
WebAssembly Text Format
(module
|
|
(func $add_locals (param $x i32) (param $y i32) (result i32)
|
|
(local $t i32)
|
|
|
|
local.get $x
|
|
local.get $y
|
|
call $add
|
|
local.set $t
|
|
|
|
local.get $t
|
|
)
|
|
|
|
(func $add (param $x i32) (param $y i32) (result i32)
|
|
(i32.add
|
|
(local.get $x)
|
|
(local.get $y)
|
|
)
|
|
)
|
|
)
|