inherent acylic data structure detection

this will become useful for the pure collector eventually
This commit is contained in:
dcode
2019-04-08 03:49:41 +02:00
parent 57c8bd01ca
commit c3ff3f2376
43 changed files with 1927 additions and 546 deletions

View File

@ -22,8 +22,7 @@
(data (i32.const 216) "g\00c\00.\00u\00n\00l\00i\00n\00k")
(data (i32.const 240) "\10\00\00\00\14")
(data (i32.const 256) "g\00c\00.\00c\00o\00l\00l\00e\00c\00t")
(data (i32.const 280) "\15")
(data (i32.const 428) "\11\00\00\00\00\00\00\00\12\00\00\00!\00\00\00\0e")
(data (i32.const 280) "\15\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\11\00\00\00\08\00\00\00\12\00\00\00I\00\00\00\0e\00\00\00\08")
(global $gc/_dummy/collect_count (mut i32) (i32.const 0))
(global $gc/_dummy/register_count (mut i32) (i32.const 0))
(global $gc/_dummy/register_ref (mut i32) (i32.const 0))
@ -783,7 +782,7 @@
i32.load
end
local.tee $0
i32.const 8
i32.const 16
i32.div_u
i32.const 31
i32.and
@ -837,7 +836,7 @@
i32.shr_u
i32.store offset=12
local.get $0
i32.const 512
i32.const 1024
i32.and
if
local.get $1