3609 lines
72 KiB
Plaintext
Raw Normal View History

2018-01-15 00:08:06 +01:00
(module
(type $i (func (result i32)))
(type $ii (func (param i32) (result i32)))
(type $iiiiv (func (param i32 i32 i32 i32)))
2018-01-28 19:14:20 +01:00
(type $iiiv (func (param i32 i32 i32)))
2018-01-15 00:08:06 +01:00
(type $iv (func (param i32)))
(type $iii (func (param i32 i32) (result i32)))
(type $v (func))
(import "env" "abort" (func $abort (param i32 i32 i32 i32)))
(global "$(lib)/allocator/arena/ALIGN_LOG2" i32 (i32.const 3))
(global "$(lib)/allocator/arena/ALIGN_SIZE" i32 (i32.const 8))
(global "$(lib)/allocator/arena/ALIGN_MASK" i32 (i32.const 7))
(global "$(lib)/allocator/arena/HEAP_OFFSET" (mut i32) (i32.const 0))
2018-01-15 00:08:06 +01:00
(global $std/set/set (mut i32) (i32.const 0))
(global $HEAP_BASE i32 (i32.const 60))
2018-01-15 00:08:06 +01:00
(memory $0 1)
(data (i32.const 8) "\n\00\00\00s\00t\00d\00/\00s\00e\00t\00.\00t\00s\00")
(data (i32.const 32) "\0c\00\00\00(\00l\00i\00b\00)\00/\00s\00e\00t\00.\00t\00s\00")
2018-01-15 00:08:06 +01:00
(export "memory" (memory $0))
(start $start)
(func "$(lib)/allocator/arena/allocate_memory" (; 1 ;) (type $ii) (param $0 i32) (result i32)
2018-01-28 19:14:20 +01:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
2018-01-28 19:14:20 +01:00
(local $5 i32)
;;@ (lib)/allocator/arena.ts:14:2
(if
;;@ (lib)/allocator/arena.ts:14:6
(i32.eqz
;;@ (lib)/allocator/arena.ts:14:7
(get_local $0)
)
;;@ (lib)/allocator/arena.ts:14:20
2018-01-28 19:14:20 +01:00
(return
(i32.const 0)
)
)
;;@ (lib)/allocator/arena.ts:15:2
2018-01-28 19:14:20 +01:00
(set_local $1
;;@ (lib)/allocator/arena.ts:15:12
(get_global "$(lib)/allocator/arena/HEAP_OFFSET")
)
;;@ (lib)/allocator/arena.ts:16:2
(set_local $2
;;@ (lib)/allocator/arena.ts:16:12
(i32.and
(i32.add
;;@ (lib)/allocator/arena.ts:16:13
2018-01-28 19:14:20 +01:00
(i32.add
(get_local $1)
;;@ (lib)/allocator/arena.ts:16:19
2018-01-28 19:14:20 +01:00
(get_local $0)
)
;;@ (lib)/allocator/arena.ts:16:26
2018-01-28 19:14:20 +01:00
(i32.const 7)
)
;;@ (lib)/allocator/arena.ts:16:40
2018-01-28 19:14:20 +01:00
(i32.xor
;;@ (lib)/allocator/arena.ts:16:41
2018-01-28 19:14:20 +01:00
(i32.const 7)
(i32.const -1)
)
)
)
;;@ (lib)/allocator/arena.ts:17:2
(set_local $3
;;@ (lib)/allocator/arena.ts:17:14
2018-01-28 19:14:20 +01:00
(i32.shl
(current_memory)
;;@ (lib)/allocator/arena.ts:17:41
2018-01-28 19:14:20 +01:00
(i32.const 16)
)
)
;;@ (lib)/allocator/arena.ts:18:2
2018-01-28 19:14:20 +01:00
(if
;;@ (lib)/allocator/arena.ts:18:6
2018-01-28 19:14:20 +01:00
(i32.and
(if (result i32)
(i32.ne
(tee_local $4
(i32.gt_u
(get_local $2)
;;@ (lib)/allocator/arena.ts:18:12
(get_local $3)
)
)
2018-01-28 19:14:20 +01:00
(i32.const 0)
)
;;@ (lib)/allocator/arena.ts:18:21
2018-01-28 19:14:20 +01:00
(i32.lt_s
(grow_memory
;;@ (lib)/allocator/arena.ts:19:4
2018-01-28 19:14:20 +01:00
(select
(tee_local $4
;;@ (lib)/allocator/arena.ts:20:6
2018-01-28 19:14:20 +01:00
(i32.shr_u
(i32.sub
;;@ (lib)/allocator/arena.ts:20:7
2018-01-28 19:14:20 +01:00
(i32.and
;;@ (lib)/allocator/arena.ts:20:8
2018-01-28 19:14:20 +01:00
(i32.add
;;@ (lib)/allocator/arena.ts:20:9
2018-01-28 19:14:20 +01:00
(get_local $2)
;;@ (lib)/allocator/arena.ts:20:15
2018-01-28 19:14:20 +01:00
(i32.const 65535)
)
;;@ (lib)/allocator/arena.ts:20:25
2018-01-28 19:14:20 +01:00
(i32.xor
;;@ (lib)/allocator/arena.ts:20:26
2018-01-28 19:14:20 +01:00
(i32.const 65535)
(i32.const -1)
)
2018-01-15 00:08:06 +01:00
)
;;@ (lib)/allocator/arena.ts:20:36
2018-01-28 19:14:20 +01:00
(get_local $3)
2018-01-15 00:08:06 +01:00
)
;;@ (lib)/allocator/arena.ts:20:46
2018-01-28 19:14:20 +01:00
(i32.const 16)
2018-01-15 00:08:06 +01:00
)
)
2018-01-28 19:14:20 +01:00
(tee_local $5
;;@ (lib)/allocator/arena.ts:21:6
2018-01-28 19:14:20 +01:00
(i32.shr_u
(get_local $3)
;;@ (lib)/allocator/arena.ts:21:46
2018-01-28 19:14:20 +01:00
(i32.const 16)
2018-01-15 00:08:06 +01:00
)
)
2018-01-28 19:14:20 +01:00
(i32.gt_u
(get_local $4)
(get_local $5)
)
2018-01-15 00:08:06 +01:00
)
)
;;@ (lib)/allocator/arena.ts:23:6
2018-01-28 19:14:20 +01:00
(i32.const 0)
2018-01-15 00:08:06 +01:00
)
(get_local $4)
2018-01-15 00:08:06 +01:00
)
2018-01-28 19:14:20 +01:00
(i32.const 1)
2018-01-15 00:08:06 +01:00
)
;;@ (lib)/allocator/arena.ts:23:9
2018-01-28 19:14:20 +01:00
(unreachable)
2018-01-15 00:08:06 +01:00
)
;;@ (lib)/allocator/arena.ts:24:2
(set_global "$(lib)/allocator/arena/HEAP_OFFSET"
;;@ (lib)/allocator/arena.ts:24:16
2018-01-28 19:14:20 +01:00
(get_local $2)
)
;;@ (lib)/allocator/arena.ts:25:9
2018-01-15 00:08:06 +01:00
(return
2018-01-28 19:14:20 +01:00
(get_local $1)
2018-01-15 00:08:06 +01:00
)
)
(func "$(lib)/set/Set#get:size" (; 2 ;) (type $ii) (param $0 i32) (result i32)
;;@ (lib)/set.ts:16:16
2018-01-15 00:08:06 +01:00
(return
;;@ (lib)/set.ts:16:11
2018-01-15 00:08:06 +01:00
(i32.load offset=8
(get_local $0)
)
)
)
(func "$(lib)/memory/copy_memory" (; 3 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
2018-01-15 00:08:06 +01:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
;;@ (lib)/memory.ts:5:2
2018-01-15 00:08:06 +01:00
(nop)
;;@ (lib)/memory.ts:8:2
2018-01-15 00:08:06 +01:00
(block $break|0
(loop $continue|0
(if
;;@ (lib)/memory.ts:8:9
2018-01-15 00:08:06 +01:00
(if (result i32)
(i32.ne
(get_local $2)
(i32.const 0)
)
;;@ (lib)/memory.ts:8:14
2018-01-15 00:08:06 +01:00
(i32.rem_u
(get_local $1)
;;@ (lib)/memory.ts:8:20
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
(get_local $2)
)
(block
(block
;;@ (lib)/memory.ts:9:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:9:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:9:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:9:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:10:4
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
(i32.const 1)
)
)
)
(br $continue|0)
)
)
)
)
;;@ (lib)/memory.ts:14:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:14:6
2018-01-15 00:08:06 +01:00
(i32.eq
(i32.rem_u
(get_local $0)
;;@ (lib)/memory.ts:14:13
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:14:18
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
;;@ (lib)/memory.ts:14:21
2018-01-15 00:08:06 +01:00
(block
(block $break|1
(loop $continue|1
(if
;;@ (lib)/memory.ts:15:11
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:15:16
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
(block
(block
;;@ (lib)/memory.ts:16:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:16:17
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:16:28
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:16:38
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:17:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:17:17
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:17:25
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:17:28
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:17:38
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:17:45
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
;;@ (lib)/memory.ts:18:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:18:17
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:18:25
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:18:28
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:18:38
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:18:45
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
;;@ (lib)/memory.ts:19:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:19:17
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:19:24
2018-01-15 00:08:06 +01:00
(i32.const 12)
)
;;@ (lib)/memory.ts:19:28
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:19:38
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:19:44
2018-01-15 00:08:06 +01:00
(i32.const 12)
)
)
)
;;@ (lib)/memory.ts:20:6
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:20:13
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:20:17
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:20:25
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:20:29
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:20:34
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
(br $continue|1)
)
)
)
)
;;@ (lib)/memory.ts:22:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:22:8
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:22:12
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:22:15
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:23:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:23:17
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:23:27
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:23:37
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:24:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:24:17
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:24:24
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:24:27
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:24:37
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:24:43
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
;;@ (lib)/memory.ts:25:6
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:25:14
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:25:17
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:25:24
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
)
;;@ (lib)/memory.ts:27:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:27:8
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:27:12
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:27:15
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:28:6
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:28:17
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:28:23
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:28:33
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:29:6
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:29:14
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
;;@ (lib)/memory.ts:29:17
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:29:24
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
)
;;@ (lib)/memory.ts:31:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:31:8
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:31:12
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
;;@ (lib)/memory.ts:31:15
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:32:6
2018-01-15 00:08:06 +01:00
(i32.store16
;;@ (lib)/memory.ts:32:17
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:32:23
2018-01-15 00:08:06 +01:00
(i32.load16_u
;;@ (lib)/memory.ts:32:33
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:33:6
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:33:14
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
;;@ (lib)/memory.ts:33:17
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:33:24
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
)
)
;;@ (lib)/memory.ts:35:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:35:8
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:35:12
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
;;@ (lib)/memory.ts:36:6
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:36:16
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:36:24
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:36:33
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
;;@ (lib)/memory.ts:38:4
2018-01-15 00:08:06 +01:00
(return)
)
)
;;@ (lib)/memory.ts:43:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:43:6
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:43:11
2018-01-15 00:08:06 +01:00
(i32.const 32)
)
;;@ (lib)/memory.ts:44:4
2018-01-15 00:08:06 +01:00
(block $break|2
(block $case2|2
(block $case1|2
(block $case0|2
(set_local $5
;;@ (lib)/memory.ts:44:12
2018-01-15 00:08:06 +01:00
(i32.rem_u
(get_local $0)
;;@ (lib)/memory.ts:44:19
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
(br_if $case0|2
(i32.eq
(get_local $5)
;;@ (lib)/memory.ts:46:11
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
(br_if $case1|2
(i32.eq
(get_local $5)
;;@ (lib)/memory.ts:64:11
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
(br_if $case2|2
(i32.eq
(get_local $5)
;;@ (lib)/memory.ts:81:11
2018-01-15 00:08:06 +01:00
(i32.const 3)
)
)
(br $break|2)
)
;;@ (lib)/memory.ts:47:8
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:47:12
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:47:22
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:48:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:48:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:48:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:48:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:49:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:49:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:49:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:49:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:50:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:50:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:50:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:50:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:51:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:51:13
2018-01-15 00:08:06 +01:00
(i32.const 3)
)
)
;;@ (lib)/memory.ts:52:8
2018-01-15 00:08:06 +01:00
(block $break|3
(loop $continue|3
(if
;;@ (lib)/memory.ts:52:15
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:52:20
2018-01-15 00:08:06 +01:00
(i32.const 17)
)
(block
(block
;;@ (lib)/memory.ts:53:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:53:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:53:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:53:30
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
)
;;@ (lib)/memory.ts:54:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:54:21
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:54:27
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:54:32
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
;;@ (lib)/memory.ts:54:37
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:54:42
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
;;@ (lib)/memory.ts:55:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:55:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:55:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:55:30
2018-01-15 00:08:06 +01:00
(i32.const 5)
)
)
)
;;@ (lib)/memory.ts:56:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:56:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:56:28
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:56:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:56:36
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
;;@ (lib)/memory.ts:56:41
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:56:46
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
;;@ (lib)/memory.ts:57:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:57:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:57:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:57:30
2018-01-15 00:08:06 +01:00
(i32.const 9)
)
)
)
;;@ (lib)/memory.ts:58:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:58:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:58:28
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:58:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:58:36
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
;;@ (lib)/memory.ts:58:41
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:58:46
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
;;@ (lib)/memory.ts:59:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:59:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:59:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:59:30
2018-01-15 00:08:06 +01:00
(i32.const 13)
)
)
)
;;@ (lib)/memory.ts:60:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:60:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:60:28
2018-01-15 00:08:06 +01:00
(i32.const 12)
)
;;@ (lib)/memory.ts:60:32
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:60:37
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
;;@ (lib)/memory.ts:60:42
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:60:47
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
;;@ (lib)/memory.ts:61:10
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:61:17
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:61:21
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:61:29
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:61:33
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:61:38
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
(br $continue|3)
)
)
)
)
;;@ (lib)/memory.ts:63:8
2018-01-15 00:08:06 +01:00
(br $break|2)
)
;;@ (lib)/memory.ts:65:8
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:65:12
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:65:22
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:66:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:66:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:66:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:66:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:67:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:67:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:67:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:67:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:68:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:68:13
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
;;@ (lib)/memory.ts:69:8
2018-01-15 00:08:06 +01:00
(block $break|4
(loop $continue|4
(if
;;@ (lib)/memory.ts:69:15
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:69:20
2018-01-15 00:08:06 +01:00
(i32.const 18)
)
(block
(block
;;@ (lib)/memory.ts:70:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:70:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:70:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:70:30
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
)
;;@ (lib)/memory.ts:71:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:71:21
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:71:27
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:71:32
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
;;@ (lib)/memory.ts:71:37
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:71:42
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
;;@ (lib)/memory.ts:72:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:72:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:72:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:72:30
2018-01-15 00:08:06 +01:00
(i32.const 6)
)
)
)
;;@ (lib)/memory.ts:73:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:73:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:73:28
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:73:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:73:36
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
;;@ (lib)/memory.ts:73:41
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:73:46
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
;;@ (lib)/memory.ts:74:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:74:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:74:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:74:30
2018-01-15 00:08:06 +01:00
(i32.const 10)
)
)
)
;;@ (lib)/memory.ts:75:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:75:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:75:28
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:75:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:75:36
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
;;@ (lib)/memory.ts:75:41
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:75:46
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
;;@ (lib)/memory.ts:76:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:76:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:76:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:76:30
2018-01-15 00:08:06 +01:00
(i32.const 14)
)
)
)
;;@ (lib)/memory.ts:77:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:77:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:77:28
2018-01-15 00:08:06 +01:00
(i32.const 12)
)
;;@ (lib)/memory.ts:77:32
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:77:37
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
;;@ (lib)/memory.ts:77:42
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:77:47
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
;;@ (lib)/memory.ts:78:10
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:78:17
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:78:21
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:78:29
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:78:33
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:78:38
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
(br $continue|4)
)
)
)
)
;;@ (lib)/memory.ts:80:8
2018-01-15 00:08:06 +01:00
(br $break|2)
)
;;@ (lib)/memory.ts:82:8
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:82:12
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:82:22
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:83:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:83:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:83:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:83:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:84:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:84:13
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
;;@ (lib)/memory.ts:85:8
2018-01-15 00:08:06 +01:00
(block $break|5
(loop $continue|5
(if
;;@ (lib)/memory.ts:85:15
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:85:20
2018-01-15 00:08:06 +01:00
(i32.const 19)
)
(block
(block
;;@ (lib)/memory.ts:86:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:86:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:86:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:86:30
2018-01-15 00:08:06 +01:00
(i32.const 3)
)
)
)
;;@ (lib)/memory.ts:87:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:87:21
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:87:27
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:87:32
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:87:36
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:87:41
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
)
)
;;@ (lib)/memory.ts:88:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:88:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:88:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:88:30
2018-01-15 00:08:06 +01:00
(i32.const 7)
)
)
)
;;@ (lib)/memory.ts:89:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:89:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:89:28
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:89:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:89:36
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:89:40
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:89:45
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
)
)
;;@ (lib)/memory.ts:90:10
2018-01-15 00:08:06 +01:00
(set_local $4
;;@ (lib)/memory.ts:90:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:90:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:90:30
2018-01-15 00:08:06 +01:00
(i32.const 11)
)
)
)
;;@ (lib)/memory.ts:91:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:91:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:91:28
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:91:31
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $3)
;;@ (lib)/memory.ts:91:36
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:91:40
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $4)
;;@ (lib)/memory.ts:91:45
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
)
)
;;@ (lib)/memory.ts:92:10
2018-01-15 00:08:06 +01:00
(set_local $3
;;@ (lib)/memory.ts:92:14
2018-01-15 00:08:06 +01:00
(i32.load
;;@ (lib)/memory.ts:92:24
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:92:30
2018-01-15 00:08:06 +01:00
(i32.const 15)
)
)
)
;;@ (lib)/memory.ts:93:10
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/memory.ts:93:21
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:93:28
2018-01-15 00:08:06 +01:00
(i32.const 12)
)
;;@ (lib)/memory.ts:93:32
2018-01-15 00:08:06 +01:00
(i32.or
(i32.shr_u
(get_local $4)
;;@ (lib)/memory.ts:93:37
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:93:41
2018-01-15 00:08:06 +01:00
(i32.shl
(get_local $3)
;;@ (lib)/memory.ts:93:46
2018-01-15 00:08:06 +01:00
(i32.const 24)
)
)
)
;;@ (lib)/memory.ts:94:10
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:94:17
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:94:21
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:94:29
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
;;@ (lib)/memory.ts:94:33
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:94:38
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
)
)
(br $continue|5)
)
)
)
)
;;@ (lib)/memory.ts:96:8
2018-01-15 00:08:06 +01:00
(br $break|2)
)
)
;;@ (lib)/memory.ts:101:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:101:6
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:101:10
2018-01-15 00:08:06 +01:00
(i32.const 16)
)
;;@ (lib)/memory.ts:101:14
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:102:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:102:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:102:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:102:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:103:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:103:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:103:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:103:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:104:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:104:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:104:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:104:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:105:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:105:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:105:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:105:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:106:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:106:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:106:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:106:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:107:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:107:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:107:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:107:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:108:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:108:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:108:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:108:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:109:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:109:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:109:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:109:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:110:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:110:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:110:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:110:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:111:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:111:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:111:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:111:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:112:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:112:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:112:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:112:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:113:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:113:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:113:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:113:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:114:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:114:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:114:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:114:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:115:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:115:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:115:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:115:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:116:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:116:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:116:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:116:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:117:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:117:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:117:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:117:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
)
;;@ (lib)/memory.ts:119:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:119:6
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:119:10
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:119:13
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:120:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:120:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:120:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:120:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:121:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:121:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:121:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:121:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:122:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:122:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:122:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:122:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:123:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:123:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:123:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:123:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:124:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:124:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:124:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:124:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:125:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:125:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:125:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:125:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:126:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:126:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:126:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:126:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:127:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:127:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:127:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:127:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
)
;;@ (lib)/memory.ts:129:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:129:6
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:129:10
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
;;@ (lib)/memory.ts:129:13
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:130:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:130:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:130:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:130:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:131:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:131:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:131:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:131:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:132:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:132:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:132:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:132:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:133:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:133:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:133:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:133:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
)
;;@ (lib)/memory.ts:135:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:135:6
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:135:10
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
;;@ (lib)/memory.ts:135:13
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:136:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:136:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:136:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:136:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
;;@ (lib)/memory.ts:137:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:137:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:137:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:137:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
)
;;@ (lib)/memory.ts:139:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:139:6
2018-01-15 00:08:06 +01:00
(i32.and
(get_local $2)
;;@ (lib)/memory.ts:139:10
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
;;@ (lib)/memory.ts:140:4
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:140:14
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $0)
)
(set_local $0
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
;;@ (lib)/memory.ts:140:22
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:140:31
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $5
(get_local $1)
)
(set_local $1
(i32.add
(get_local $5)
(i32.const 1)
)
)
(get_local $5)
)
)
)
)
)
(func "$(lib)/memory/move_memory" (; 4 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
2018-01-15 00:08:06 +01:00
(local $3 i32)
;;@ (lib)/memory.ts:148:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:148:6
2018-01-15 00:08:06 +01:00
(i32.eq
(get_local $0)
;;@ (lib)/memory.ts:148:14
2018-01-15 00:08:06 +01:00
(get_local $1)
)
;;@ (lib)/memory.ts:149:4
2018-01-15 00:08:06 +01:00
(return)
)
;;@ (lib)/memory.ts:150:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:150:6
2018-01-15 00:08:06 +01:00
(i32.and
(if (result i32)
(i32.ne
(tee_local $3
(i32.le_u
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:150:12
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:150:17
2018-01-15 00:08:06 +01:00
(get_local $0)
)
)
(i32.const 0)
)
(get_local $3)
;;@ (lib)/memory.ts:150:25
2018-01-15 00:08:06 +01:00
(i32.le_u
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:150:32
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:150:37
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
(i32.const 1)
)
;;@ (lib)/memory.ts:150:42
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:151:4
(call "$(lib)/memory/copy_memory"
;;@ (lib)/memory.ts:151:16
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:151:22
2018-01-15 00:08:06 +01:00
(get_local $1)
;;@ (lib)/memory.ts:151:27
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:152:4
2018-01-15 00:08:06 +01:00
(return)
)
)
;;@ (lib)/memory.ts:154:2
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:154:6
2018-01-15 00:08:06 +01:00
(i32.lt_u
(get_local $0)
;;@ (lib)/memory.ts:154:13
2018-01-15 00:08:06 +01:00
(get_local $1)
)
;;@ (lib)/memory.ts:154:18
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:155:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:155:8
2018-01-15 00:08:06 +01:00
(i32.eq
(i32.rem_u
(get_local $1)
;;@ (lib)/memory.ts:155:14
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:155:19
2018-01-15 00:08:06 +01:00
(i32.rem_u
(get_local $0)
;;@ (lib)/memory.ts:155:26
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:155:29
2018-01-15 00:08:06 +01:00
(block
(block $break|0
(loop $continue|0
(if
;;@ (lib)/memory.ts:156:13
2018-01-15 00:08:06 +01:00
(i32.rem_u
(get_local $0)
;;@ (lib)/memory.ts:156:20
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
(block
(block
;;@ (lib)/memory.ts:157:8
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:157:12
2018-01-15 00:08:06 +01:00
(i32.eqz
;;@ (lib)/memory.ts:157:13
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:158:10
2018-01-15 00:08:06 +01:00
(return)
)
;;@ (lib)/memory.ts:159:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
;;@ (lib)/memory.ts:159:10
2018-01-15 00:08:06 +01:00
(get_local $2)
(i32.const 1)
)
)
;;@ (lib)/memory.ts:160:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:160:18
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $3
(get_local $0)
)
(set_local $0
(i32.add
(get_local $3)
(i32.const 1)
)
)
(get_local $3)
)
;;@ (lib)/memory.ts:160:26
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:160:35
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $3
(get_local $1)
)
(set_local $1
(i32.add
(get_local $3)
(i32.const 1)
)
)
(get_local $3)
)
)
)
)
(br $continue|0)
)
)
)
)
;;@ (lib)/memory.ts:162:6
2018-01-15 00:08:06 +01:00
(block $break|1
(loop $continue|1
(if
;;@ (lib)/memory.ts:162:13
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:162:18
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
(block
(block
;;@ (lib)/memory.ts:163:8
2018-01-15 00:08:06 +01:00
(i64.store
;;@ (lib)/memory.ts:163:19
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:163:25
2018-01-15 00:08:06 +01:00
(i64.load
;;@ (lib)/memory.ts:163:35
2018-01-15 00:08:06 +01:00
(get_local $1)
)
)
;;@ (lib)/memory.ts:164:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:164:13
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:165:8
2018-01-15 00:08:06 +01:00
(set_local $0
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:165:16
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:166:8
2018-01-15 00:08:06 +01:00
(set_local $1
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:166:15
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
)
(br $continue|1)
)
)
)
)
)
)
;;@ (lib)/memory.ts:169:4
2018-01-15 00:08:06 +01:00
(block $break|2
(loop $continue|2
(if
;;@ (lib)/memory.ts:169:11
2018-01-15 00:08:06 +01:00
(get_local $2)
(block
(block
;;@ (lib)/memory.ts:170:6
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:170:16
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $3
(get_local $0)
)
(set_local $0
(i32.add
(get_local $3)
(i32.const 1)
)
)
(get_local $3)
)
;;@ (lib)/memory.ts:170:24
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:170:33
2018-01-15 00:08:06 +01:00
(block (result i32)
(set_local $3
(get_local $1)
)
(set_local $1
(i32.add
(get_local $3)
(i32.const 1)
)
)
(get_local $3)
)
)
)
;;@ (lib)/memory.ts:171:6
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
;;@ (lib)/memory.ts:171:8
2018-01-15 00:08:06 +01:00
(get_local $2)
(i32.const 1)
)
)
)
(br $continue|2)
)
)
)
)
)
;;@ (lib)/memory.ts:173:9
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/memory.ts:174:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:174:8
2018-01-15 00:08:06 +01:00
(i32.eq
(i32.rem_u
(get_local $1)
;;@ (lib)/memory.ts:174:14
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
;;@ (lib)/memory.ts:174:19
2018-01-15 00:08:06 +01:00
(i32.rem_u
(get_local $0)
;;@ (lib)/memory.ts:174:26
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:174:29
2018-01-15 00:08:06 +01:00
(block
(block $break|3
(loop $continue|3
(if
;;@ (lib)/memory.ts:175:13
2018-01-15 00:08:06 +01:00
(i32.rem_u
(i32.add
;;@ (lib)/memory.ts:175:14
2018-01-15 00:08:06 +01:00
(get_local $0)
;;@ (lib)/memory.ts:175:21
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:175:26
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
(block
(block
;;@ (lib)/memory.ts:176:8
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/memory.ts:176:12
2018-01-15 00:08:06 +01:00
(i32.eqz
;;@ (lib)/memory.ts:176:13
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:177:10
2018-01-15 00:08:06 +01:00
(return)
)
;;@ (lib)/memory.ts:178:8
2018-01-15 00:08:06 +01:00
(i32.store8
;;@ (lib)/memory.ts:178:18
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:178:25
2018-01-15 00:08:06 +01:00
(tee_local $2
(i32.sub
;;@ (lib)/memory.ts:178:27
2018-01-15 00:08:06 +01:00
(get_local $2)
(i32.const 1)
)
)
)
;;@ (lib)/memory.ts:178:30
2018-01-15 00:08:06 +01:00
(i32.load8_u
;;@ (lib)/memory.ts:178:39
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:178:45
2018-01-15 00:08:06 +01:00
(get_local $2)
)
)
)
)
(br $continue|3)
)
)
)
)
;;@ (lib)/memory.ts:180:6
2018-01-15 00:08:06 +01:00
(block $break|4
(loop $continue|4
(if
;;@ (lib)/memory.ts:180:13
2018-01-15 00:08:06 +01:00
(i32.ge_u
(get_local $2)
;;@ (lib)/memory.ts:180:18
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
(block
(block
;;@ (lib)/memory.ts:181:8
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.sub
(get_local $2)
;;@ (lib)/memory.ts:181:13
2018-01-15 00:08:06 +01:00
(i32.const 8)
)
)
;;@ (lib)/memory.ts:182:8
2018-01-15 00:08:06 +01:00
(i64.store
;;@ (lib)/memory.ts:182:19
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:182:26
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/memory.ts:182:29
2018-01-15 00:08:06 +01:00
(i64.load
;;@ (lib)/memory.ts:182:39
2018-01-15 00:08:06 +01:00
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:182:45
2018-01-15 00:08:06 +01:00
(get_local $2)
)
)
)
)
(br $continue|4)
)
)
)
)
)
)
;;@ (lib)/memory.ts:185:4
2018-01-15 00:08:06 +01:00
(block $break|5
(loop $continue|5
(if
;;@ (lib)/memory.ts:185:11
2018-01-15 00:08:06 +01:00
(get_local $2)
(block
(block
;;@ (lib)/memory.ts:186:6
(i32.store8
;;@ (lib)/memory.ts:186:16
(i32.add
(get_local $0)
;;@ (lib)/memory.ts:186:23
(tee_local $2
(i32.sub
;;@ (lib)/memory.ts:186:25
(get_local $2)
(i32.const 1)
)
2018-01-15 00:08:06 +01:00
)
)
;;@ (lib)/memory.ts:186:28
(i32.load8_u
;;@ (lib)/memory.ts:186:37
(i32.add
(get_local $1)
;;@ (lib)/memory.ts:186:43
(get_local $2)
)
2018-01-15 00:08:06 +01:00
)
)
)
(br $continue|5)
)
)
)
)
)
)
)
(func "$(lib)/allocator/arena/free_memory" (; 5 ;) (type $iv) (param $0 i32)
2018-01-15 00:08:06 +01:00
)
(func "$(lib)/set/Set#add" (; 6 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
2018-01-15 00:08:06 +01:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
;;@ (lib)/set.ts:31:4
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
;;@ (lib)/set.ts:31:11
2018-01-28 06:18:27 +01:00
(i32.ne
(get_local $0)
;;@ (lib)/set.ts:31:19
2018-01-28 06:18:27 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 32)
(i32.const 31)
(i32.const 4)
)
(unreachable)
)
2018-01-28 06:18:27 +01:00
)
;;@ (lib)/set.ts:33:4
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/set.ts:33:8
2018-01-15 00:08:06 +01:00
(i32.ge_u
(i32.load offset=8
(get_local $0)
)
;;@ (lib)/set.ts:33:23
2018-01-15 00:08:06 +01:00
(i32.load offset=4
(get_local $0)
)
)
;;@ (lib)/set.ts:33:40
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/set.ts:34:6
(set_local $4
;;@ (lib)/set.ts:34:24
(select
(tee_local $2
;;@ (lib)/set.ts:34:28
(i32.shl
(i32.load offset=4
(get_local $0)
2018-01-15 00:08:06 +01:00
)
;;@ (lib)/set.ts:34:47
(i32.const 1)
2018-01-15 00:08:06 +01:00
)
)
(tee_local $3
;;@ (lib)/set.ts:34:50
(i32.const 8)
)
(i32.gt_u
(get_local $2)
(get_local $3)
2018-01-15 00:08:06 +01:00
)
)
)
;;@ (lib)/set.ts:35:6
(set_local $5
;;@ (lib)/set.ts:35:22
(call "$(lib)/allocator/arena/allocate_memory"
;;@ (lib)/set.ts:35:38
(i32.mul
(get_local $4)
;;@ (lib)/set.ts:35:59
(i32.const 4)
2018-01-15 00:08:06 +01:00
)
)
)
;;@ (lib)/set.ts:36:6
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/set.ts:36:10
2018-01-15 00:08:06 +01:00
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:36:25
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/set.ts:37:8
(call "$(lib)/memory/move_memory"
;;@ (lib)/set.ts:37:20
2018-01-15 00:08:06 +01:00
(get_local $5)
;;@ (lib)/set.ts:37:31
2018-01-15 00:08:06 +01:00
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:37:46
2018-01-15 00:08:06 +01:00
(i32.mul
(i32.load offset=4
;;@ (lib)/set.ts:37:53
2018-01-15 00:08:06 +01:00
(get_local $0)
)
;;@ (lib)/set.ts:37:71
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
;;@ (lib)/set.ts:38:8
(call "$(lib)/allocator/arena/free_memory"
;;@ (lib)/set.ts:38:20
2018-01-15 00:08:06 +01:00
(i32.load
(get_local $0)
)
)
)
)
;;@ (lib)/set.ts:40:6
2018-01-15 00:08:06 +01:00
(i32.store offset=4
(get_local $0)
;;@ (lib)/set.ts:40:24
2018-01-15 00:08:06 +01:00
(get_local $4)
)
;;@ (lib)/set.ts:41:6
2018-01-15 00:08:06 +01:00
(i32.store
(get_local $0)
;;@ (lib)/set.ts:41:22
2018-01-15 00:08:06 +01:00
(get_local $5)
)
)
)
;;@ (lib)/set.ts:43:4
2018-01-15 00:08:06 +01:00
(i32.store
;;@ (lib)/set.ts:43:13
2018-01-15 00:08:06 +01:00
(i32.add
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:43:29
2018-01-15 00:08:06 +01:00
(i32.mul
(i32.load offset=8
;;@ (lib)/set.ts:43:36
2018-01-15 00:08:06 +01:00
(get_local $0)
)
;;@ (lib)/set.ts:43:50
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
;;@ (lib)/set.ts:43:63
2018-01-15 00:08:06 +01:00
(get_local $1)
)
;;@ (lib)/set.ts:44:4
2018-01-15 00:08:06 +01:00
(i32.store offset=8
;;@ (lib)/set.ts:44:6
2018-01-15 00:08:06 +01:00
(get_local $0)
(i32.add
(i32.load offset=8
(get_local $0)
)
(i32.const 1)
)
)
;;@ (lib)/set.ts:45:11
2018-01-15 00:08:06 +01:00
(return
(get_local $0)
)
)
(func "$(lib)/set/Set#has" (; 7 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
2018-01-15 00:08:06 +01:00
(local $2 i32)
(local $3 i32)
;;@ (lib)/set.ts:22:4
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
;;@ (lib)/set.ts:22:11
2018-01-28 06:18:27 +01:00
(i32.ne
(get_local $0)
;;@ (lib)/set.ts:22:19
2018-01-28 06:18:27 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 32)
(i32.const 22)
(i32.const 4)
)
(unreachable)
)
2018-01-28 06:18:27 +01:00
)
;;@ (lib)/set.ts:24:4
2018-01-15 00:08:06 +01:00
(block $break|0
(block
(set_local $2
;;@ (lib)/set.ts:24:28
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
(set_local $3
;;@ (lib)/set.ts:24:46
2018-01-15 00:08:06 +01:00
(i32.load offset=8
(get_local $0)
)
)
)
(loop $continue|0
(if
;;@ (lib)/set.ts:24:59
2018-01-15 00:08:06 +01:00
(i32.lt_u
(get_local $2)
;;@ (lib)/set.ts:24:67
2018-01-15 00:08:06 +01:00
(get_local $3)
)
(block
;;@ (lib)/set.ts:25:6
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/set.ts:25:10
2018-01-15 00:08:06 +01:00
(i32.eq
(i32.load
;;@ (lib)/set.ts:25:18
2018-01-15 00:08:06 +01:00
(i32.add
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:25:34
2018-01-15 00:08:06 +01:00
(i32.mul
(get_local $2)
;;@ (lib)/set.ts:25:42
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
;;@ (lib)/set.ts:25:58
2018-01-15 00:08:06 +01:00
(get_local $1)
)
;;@ (lib)/set.ts:26:15
2018-01-15 00:08:06 +01:00
(return
(i32.const 1)
)
)
;;@ (lib)/set.ts:24:74
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.add
;;@ (lib)/set.ts:24:76
2018-01-15 00:08:06 +01:00
(get_local $2)
(i32.const 1)
)
)
(br $continue|0)
)
)
)
)
;;@ (lib)/set.ts:27:11
2018-01-15 00:08:06 +01:00
(return
(i32.const 0)
)
)
(func "$(lib)/set/Set#delete" (; 8 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
2018-01-15 00:08:06 +01:00
(local $2 i32)
(local $3 i32)
;;@ (lib)/set.ts:49:4
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
;;@ (lib)/set.ts:49:11
2018-01-28 06:18:27 +01:00
(i32.ne
(get_local $0)
;;@ (lib)/set.ts:49:19
2018-01-28 06:18:27 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 32)
(i32.const 49)
(i32.const 4)
)
(unreachable)
)
2018-01-28 06:18:27 +01:00
)
;;@ (lib)/set.ts:51:4
2018-01-15 00:08:06 +01:00
(block $break|0
(block
(set_local $2
;;@ (lib)/set.ts:51:28
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
(set_local $3
;;@ (lib)/set.ts:51:46
2018-01-15 00:08:06 +01:00
(i32.load offset=8
(get_local $0)
)
)
)
(loop $continue|0
(if
;;@ (lib)/set.ts:51:59
2018-01-15 00:08:06 +01:00
(i32.lt_u
(get_local $2)
;;@ (lib)/set.ts:51:67
2018-01-15 00:08:06 +01:00
(get_local $3)
)
(block
;;@ (lib)/set.ts:52:6
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/set.ts:52:10
2018-01-15 00:08:06 +01:00
(i32.eq
(i32.load
;;@ (lib)/set.ts:52:18
2018-01-15 00:08:06 +01:00
(i32.add
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:52:34
2018-01-15 00:08:06 +01:00
(i32.mul
(get_local $2)
;;@ (lib)/set.ts:52:42
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
;;@ (lib)/set.ts:52:58
2018-01-15 00:08:06 +01:00
(get_local $1)
)
;;@ (lib)/set.ts:52:65
2018-01-15 00:08:06 +01:00
(block
;;@ (lib)/set.ts:53:8
2018-01-15 00:08:06 +01:00
(if
;;@ (lib)/set.ts:53:12
2018-01-15 00:08:06 +01:00
(i32.lt_u
(i32.add
(get_local $2)
;;@ (lib)/set.ts:53:20
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
;;@ (lib)/set.ts:53:24
2018-01-15 00:08:06 +01:00
(i32.load offset=8
(get_local $0)
)
)
;;@ (lib)/set.ts:54:10
(call "$(lib)/memory/move_memory"
;;@ (lib)/set.ts:54:22
2018-01-15 00:08:06 +01:00
(i32.add
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:54:38
2018-01-15 00:08:06 +01:00
(i32.mul
(get_local $2)
;;@ (lib)/set.ts:54:46
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
;;@ (lib)/set.ts:54:59
2018-01-15 00:08:06 +01:00
(i32.add
(i32.load
(get_local $0)
)
;;@ (lib)/set.ts:54:75
2018-01-15 00:08:06 +01:00
(i32.mul
(i32.add
;;@ (lib)/set.ts:54:76
2018-01-15 00:08:06 +01:00
(get_local $2)
;;@ (lib)/set.ts:54:84
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
;;@ (lib)/set.ts:54:89
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
;;@ (lib)/set.ts:54:102
2018-01-15 00:08:06 +01:00
(i32.sub
(i32.sub
(i32.load offset=8
(get_local $0)
)
;;@ (lib)/set.ts:54:116
2018-01-15 00:08:06 +01:00
(get_local $2)
)
;;@ (lib)/set.ts:54:124
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
)
;;@ (lib)/set.ts:55:8
2018-01-15 00:08:06 +01:00
(i32.store offset=8
;;@ (lib)/set.ts:55:10
2018-01-15 00:08:06 +01:00
(get_local $0)
(i32.sub
(i32.load offset=8
(get_local $0)
)
(i32.const 1)
)
)
;;@ (lib)/set.ts:56:15
2018-01-15 00:08:06 +01:00
(return
(i32.const 1)
)
)
)
;;@ (lib)/set.ts:51:74
2018-01-15 00:08:06 +01:00
(set_local $2
(i32.add
;;@ (lib)/set.ts:51:76
2018-01-15 00:08:06 +01:00
(get_local $2)
(i32.const 1)
)
)
(br $continue|0)
)
)
)
)
;;@ (lib)/set.ts:58:11
2018-01-15 00:08:06 +01:00
(return
(i32.const 0)
)
)
(func "$(lib)/set/Set#clear" (; 9 ;) (type $iv) (param $0 i32)
;;@ (lib)/set.ts:62:4
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
;;@ (lib)/set.ts:62:11
2018-01-28 06:18:27 +01:00
(i32.ne
(get_local $0)
;;@ (lib)/set.ts:62:19
2018-01-28 06:18:27 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 32)
(i32.const 62)
(i32.const 4)
)
(unreachable)
)
2018-01-28 06:18:27 +01:00
)
;;@ (lib)/set.ts:64:4
2018-01-15 00:08:06 +01:00
(i32.store offset=8
(get_local $0)
;;@ (lib)/set.ts:64:18
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
(func $start (; 10 ;) (type $v)
(set_global "$(lib)/allocator/arena/HEAP_OFFSET"
;;@ (lib)/allocator/arena.ts:11:25
2018-01-15 00:08:06 +01:00
(get_global $HEAP_BASE)
)
(set_global $std/set/set
;;@ std/set.ts:5:10
(call "$(lib)/allocator/arena/allocate_memory"
;;@ std/set.ts:5:47
2018-01-15 00:08:06 +01:00
(i32.add
(i32.const 4)
;;@ std/set.ts:5:65
2018-01-15 00:08:06 +01:00
(i32.mul
(i32.const 2)
;;@ std/set.ts:5:69
2018-01-15 00:08:06 +01:00
(i32.const 4)
)
)
)
)
;;@ std/set.ts:7:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:7:7
2018-01-15 00:08:06 +01:00
(i32.eq
(call "$(lib)/set/Set#get:size"
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
)
;;@ std/set.ts:7:19
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 7)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:9:4
2018-01-15 00:08:06 +01:00
(drop
(call "$(lib)/set/Set#add"
;;@ std/set.ts:9:0
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:9:8
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
;;@ std/set.ts:10:4
2018-01-15 00:08:06 +01:00
(drop
(call "$(lib)/set/Set#add"
;;@ std/set.ts:10:0
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:10:8
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
;;@ std/set.ts:11:4
2018-01-15 00:08:06 +01:00
(drop
(call "$(lib)/set/Set#add"
;;@ std/set.ts:11:0
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:11:8
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
;;@ std/set.ts:13:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:13:7
2018-01-15 00:08:06 +01:00
(i32.eq
(call "$(lib)/set/Set#get:size"
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
)
;;@ std/set.ts:13:19
2018-01-15 00:08:06 +01:00
(i32.const 3)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 13)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:15:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:15:11
(call "$(lib)/set/Set#has"
;;@ std/set.ts:15:7
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:15:15
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 15)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:16:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:16:11
(call "$(lib)/set/Set#has"
;;@ std/set.ts:16:7
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:16:15
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 16)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:17:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:17:11
(call "$(lib)/set/Set#has"
;;@ std/set.ts:17:7
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:17:15
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 17)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:18:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:18:7
2018-01-15 00:08:06 +01:00
(i32.eqz
;;@ std/set.ts:18:12
(call "$(lib)/set/Set#has"
;;@ std/set.ts:18:8
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:18:16
2018-01-15 00:08:06 +01:00
(i32.const 3)
)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 18)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:20:4
2018-01-15 00:08:06 +01:00
(drop
(call "$(lib)/set/Set#delete"
;;@ std/set.ts:20:0
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:20:11
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
;;@ std/set.ts:22:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:22:7
2018-01-15 00:08:06 +01:00
(i32.eq
(call "$(lib)/set/Set#get:size"
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
)
;;@ std/set.ts:22:19
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 22)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:23:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:23:11
(call "$(lib)/set/Set#has"
;;@ std/set.ts:23:7
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:23:15
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 23)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:24:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:24:7
2018-01-15 00:08:06 +01:00
(i32.eqz
;;@ std/set.ts:24:12
(call "$(lib)/set/Set#has"
;;@ std/set.ts:24:8
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:24:16
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 24)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:25:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:25:11
(call "$(lib)/set/Set#has"
;;@ std/set.ts:25:7
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:25:15
2018-01-15 00:08:06 +01:00
(i32.const 2)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 25)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:27:4
(call "$(lib)/set/Set#clear"
;;@ std/set.ts:27:0
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
)
;;@ std/set.ts:29:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:29:7
2018-01-15 00:08:06 +01:00
(i32.eq
(call "$(lib)/set/Set#get:size"
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
)
;;@ std/set.ts:29:19
2018-01-15 00:08:06 +01:00
(i32.const 0)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 29)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
;;@ std/set.ts:30:0
2018-01-15 00:08:06 +01:00
(if
(i32.eqz
;;@ std/set.ts:30:7
2018-01-15 00:08:06 +01:00
(i32.eqz
;;@ std/set.ts:30:12
(call "$(lib)/set/Set#has"
;;@ std/set.ts:30:8
2018-01-15 00:08:06 +01:00
(get_global $std/set/set)
;;@ std/set.ts:30:16
2018-01-15 00:08:06 +01:00
(i32.const 1)
)
)
)
(block
(call $abort
(i32.const 0)
(i32.const 8)
(i32.const 30)
(i32.const 0)
)
(unreachable)
)
2018-01-15 00:08:06 +01:00
)
)
)