fixes, dist files

This commit is contained in:
dcode
2019-05-25 23:14:21 +02:00
parent 476f7d904c
commit bc294203bf
41 changed files with 3364 additions and 1602 deletions

View File

@ -1538,16 +1538,49 @@
end
end
)
(func $~lib/rt/pure/growRoots (; 22 ;) (type $FUNCSIG$v)
(func $~lib/rt/tlsf/__free (; 22 ;) (type $FUNCSIG$vi) (param $0 i32)
global.get $~lib/rt/tlsf/ROOT
i32.eqz
if
i32.const 0
i32.const 24
i32.const 561
i32.const 13
call $~lib/builtins/abort
unreachable
end
local.get $0
i32.const 15
i32.and
i32.eqz
i32.const 0
local.get $0
select
i32.eqz
if
i32.const 0
i32.const 24
i32.const 562
i32.const 2
call $~lib/builtins/abort
unreachable
end
global.get $~lib/rt/tlsf/ROOT
local.get $0
i32.const 16
i32.sub
call $~lib/rt/tlsf/freeBlock
)
(func $~lib/rt/pure/growRoots (; 23 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
global.get $~lib/rt/pure/CUR
global.get $~lib/rt/pure/ROOTS
local.tee $2
i32.sub
local.tee $1
i32.sub
local.tee $2
i32.const 1
i32.shl
local.tee $0
@ -1560,13 +1593,26 @@
i32.const 0
call $~lib/rt/tlsf/__alloc
local.tee $0
local.get $2
i32.const 16
i32.sub
call $~lib/rt/rtrace/onfree
local.get $0
local.get $1
local.get $2
call $~lib/memory/memory.copy
local.get $1
if
local.get $1
i32.const 16
i32.sub
call $~lib/rt/rtrace/onalloc
local.get $1
call $~lib/rt/tlsf/__free
end
local.get $0
global.set $~lib/rt/pure/ROOTS
local.get $0
local.get $1
local.get $2
i32.add
global.set $~lib/rt/pure/CUR
local.get $0
@ -1574,7 +1620,7 @@
i32.add
global.set $~lib/rt/pure/END
)
(func $~lib/rt/pure/appendRoot (; 23 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/appendRoot (; 24 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
global.get $~lib/rt/pure/CUR
local.tee $1
@ -1589,11 +1635,11 @@
local.get $0
i32.store
local.get $1
i32.const 1
i32.const 4
i32.add
global.set $~lib/rt/pure/CUR
)
(func $~lib/rt/pure/decrement (; 24 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/decrement (; 25 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
(local $2 i32)
local.get $0
@ -1683,7 +1729,7 @@
end
end
)
(func $~lib/rt/pure/__release (; 25 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/__release (; 26 ;) (type $FUNCSIG$vi) (param $0 i32)
local.get $0
i32.const 508
i32.gt_u
@ -1694,7 +1740,7 @@
call $~lib/rt/pure/decrement
end
)
(func $~lib/set/Set<i8>#clear (; 26 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/set/Set<i8>#clear (; 27 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
i32.const 16
call $~lib/arraybuffer/ArrayBuffer#constructor
@ -1727,7 +1773,7 @@
i32.const 0
i32.store offset=20
)
(func $~lib/set/Set<i8>#constructor (; 27 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<i8>#constructor (; 28 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 3
@ -1755,14 +1801,14 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/util/hash/hash8 (; 28 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(func $~lib/util/hash/hash8 (; 29 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
i32.const -2128831035
i32.xor
i32.const 16777619
i32.mul
)
(func $~lib/set/Set<i8>#find (; 29 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(func $~lib/set/Set<i8>#find (; 30 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -1805,7 +1851,7 @@
end
i32.const 0
)
(func $~lib/set/Set<i8>#has (; 30 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(func $~lib/set/Set<i8>#has (; 31 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
local.get $1
@ -1818,7 +1864,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<i8>#rehash (; 31 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i8>#rehash (; 32 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -1943,7 +1989,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i8>#add (; 32 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i8>#add (; 33 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -2030,7 +2076,7 @@
i32.store
end
)
(func $~lib/set/Set<i8>#delete (; 33 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i8>#delete (; 34 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
local.get $0
local.get $1
@ -2093,7 +2139,7 @@
call $~lib/set/Set<i8>#rehash
end
)
(func $std/set/testNumeric<i8> (; 34 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<i8> (; 35 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<i8>#constructor
@ -2340,7 +2386,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u8>#constructor (; 35 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<u8>#constructor (; 36 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 4
@ -2368,7 +2414,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/set/Set<u8>#has (; 36 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(func $~lib/set/Set<u8>#has (; 37 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
local.get $1
@ -2379,7 +2425,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<u8>#rehash (; 37 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u8>#rehash (; 38 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -2504,7 +2550,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u8>#add (; 38 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u8>#add (; 39 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -2589,7 +2635,7 @@
i32.store
end
)
(func $~lib/set/Set<u8>#delete (; 39 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u8>#delete (; 40 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
local.get $0
local.get $1
@ -2650,7 +2696,7 @@
call $~lib/set/Set<u8>#rehash
end
)
(func $std/set/testNumeric<u8> (; 40 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<u8> (; 41 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<u8>#constructor
@ -2897,7 +2943,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i16>#constructor (; 41 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<i16>#constructor (; 42 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 5
@ -2925,7 +2971,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/util/hash/hash16 (; 42 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(func $~lib/util/hash/hash16 (; 43 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
i32.const 255
i32.and
@ -2940,7 +2986,7 @@
i32.const 16777619
i32.mul
)
(func $~lib/set/Set<i16>#find (; 43 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(func $~lib/set/Set<i16>#find (; 44 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -2983,7 +3029,7 @@
end
i32.const 0
)
(func $~lib/set/Set<i16>#has (; 44 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(func $~lib/set/Set<i16>#has (; 45 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
local.get $1
@ -2996,7 +3042,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<i16>#rehash (; 45 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i16>#rehash (; 46 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -3121,7 +3167,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i16>#add (; 46 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i16>#add (; 47 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -3208,7 +3254,7 @@
i32.store
end
)
(func $~lib/set/Set<i16>#delete (; 47 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i16>#delete (; 48 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
local.get $0
local.get $1
@ -3271,7 +3317,7 @@
call $~lib/set/Set<i16>#rehash
end
)
(func $std/set/testNumeric<i16> (; 48 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<i16> (; 49 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<i16>#constructor
@ -3518,7 +3564,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u16>#constructor (; 49 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<u16>#constructor (; 50 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 6
@ -3546,7 +3592,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/set/Set<u16>#has (; 50 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(func $~lib/set/Set<u16>#has (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
local.get $1
@ -3557,7 +3603,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<u16>#rehash (; 51 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u16>#rehash (; 52 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -3682,7 +3728,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u16>#add (; 52 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u16>#add (; 53 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -3767,7 +3813,7 @@
i32.store
end
)
(func $~lib/set/Set<u16>#delete (; 53 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<u16>#delete (; 54 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
local.get $0
local.get $1
@ -3828,7 +3874,7 @@
call $~lib/set/Set<u16>#rehash
end
)
(func $std/set/testNumeric<u16> (; 54 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<u16> (; 55 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<u16>#constructor
@ -4075,7 +4121,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i32>#constructor (; 55 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<i32>#constructor (; 56 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 7
@ -4103,7 +4149,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/util/hash/hash32 (; 56 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(func $~lib/util/hash/hash32 (; 57 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
i32.const 255
i32.and
@ -4134,7 +4180,7 @@
i32.const 16777619
i32.mul
)
(func $~lib/set/Set<i32>#find (; 57 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(func $~lib/set/Set<i32>#find (; 58 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -4175,7 +4221,7 @@
end
i32.const 0
)
(func $~lib/set/Set<i32>#has (; 58 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(func $~lib/set/Set<i32>#has (; 59 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
local.get $1
@ -4184,7 +4230,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<i32>#rehash (; 59 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i32>#rehash (; 60 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -4309,7 +4355,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i32>#add (; 60 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i32>#add (; 61 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -4392,7 +4438,7 @@
i32.store
end
)
(func $~lib/set/Set<i32>#delete (; 61 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i32>#delete (; 62 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
local.get $0
local.get $1
@ -4451,7 +4497,7 @@
call $~lib/set/Set<i32>#rehash
end
)
(func $std/set/testNumeric<i32> (; 62 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<i32> (; 63 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<i32>#constructor
@ -4698,7 +4744,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u32>#constructor (; 63 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<u32>#constructor (; 64 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 8
@ -4726,7 +4772,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $std/set/testNumeric<u32> (; 64 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<u32> (; 65 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
call $~lib/set/Set<u32>#constructor
@ -4973,7 +5019,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i64>#clear (; 65 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/set/Set<i64>#clear (; 66 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
i32.const 16
call $~lib/arraybuffer/ArrayBuffer#constructor
@ -5006,7 +5052,7 @@
i32.const 0
i32.store offset=20
)
(func $~lib/set/Set<i64>#constructor (; 66 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<i64>#constructor (; 67 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 9
@ -5034,7 +5080,7 @@
call $~lib/set/Set<i64>#clear
local.get $0
)
(func $~lib/util/hash/hash64 (; 67 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
(func $~lib/util/hash/hash64 (; 68 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
(local $1 i32)
local.get $0
i32.wrap_i64
@ -5100,7 +5146,7 @@
i32.const 16777619
i32.mul
)
(func $~lib/set/Set<i64>#find (; 68 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32)
(func $~lib/set/Set<i64>#find (; 69 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -5141,7 +5187,7 @@
end
i32.const 0
)
(func $~lib/set/Set<i64>#has (; 69 ;) (type $FUNCSIG$iij) (param $0 i32) (param $1 i64) (result i32)
(func $~lib/set/Set<i64>#has (; 70 ;) (type $FUNCSIG$iij) (param $0 i32) (param $1 i64) (result i32)
local.get $0
local.get $1
local.get $1
@ -5150,7 +5196,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<i64>#rehash (; 70 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<i64>#rehash (; 71 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -5275,7 +5321,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<i64>#add (; 71 ;) (type $FUNCSIG$vij) (param $0 i32) (param $1 i64)
(func $~lib/set/Set<i64>#add (; 72 ;) (type $FUNCSIG$vij) (param $0 i32) (param $1 i64)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -5358,7 +5404,7 @@
i32.store
end
)
(func $~lib/set/Set<i64>#delete (; 72 ;) (type $FUNCSIG$vij) (param $0 i32) (param $1 i64)
(func $~lib/set/Set<i64>#delete (; 73 ;) (type $FUNCSIG$vij) (param $0 i32) (param $1 i64)
(local $2 i32)
(local $3 i32)
local.get $0
@ -5418,7 +5464,7 @@
call $~lib/set/Set<i64>#rehash
end
)
(func $std/set/testNumeric<i64> (; 73 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<i64> (; 74 ;) (type $FUNCSIG$v)
(local $0 i64)
(local $1 i32)
call $~lib/set/Set<i64>#constructor
@ -5665,7 +5711,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<u64>#constructor (; 74 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<u64>#constructor (; 75 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 10
@ -5693,7 +5739,7 @@
call $~lib/set/Set<i64>#clear
local.get $0
)
(func $std/set/testNumeric<u64> (; 75 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<u64> (; 76 ;) (type $FUNCSIG$v)
(local $0 i64)
(local $1 i32)
call $~lib/set/Set<u64>#constructor
@ -5940,7 +5986,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<f32>#constructor (; 76 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<f32>#constructor (; 77 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 11
@ -5968,7 +6014,7 @@
call $~lib/set/Set<i8>#clear
local.get $0
)
(func $~lib/set/Set<f32>#find (; 77 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32)
(func $~lib/set/Set<f32>#find (; 78 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -6009,7 +6055,7 @@
end
i32.const 0
)
(func $~lib/set/Set<f32>#has (; 78 ;) (type $FUNCSIG$iif) (param $0 i32) (param $1 f32) (result i32)
(func $~lib/set/Set<f32>#has (; 79 ;) (type $FUNCSIG$iif) (param $0 i32) (param $1 f32) (result i32)
local.get $0
local.get $1
local.get $1
@ -6019,7 +6065,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<f32>#rehash (; 79 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<f32>#rehash (; 80 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -6145,7 +6191,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<f32>#add (; 80 ;) (type $FUNCSIG$vif) (param $0 i32) (param $1 f32)
(func $~lib/set/Set<f32>#add (; 81 ;) (type $FUNCSIG$vif) (param $0 i32) (param $1 f32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -6229,7 +6275,7 @@
i32.store
end
)
(func $~lib/set/Set<f32>#delete (; 81 ;) (type $FUNCSIG$vif) (param $0 i32) (param $1 f32)
(func $~lib/set/Set<f32>#delete (; 82 ;) (type $FUNCSIG$vif) (param $0 i32) (param $1 f32)
(local $2 i32)
(local $3 i32)
local.get $0
@ -6290,7 +6336,7 @@
call $~lib/set/Set<f32>#rehash
end
)
(func $std/set/testNumeric<f32> (; 82 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<f32> (; 83 ;) (type $FUNCSIG$v)
(local $0 f32)
(local $1 i32)
call $~lib/set/Set<f32>#constructor
@ -6537,7 +6583,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<f64>#constructor (; 83 ;) (type $FUNCSIG$i) (result i32)
(func $~lib/set/Set<f64>#constructor (; 84 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
i32.const 24
i32.const 12
@ -6565,7 +6611,7 @@
call $~lib/set/Set<i64>#clear
local.get $0
)
(func $~lib/set/Set<f64>#find (; 84 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32)
(func $~lib/set/Set<f64>#find (; 85 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32)
local.get $0
i32.load
local.get $0
@ -6606,7 +6652,7 @@
end
i32.const 0
)
(func $~lib/set/Set<f64>#has (; 85 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
(func $~lib/set/Set<f64>#has (; 86 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
local.get $0
local.get $1
local.get $1
@ -6616,7 +6662,7 @@
i32.const 0
i32.ne
)
(func $~lib/set/Set<f64>#rehash (; 86 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/set/Set<f64>#rehash (; 87 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -6742,7 +6788,7 @@
local.get $3
call $~lib/rt/pure/__release
)
(func $~lib/set/Set<f64>#add (; 87 ;) (type $FUNCSIG$vid) (param $0 i32) (param $1 f64)
(func $~lib/set/Set<f64>#add (; 88 ;) (type $FUNCSIG$vid) (param $0 i32) (param $1 f64)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@ -6826,7 +6872,7 @@
i32.store
end
)
(func $~lib/set/Set<f64>#delete (; 88 ;) (type $FUNCSIG$vid) (param $0 i32) (param $1 f64)
(func $~lib/set/Set<f64>#delete (; 89 ;) (type $FUNCSIG$vid) (param $0 i32) (param $1 f64)
(local $2 i32)
(local $3 i32)
local.get $0
@ -6887,7 +6933,7 @@
call $~lib/set/Set<f64>#rehash
end
)
(func $std/set/testNumeric<f64> (; 89 ;) (type $FUNCSIG$v)
(func $std/set/testNumeric<f64> (; 90 ;) (type $FUNCSIG$v)
(local $0 f64)
(local $1 i32)
call $~lib/set/Set<f64>#constructor
@ -7134,7 +7180,7 @@
local.get $1
call $~lib/rt/pure/__release
)
(func $start (; 90 ;) (type $FUNCSIG$v)
(func $start (; 91 ;) (type $FUNCSIG$v)
call $std/set/testNumeric<i8>
call $std/set/testNumeric<u8>
call $std/set/testNumeric<i16>
@ -7146,7 +7192,7 @@
call $std/set/testNumeric<f32>
call $std/set/testNumeric<f64>
)
(func $~lib/rt/pure/markGray (; 91 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/markGray (; 92 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
local.get $0
i32.load offset=4
@ -7170,7 +7216,7 @@
call $~lib/rt/__visit_members
end
)
(func $~lib/rt/pure/scanBlack (; 92 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/scanBlack (; 93 ;) (type $FUNCSIG$vi) (param $0 i32)
local.get $0
local.get $0
i32.load offset=4
@ -7183,7 +7229,7 @@
i32.const 4
call $~lib/rt/__visit_members
)
(func $~lib/rt/pure/scan (; 93 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/scan (; 94 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
local.get $0
i32.load offset=4
@ -7217,7 +7263,7 @@
end
end
)
(func $~lib/rt/pure/collectWhite (; 94 ;) (type $FUNCSIG$vi) (param $0 i32)
(func $~lib/rt/pure/collectWhite (; 95 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
local.get $0
i32.load offset=4
@ -7235,17 +7281,22 @@
i32.const 0
end
if
local.get $0
local.get $1
i32.const -1879048193
i32.and
i32.store offset=4
local.get $0
i32.const 16
i32.add
i32.const 5
call $~lib/rt/__visit_members
global.get $~lib/rt/tlsf/ROOT
local.get $0
call $~lib/rt/tlsf/freeBlock
end
global.get $~lib/rt/tlsf/ROOT
local.get $0
call $~lib/rt/tlsf/freeBlock
)
(func $~lib/rt/pure/__visit (; 95 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/rt/pure/__visit (; 96 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
local.get $0
i32.const 508
i32.lt_u
@ -7355,7 +7406,7 @@
unreachable
end
)
(func $~lib/rt/__visit_members (; 96 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(func $~lib/rt/__visit_members (; 97 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
block $folding-inner0
block $switch$1$default
block $switch$1$case$4
@ -7389,7 +7440,7 @@
local.get $1
call $~lib/rt/pure/__visit
)
(func $null (; 97 ;) (type $FUNCSIG$v)
(func $null (; 98 ;) (type $FUNCSIG$v)
nop
)
)