16b alignment, cleanup

This commit is contained in:
dcode
2019-04-15 13:10:41 +02:00
parent 586ca8b580
commit aee3a3e3a7
12 changed files with 281 additions and 308 deletions

View File

@ -595,13 +595,13 @@
call $~lib/builtins/abort
unreachable
end
i32.const 2912
i32.load
local.get $0
i32.load offset=2912
local.tee $3
if
local.get $1
local.get $3
i32.const 4
i32.const 8
i32.add
i32.lt_u
if
@ -675,9 +675,9 @@
local.tee $2
i32.const 2
i32.store
i32.const 2912
local.get $0
local.get $2
i32.store
i32.store offset=2912
local.get $0
local.get $1
call $~lib/allocator/tlsf/Root#insert
@ -893,7 +893,7 @@
local.set $2
i32.const 272
global.set $~lib/allocator/tlsf/ROOT
i32.const 2912
i32.const 3184
i32.const 0
i32.store
i32.const 272

View File

@ -70,7 +70,7 @@
end
)
(func $~lib/allocator/tlsf/Root#set:tailRef (; 4 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
i32.const 0
local.get $0
local.get $1
i32.store offset=2912
)
@ -128,7 +128,7 @@
i32.store offset=96
)
(func $~lib/allocator/tlsf/Root#get:tailRef (; 7 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
i32.const 0
local.get $0
i32.load offset=2912
)
(func $~lib/allocator/tlsf/Block#get:right (; 8 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
@ -715,7 +715,7 @@
if
local.get $1
local.get $3
i32.const 4
i32.const 8
i32.add
i32.ge_u
i32.eqz