123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- (module
- 'func'
- '$add'
- 'param'
- '$lhs'
- 'i32'
- ''
- 'param'
- '$rhs'
- 'i32'
- ''
- 'result'
- 'i32'
- ''
- 'local.get'
- '$lhs'
- 'local.get'
- '$rhs'
- 'i32.add'
- ''
- 'export'
- '"add"'
- 'func'
- '$add'
- ''
- ''
- ''
- ''
- )
- (module
- 'func'
- '$getAnswer'
- 'result'
- 'i32'
- ''
- 'i32.const'
- '42'
- ''
- 'func'
- 'export'
- '"getAnswerPlus1"'
- ''
- 'result'
- 'i32'
- ''
- 'call'
- '$getAnswer'
- 'i32.const'
- '1'
- 'i32.add'
- ''
- ''
- ''
- )
- (module
- ''
- )
- (module
- 'import'
- '"console"'
- '"log"'
- 'func'
- '$log'
- 'param'
- 'i32'
- 'i32'
- ''
- ''
- ''
- 'import'
- '"js"'
- '"mem"'
- 'memory'
- '1'
- ''
- ''
- 'data'
- 'i32.const'
- '0'
- ''
- '"Hi"'
- ''
- 'func'
- 'export'
- '"writeHi"'
- ''
- 'i32.const'
- '0'
- 'i32.const'
- '2'
- 'call'
- '$log'
- ''
- ''
- ''
- )
- (module
- 'import'
- '"console"'
- '"log"'
- 'func'
- '$log'
- 'param'
- 'i32'
- ''
- ''
- ''
- 'func'
- 'export'
- '"logIt"'
- ''
- 'i32.const'
- '13'
- 'call'
- '$log'
- ''
- ''
- ''
- )
- (module
- 'import'
- '"js"'
- '"memory"'
- 'memory'
- '1'
- ''
- ''
- 'import'
- '"js"'
- '"table"'
- 'table'
- '1'
- 'anyfunc'
- ''
- ''
- 'elem'
- 'i32.const'
- '0'
- ''
- '$shared0func'
- ''
- 'func'
- '$shared0func'
- 'result'
- 'i32'
- ''
- 'i32.const'
- '0'
- 'i32.load'
- ''
- ''
- ''
- )
- (module
- 'import'
- '"js"'
- '"memory"'
- 'memory'
- '1'
- ''
- ''
- 'import'
- '"js"'
- '"table"'
- 'table'
- '1'
- 'anyfunc'
- ''
- ''
- 'type'
- '$void_to_i32'
- 'func'
- 'result'
- 'i32'
- ''
- ''
- ''
- 'func'
- 'export'
- '"doIt"'
- ''
- 'result'
- 'i32'
- ''
- 'i32.store'
- 'i32.const'
- '0'
- ''
- 'i32.const'
- '42'
- ''
- ''
- 'call_indirect'
- '$void_to_i32'
- 'i32.const'
- '0'
- ''
- ''
- ''
- ''
- ''
- )
- (module
- 'table'
- '2'
- 'anyfunc'
- ''
- 'func'
- '$f1'
- 'result'
- 'i32'
- ''
- 'i32.const'
- '42'
- ''
- 'func'
- '$f2'
- 'result'
- 'i32'
- ''
- 'i32.const'
- '13'
- ''
- 'elem'
- 'i32.const'
- '0'
- ''
- '$f1'
- '$f2'
- ''
- 'type'
- '$return_i32'
- 'func'
- 'result'
- 'i32'
- ''
- ''
- ''
- 'func'
- 'export'
- '"callByIndex"'
- ''
- 'param'
- '$i'
- 'i32'
- ''
- 'result'
- 'i32'
- ''
- 'local.get'
- '$i'
- 'call_indirect'
- 'type'
- '$return_i32'
- ''
- ''
- ''
- ''
- )
- parsed 58 lines
|