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

@ -37,7 +37,6 @@
(global $~lib/runtime/ROOT (mut i32) (i32.const 0))
(global $~lib/runtime/RTTI_BASE i32 (i32.const 336))
(global $~lib/memory/HEAP_BASE i32 (i32.const 528))
(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))
@ -48,7 +47,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/array/Array<i8>#get:length (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
@ -244,7 +242,7 @@
if
i32.const 0
i32.const 296
i32.const 131
i32.const 129
i32.const 4
call $~lib/builtins/abort
unreachable
@ -261,7 +259,7 @@
if
i32.const 0
i32.const 296
i32.const 133
i32.const 131
i32.const 4
call $~lib/builtins/abort
unreachable