mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-30 21:52:18 +00:00
llvm-like naming of __heap_base, definition fixes, update examples
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
(global $~lib/rt/stub/startOffset (mut i32) (i32.const 0))
|
||||
(global $~lib/rt/stub/offset (mut i32) (i32.const 0))
|
||||
(global $std/date/date (mut i32) (i32.const 0))
|
||||
(global $~lib/heap/HEAP_BASE i32 (i32.const 48))
|
||||
(global $~lib/heap/__heap_base i32 (i32.const 48))
|
||||
(export "memory" (memory $0))
|
||||
(start $start)
|
||||
(func $~lib/rt/stub/__alloc (; 3 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
@@ -283,7 +283,7 @@
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $~lib/heap/HEAP_BASE
|
||||
global.get $~lib/heap/__heap_base
|
||||
i32.const 15
|
||||
i32.add
|
||||
i32.const 15
|
||||
|
Reference in New Issue
Block a user