mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 03:31:44 +00:00
fixes, dist files
This commit is contained in:
@ -1298,16 +1298,49 @@
|
||||
end
|
||||
end
|
||||
)
|
||||
(func $~lib/rt/pure/growRoots (; 21 ;) (type $FUNCSIG$v)
|
||||
(func $~lib/rt/tlsf/__free (; 21 ;) (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 (; 22 ;) (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
|
||||
@ -1320,13 +1353,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
|
||||
@ -1334,7 +1380,7 @@
|
||||
i32.add
|
||||
global.set $~lib/rt/pure/END
|
||||
)
|
||||
(func $~lib/rt/pure/appendRoot (; 22 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/appendRoot (; 23 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
global.get $~lib/rt/pure/CUR
|
||||
local.tee $1
|
||||
@ -1349,11 +1395,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 (; 23 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/decrement (; 24 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
@ -1443,7 +1489,7 @@
|
||||
end
|
||||
end
|
||||
)
|
||||
(func $~lib/rt/pure/__release (; 24 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/__release (; 25 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
local.get $0
|
||||
i32.const 292
|
||||
i32.gt_u
|
||||
@ -1454,7 +1500,7 @@
|
||||
call $~lib/rt/pure/decrement
|
||||
end
|
||||
)
|
||||
(func $start:rc/logical-and-mismatch (; 25 ;) (type $FUNCSIG$v)
|
||||
(func $start:rc/logical-and-mismatch (; 26 ;) (type $FUNCSIG$v)
|
||||
(local $0 i32)
|
||||
call $rc/logical-and-mismatch/Ref#constructor
|
||||
global.set $rc/logical-and-mismatch/gloRef
|
||||
@ -1500,10 +1546,10 @@
|
||||
global.get $rc/logical-and-mismatch/gloRef
|
||||
call $~lib/rt/pure/__release
|
||||
)
|
||||
(func $start (; 26 ;) (type $FUNCSIG$v)
|
||||
(func $start (; 27 ;) (type $FUNCSIG$v)
|
||||
call $start:rc/logical-and-mismatch
|
||||
)
|
||||
(func $~lib/rt/pure/markGray (; 27 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/markGray (; 28 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
i32.load offset=4
|
||||
@ -1527,7 +1573,7 @@
|
||||
call $~lib/rt/__visit_members
|
||||
end
|
||||
)
|
||||
(func $~lib/rt/pure/scanBlack (; 28 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/scanBlack (; 29 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
local.get $0
|
||||
local.get $0
|
||||
i32.load offset=4
|
||||
@ -1540,7 +1586,7 @@
|
||||
i32.const 4
|
||||
call $~lib/rt/__visit_members
|
||||
)
|
||||
(func $~lib/rt/pure/scan (; 29 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/scan (; 30 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
i32.load offset=4
|
||||
@ -1574,7 +1620,7 @@
|
||||
end
|
||||
end
|
||||
)
|
||||
(func $~lib/rt/pure/collectWhite (; 30 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/pure/collectWhite (; 31 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
i32.load offset=4
|
||||
@ -1592,17 +1638,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 (; 31 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(func $~lib/rt/pure/__visit (; 32 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
local.get $0
|
||||
i32.const 292
|
||||
i32.lt_u
|
||||
@ -1712,7 +1763,7 @@
|
||||
unreachable
|
||||
end
|
||||
)
|
||||
(func $~lib/rt/__visit_members (; 32 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(func $~lib/rt/__visit_members (; 33 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
block $switch$1$default
|
||||
block $switch$1$case$4
|
||||
block $switch$1$case$2
|
||||
@ -1736,7 +1787,7 @@
|
||||
end
|
||||
unreachable
|
||||
)
|
||||
(func $null (; 33 ;) (type $FUNCSIG$v)
|
||||
(func $null (; 34 ;) (type $FUNCSIG$v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user