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 $std/array-literal/dynamicArrayRef (mut i32) (i32.const 0))
(global $std/array-literal/dynamicArrayRefWithCtor (mut i32) (i32.const 0))
(global $~lib/runtime/ROOT (mut i32) (i32.const 0))
(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.retain))
(export "$.collect" (func $~lib/runtime/runtime.collect))
(export "$.capabilities" (global $~lib/capabilities))
(start $start)
(func $~lib/array/Array<i8>#__get (; 1 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $1
@ -186,7 +184,7 @@
if
i32.const 0
i32.const 296
i32.const 131
i32.const 129
i32.const 4
call $~lib/builtins/abort
unreachable
@ -201,7 +199,7 @@
if
i32.const 0
i32.const 296
i32.const 133
i32.const 131
i32.const 4
call $~lib/builtins/abort
unreachable