git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: a560c11794c6a4a7ea60a385f2aba1532a51d0af

Files: a560c11794c6a4a7ea60a385f2aba1532a51d0af / tests / wast / funcRef_reciever.wast

439 bytesRaw
1(module
2 (import "func" "internalize" (func $internalize (param i32 i32)))
3 (import "func" "set_gas_budget" (func $set_gas_budget (param i32 i32)))
4 (table (export "table") 1 1 anyfunc)
5 (func $receive (param i32)
6 get_local 0
7 i32.const 10500
8 call $set_gas_budget
9
10 get_local 0
11 i32.const 0
12 call $internalize
13 i32.const 5
14 i32.const 0
15 call_indirect (param i32)
16 )
17 (export "receive" (func $receive)))
18

Built with git-ssb-web