blob: 0d5d0dfc38522bea3c3b5b4940d35607e63cfbc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
(module
(import "env" "bar" (func $bar (param i32) (result i32)))
(func "foo1" (result i32)
(local $x i32)
(local.set $x (call $bar (i32.const 0)))
(drop
(call $bar (i32.const 1))
)
(local.get $x) ;; local2stack can help here
)
)
|