rtti & refactoring

This commit is contained in:
dcode
2019-04-06 20:17:48 +02:00
parent a9e4813798
commit e1070cee86
266 changed files with 23295 additions and 33925 deletions

View File

@ -1,14 +1,11 @@
(module
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$v (func))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\01\00\00\00\1a\00\00\00i\00n\00s\00t\00a\00n\00c\00e\00o\00f\00.\00t\00s")
(table $0 1 funcref)
(elem (i32.const 0) $null)
(data (i32.const 8) "\10\00\00\00\1a\00\00\00i\00n\00s\00t\00a\00n\00c\00e\00o\00f\00.\00t\00s")
(global $instanceof/an (mut i32) (i32.const 0))
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start:instanceof (; 1 ;) (type $FUNCSIG$v)
global.get $instanceof/an
@ -17,7 +14,7 @@
i32.const 16
i32.const 68
i32.const 0
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
i32.const 1
@ -29,7 +26,7 @@
i32.const 16
i32.const 71
i32.const 0
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
)