Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/runOnModuleCode
/
.
/
test
/
unit
/
input
/
stack_ir.wat
blob: 0d5d0dfc38522bea3c3b5b4940d35607e63cfbc6 [
file
] [
log
] [
blame
] [
edit
]
(
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
)
)