blob: 19155019c1609c2dc0ff04b36b19b9683f87c178 [file] [log] [blame] [edit]
(module
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$i (func (result i32)))
(import "env" "setTempRet0" (func $setTempRet0 (param i32)))
(import "env" "getTempRet0" (func $getTempRet0 (result i32)))
(import "env" "illegalImportResult" (func $legalimport$illegalImportResult (result i32)))
(export "illegalResult" (func $legalstub$illegalResult))
(export "imports" (func $imports))
(func $imports (; 3 ;) (; has Stack IR ;) (result i32)
(i32.wrap_i64
(i64.or
(i64.extend_i32_u
(call $legalimport$illegalImportResult)
)
(i64.shl
(i64.extend_i32_u
(call $getTempRet0)
)
(i64.const 32)
)
)
)
)
(func $legalstub$illegalResult (; 4 ;) (; has Stack IR ;) (result i32)
(call $setTempRet0
(i32.const 2)
)
(i32.const 1)
)
)