unify runtime header

This commit is contained in:
dcode
2019-04-08 23:22:13 +02:00
parent 8ec51423ca
commit c16c19e18d
152 changed files with 7726 additions and 7703 deletions

View File

@ -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