blob: 83f4c1b9a90fa96017d19741834381fbaf35117b [file] [edit]
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$vi (func (param i32)))
(import "env" "__cxa_begin_catch" (func $__cxa_begin_catch (param i32) (result i32)))
(import "env" "__cxa_end_catch" (func $__cxa_end_catch))
(import "env" "__cxa_find_matching_catch_3" (func $__cxa_find_matching_catch_3 (param i32) (result i32)))
(import "env" "invoke_v" (func $invoke_v (param i32)))
(import "env" "longjmp" (func $longjmp (param i32 i32)))
(import "env" "setjmp" (func $setjmp (param i32) (result i32)))
(import "env" "memory" (memory $0 1))
(import "env" "foo" (func $foo))
(table 2 2 anyfunc)
(elem (i32.const 0) $__wasm_nullptr $__importThunk_foo)
(data (i32.const 4) " \04\00\00")
(data (i32.const 12) "\00\00\00\00")
(data (i32.const 16) "\00\00\00\00")
(data (i32.const 20) "\00\00\00\00")
(export "exception" (func $exception))
(export "setjmp_longjmp" (func $setjmp_longjmp))
(export "setThrew" (func $setThrew))
(export "setTempRet0" (func $setTempRet0))
(export "dynCall_v" (func $dynCall_v))
(func $exception
(local $0 i32)
(i32.store offset=12
(i32.const 0)
(i32.const 0)
)
(call $invoke_v
(i32.const 1)
)
(set_local $0
(i32.load offset=12
(i32.const 0)
)
)
(i32.store offset=12
(i32.const 0)
(i32.const 0)
)
(block $label$0
(br_if $label$0
(i32.ne
(get_local $0)
(i32.const 1)
)
)
(drop
(call $__cxa_begin_catch
(call $__cxa_find_matching_catch_3
(i32.const 0)
)
)
)
(call $__cxa_end_catch)
)
)
(func $setjmp_longjmp
(local $0 i32)
(i32.store offset=4
(i32.const 0)
(tee_local $0
(i32.sub
(i32.load offset=4
(i32.const 0)
)
(i32.const 160)
)
)
)
(drop
(call $setjmp
(get_local $0)
)
)
(call $longjmp
(get_local $0)
(i32.const 1)
)
(unreachable)
)
(func $setThrew (param $0 i32) (param $1 i32)
(block $label$0
(br_if $label$0
(i32.load offset=12
(i32.const 0)
)
)
(i32.store offset=16
(i32.const 0)
(get_local $1)
)
(i32.store offset=12
(i32.const 0)
(get_local $0)
)
)
)
(func $setTempRet0 (param $0 i32)
(i32.store offset=20
(i32.const 0)
(get_local $0)
)
)
(func $__wasm_nullptr (type $FUNCSIG$v)
(unreachable)
)
(func $__importThunk_foo (type $FUNCSIG$v)
(call $foo)
)
(func $dynCall_v (param $fptr i32)
(call_indirect $FUNCSIG$v
(get_local $fptr)
)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 1056, "initializers": [] }