mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 00:41:32 +00:00
Make memory allocators pluggable
This commit is contained in:
@ -7,10 +7,10 @@
|
||||
(type $iii (func (param i32 i32) (result i32)))
|
||||
(type $iiii (func (param i32 i32 i32) (result i32)))
|
||||
(type $v (func))
|
||||
(global $std:memory/arena/HEAP_OFFSET (mut i32) (i32.const 0))
|
||||
(global $std:memory/arena/ALIGN_LOG2 i32 (i32.const 3))
|
||||
(global $std:memory/arena/ALIGN_SIZE i32 (i32.const 8))
|
||||
(global $std:memory/arena/ALIGN_MASK i32 (i32.const 7))
|
||||
(global $std:memory/arena/HEAP_OFFSET (mut i32) (i32.const 0))
|
||||
(global $std/array/arr (mut i32) (i32.const 0))
|
||||
(global $std/array/i (mut i32) (i32.const 0))
|
||||
(global $HEAP_BASE i32 (i32.const 4))
|
||||
|
Reference in New Issue
Block a user