mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 08:51:34 +00:00
unify mem/ref interface
This commit is contained in:
@ -465,7 +465,7 @@
|
||||
(export "table" (table $0))
|
||||
(export "main" (func $std/array/main))
|
||||
(export ".capabilities" (global $~lib/capabilities))
|
||||
(func $~lib/memory/memory.allocate (; 2 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(func $~lib/allocator/arena/__mem_allocate (; 2 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(local $1 i32)
|
||||
(local $2 i32)
|
||||
(local $3 i32)
|
||||
@ -537,7 +537,7 @@
|
||||
i32.clz
|
||||
i32.sub
|
||||
i32.shl
|
||||
call $~lib/memory/memory.allocate
|
||||
call $~lib/allocator/arena/__mem_allocate
|
||||
local.tee $1
|
||||
i32.const -1520547049
|
||||
i32.store
|
||||
@ -787,7 +787,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 151
|
||||
i32.const 149
|
||||
i32.const 4
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
@ -802,7 +802,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 153
|
||||
i32.const 151
|
||||
i32.const 4
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
@ -844,7 +844,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 234
|
||||
i32.const 232
|
||||
i32.const 57
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
@ -2303,7 +2303,7 @@
|
||||
i32.lt_u
|
||||
if
|
||||
local.get $5
|
||||
call $~lib/memory/memory.allocate
|
||||
call $~lib/allocator/arena/__mem_allocate
|
||||
local.tee $3
|
||||
local.get $4
|
||||
i32.load
|
||||
@ -2340,7 +2340,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 115
|
||||
i32.const 113
|
||||
i32.const 8
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
@ -3968,7 +3968,7 @@
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.tee $3
|
||||
call $~lib/memory/memory.allocate
|
||||
call $~lib/allocator/arena/__mem_allocate
|
||||
local.tee $7
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4464,7 +4464,7 @@
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.tee $3
|
||||
call $~lib/memory/memory.allocate
|
||||
call $~lib/allocator/arena/__mem_allocate
|
||||
local.tee $7
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4983,7 +4983,7 @@
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.tee $3
|
||||
call $~lib/memory/memory.allocate
|
||||
call $~lib/allocator/arena/__mem_allocate
|
||||
local.tee $6
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -6323,7 +6323,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 175
|
||||
i32.const 173
|
||||
i32.const 4
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
@ -6337,7 +6337,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 177
|
||||
i32.const 175
|
||||
i32.const 4
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
|
Reference in New Issue
Block a user