mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
unify runtime header
This commit is contained in:
@ -34,7 +34,6 @@
|
||||
(global $~lib/runtime/ROOT (mut i32) (i32.const 0))
|
||||
(global $~lib/runtime/RTTI_BASE i32 (i32.const 160))
|
||||
(global $~lib/memory/HEAP_BASE i32 (i32.const 392))
|
||||
(global $~lib/capabilities i32 (i32.const 2))
|
||||
(export "memory" (memory $0))
|
||||
(export "$.instanceof" (func $~lib/runtime/runtime.instanceof))
|
||||
(export "$.flags" (func $~lib/runtime/runtime.flags))
|
||||
@ -45,7 +44,6 @@
|
||||
(export "$.retain" (func $~lib/runtime/runtime.retain))
|
||||
(export "$.release" (func $~lib/runtime/runtime.release))
|
||||
(export "$.collect" (func $~lib/runtime/runtime.collect))
|
||||
(export "$.capabilities" (global $~lib/capabilities))
|
||||
(start $start)
|
||||
(func $~lib/util/runtime/adjust (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
i32.const 1
|
||||
@ -177,7 +175,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 131
|
||||
i32.const 129
|
||||
i32.const 4
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
@ -194,7 +192,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 133
|
||||
i32.const 131
|
||||
i32.const 4
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
|
Reference in New Issue
Block a user