mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-27 21:51:47 +00:00
some cleanup
This commit is contained in:
@ -58,7 +58,7 @@
|
||||
(export "table" (table $0))
|
||||
(export ".capabilities" (global $~lib/capabilities))
|
||||
(start $start)
|
||||
(func $~lib/runtime/ADJUSTOBLOCK (; 2 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(func $~lib/runtime/runtime.adjust (; 2 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
i32.const 1
|
||||
i32.const 32
|
||||
local.get $0
|
||||
@ -1438,10 +1438,10 @@
|
||||
call $~lib/allocator/tlsf/__mem_allocate
|
||||
return
|
||||
)
|
||||
(func $~lib/runtime/allocate (; 23 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(func $~lib/runtime/runtime.allocate (; 23 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
call $~lib/runtime/ADJUSTOBLOCK
|
||||
call $~lib/runtime/runtime.adjust
|
||||
call $~lib/memory/memory.allocate
|
||||
local.set $1
|
||||
local.get $1
|
||||
@ -1853,7 +1853,7 @@
|
||||
local.get $2
|
||||
call $~lib/collector/itcm/ManagedObjectList#push
|
||||
)
|
||||
(func $~lib/runtime/register (; 40 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(func $~lib/runtime/runtime.register (; 40 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
global.get $~lib/memory/HEAP_BASE
|
||||
@ -1862,8 +1862,8 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 88
|
||||
i32.const 153
|
||||
i32.const 4
|
||||
i32.const 145
|
||||
i32.const 6
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
@ -1879,8 +1879,8 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 88
|
||||
i32.const 155
|
||||
i32.const 4
|
||||
i32.const 147
|
||||
i32.const 6
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
@ -1896,9 +1896,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 2
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -1911,9 +1911,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 4
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 6
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -1929,9 +1929,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 4
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 7
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -1946,9 +1946,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 8
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -1961,9 +1961,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 4
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 9
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -1979,9 +1979,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 4
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 10
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -2007,9 +2007,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 11
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -2023,9 +2023,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 12
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -2044,9 +2044,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 13
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
@ -2057,9 +2057,9 @@
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/runtime/allocate
|
||||
call $~lib/runtime/runtime.allocate
|
||||
i32.const 13
|
||||
call $~lib/runtime/register
|
||||
call $~lib/runtime/runtime.register
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
|
Reference in New Issue
Block a user