mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 04:01:46 +00:00
Make memory allocators pluggable
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
(type $ii (func (param i32) (result i32)))
|
||||
(type $ifv (func (param i32 f32)))
|
||||
(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/new/aClass (mut i32) (i32.const 0))
|
||||
(global $HEAP_BASE i32 (i32.const 4))
|
||||
(memory $0 1)
|
||||
|
Reference in New Issue
Block a user