2018-01-10 13:09:05 +01:00
|
|
|
(module
|
|
|
|
(type $iiv (func (param i32 i32)))
|
|
|
|
(type $v (func))
|
|
|
|
(global $i8.MAX_VALUE i32 (i32.const 127))
|
|
|
|
(global $i8.MIN_VALUE i32 (i32.const -128))
|
|
|
|
(global $u8.MAX_VALUE i32 (i32.const 255))
|
|
|
|
(global $i16.MIN_VALUE i32 (i32.const -32768))
|
|
|
|
(global $i16.MAX_VALUE i32 (i32.const 32767))
|
|
|
|
(global $u16.MAX_VALUE i32 (i32.const 65535))
|
|
|
|
(global $i32.MAX_VALUE i32 (i32.const 2147483647))
|
|
|
|
(global $i32.MIN_VALUE i32 (i32.const -2147483648))
|
|
|
|
(global $u32.MAX_VALUE i32 (i32.const -1))
|
|
|
|
(global $retain-i32/si (mut i32) (i32.const 0))
|
|
|
|
(global $retain-i32/ui (mut i32) (i32.const 0))
|
|
|
|
(global $HEAP_BASE i32 (i32.const 4))
|
|
|
|
(memory $0 1)
|
|
|
|
(export "memory" (memory $0))
|
|
|
|
(start $start)
|
|
|
|
(func $retain-i32/test (; 0 ;) (type $iiv) (param $0 i32) (param $1 i32)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.add
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:4:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:5:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.mul
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.mul
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:6:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:7:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.or
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.or
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:8:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.xor
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.xor
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:9:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:25
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:30
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:10:39
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.add
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:13:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.sub
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:14:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.mul
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.mul
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:15:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:16:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.or
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.or
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:17:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.xor
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:18
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:24
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.xor
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:29
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:18:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shl
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:25
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.shl
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:30
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:19:39
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $start (; 1 ;) (type $v)
|
|
|
|
(local $0 i32)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:23:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:23:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:23:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:24:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:24:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:24:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:26:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:26:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:26:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:27:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:27:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:27:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:29:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:29:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:29:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:29:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:30:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:30:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:30:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:30:20
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:32:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:32:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:32:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:33:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:33:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:33:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:35:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:35:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:35:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:36:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:36:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:36:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:38:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:38:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:38:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:38:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:39:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:39:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:39:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:39:20
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:41:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:41:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:41:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:42:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:42:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:42:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:43:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:43:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:43:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:44:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:44:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:44:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:47:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:47:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:47:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:48:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:48:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:48:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:50:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:50:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:50:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:51:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:51:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:51:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:53:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:53:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:53:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:53:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:54:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:54:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:54:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:54:20
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:56:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:56:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:56:19
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(block $break|0
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:5
|
2018-01-18 23:34:12 +01:00
|
|
|
(set_local $0
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:18
|
2018-01-18 23:34:12 +01:00
|
|
|
(i32.const -128)
|
2018-01-10 13:09:05 +01:00
|
|
|
)
|
|
|
|
(loop $continue|0
|
|
|
|
(if
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:32
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.le_s
|
|
|
|
(get_local $0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:37
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(block
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:60:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:60:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:60:10
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:61:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:61:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:61:10
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:62:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:62:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:62:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:62:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:63:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:63:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:63:21
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:64:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:64:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:64:21
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:65:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:65:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:65:21
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:66:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:66:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -32768)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:66:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:67:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:67:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 32767)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:67:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:68:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:68:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 65535)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:68:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:69:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:69:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2147483647)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:69:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:70:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:70:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -2147483648)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:70:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:71:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(call $retain-i32/test
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:71:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:71:22
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:51
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:59:53
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:77:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:77:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.add
|
|
|
|
(i32.add
|
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:77:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:77:17
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:78:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:78:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:78:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:78:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:80:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:80:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:80:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:80:15
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:81:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:81:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:81:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:81:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:83:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:83:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.mul
|
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:83:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:84:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:84:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:84:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:84:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:86:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:86:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:86:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:86:8
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:87:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:87:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:87:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:87:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:89:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:89:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.mul
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:89:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:89:12
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:89:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:90:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:90:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:90:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:90:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:92:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:92:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.div_s
|
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:92:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:92:12
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:93:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:93:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:93:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:93:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:95:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:95:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.div_s
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:95:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:95:12
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:95:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:96:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:96:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:96:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:96:14
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:98:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:98:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_s
|
|
|
|
(i32.const 127)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:98:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:99:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:99:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:99:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:101:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:101:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_s
|
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:101:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 127)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:102:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:102:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:102:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:104:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:104:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_s
|
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:104:6
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:104:12
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:105:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:105:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:105:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:107:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/si
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:107:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_s
|
|
|
|
(i32.const 1)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:107:9
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:107:10
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const -128)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:108:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:108:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/si)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:108:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:112:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:112:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.add
|
|
|
|
(i32.add
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:112:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:112:17
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:113:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:113:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:113:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:115:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:115:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.sub
|
|
|
|
(i32.sub
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:115:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:115:15
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:116:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:116:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:116:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:118:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:118:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.mul
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:118:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:119:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:119:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:119:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 254)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:121:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:121:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.mul
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:121:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:122:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:122:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:122:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:124:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:124:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.and
|
|
|
|
(i32.div_u
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:124:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:125:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:125:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:125:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:127:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:127:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_u
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:127:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:128:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:128:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:128:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:130:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(set_global $retain-i32/ui
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:130:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.rem_u
|
|
|
|
(i32.const 255)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:130:11
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:131:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:131:7
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eq
|
|
|
|
(get_global $retain-i32/ui)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ retain-i32.ts:131:13
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(;
|
|
|
|
[program.elements]
|
|
|
|
GLOBAL: NaN
|
|
|
|
GLOBAL: Infinity
|
|
|
|
FUNCTION_PROTOTYPE: isNaN
|
|
|
|
FUNCTION_PROTOTYPE: isFinite
|
|
|
|
FUNCTION_PROTOTYPE: clz
|
|
|
|
FUNCTION_PROTOTYPE: ctz
|
|
|
|
FUNCTION_PROTOTYPE: popcnt
|
|
|
|
FUNCTION_PROTOTYPE: rotl
|
|
|
|
FUNCTION_PROTOTYPE: rotr
|
|
|
|
FUNCTION_PROTOTYPE: abs
|
|
|
|
FUNCTION_PROTOTYPE: max
|
|
|
|
FUNCTION_PROTOTYPE: min
|
|
|
|
FUNCTION_PROTOTYPE: ceil
|
|
|
|
FUNCTION_PROTOTYPE: floor
|
|
|
|
FUNCTION_PROTOTYPE: copysign
|
|
|
|
FUNCTION_PROTOTYPE: nearest
|
|
|
|
FUNCTION_PROTOTYPE: reinterpret
|
|
|
|
FUNCTION_PROTOTYPE: sqrt
|
|
|
|
FUNCTION_PROTOTYPE: trunc
|
|
|
|
FUNCTION_PROTOTYPE: load
|
|
|
|
FUNCTION_PROTOTYPE: store
|
|
|
|
FUNCTION_PROTOTYPE: sizeof
|
|
|
|
FUNCTION_PROTOTYPE: select
|
|
|
|
FUNCTION_PROTOTYPE: unreachable
|
|
|
|
FUNCTION_PROTOTYPE: current_memory
|
|
|
|
FUNCTION_PROTOTYPE: grow_memory
|
|
|
|
FUNCTION_PROTOTYPE: changetype
|
|
|
|
FUNCTION_PROTOTYPE: assert
|
2018-02-02 03:07:54 +01:00
|
|
|
FUNCTION_PROTOTYPE: abort
|
2018-01-10 13:09:05 +01:00
|
|
|
FUNCTION_PROTOTYPE: i8
|
|
|
|
FUNCTION_PROTOTYPE: i16
|
|
|
|
FUNCTION_PROTOTYPE: i32
|
|
|
|
FUNCTION_PROTOTYPE: i64
|
|
|
|
FUNCTION_PROTOTYPE: u8
|
|
|
|
FUNCTION_PROTOTYPE: u16
|
|
|
|
FUNCTION_PROTOTYPE: u32
|
|
|
|
FUNCTION_PROTOTYPE: u64
|
|
|
|
FUNCTION_PROTOTYPE: bool
|
|
|
|
FUNCTION_PROTOTYPE: f32
|
|
|
|
FUNCTION_PROTOTYPE: f64
|
|
|
|
FUNCTION_PROTOTYPE: isize
|
|
|
|
FUNCTION_PROTOTYPE: usize
|
|
|
|
GLOBAL: HEAP_BASE
|
|
|
|
FUNCTION_PROTOTYPE: retain-i32/test
|
|
|
|
GLOBAL: retain-i32/si
|
|
|
|
GLOBAL: retain-i32/ui
|
|
|
|
[program.exports]
|
|
|
|
|
|
|
|
;)
|