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

@ -4,16 +4,13 @@
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(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\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
(data (i32.const 48) "\01")
(data (i32.const 56) "\01\00\00\00\1c\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
(data (i32.const 96) "\01\00\00\00\08\00\00\00n\00u\00l\00l")
(table $0 1 funcref)
(elem (i32.const 0) $null)
(data (i32.const 8) "\10\00\00\00\1a\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
(data (i32.const 48) "\10")
(data (i32.const 56) "\10\00\00\00\1c\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
(data (i32.const 96) "\10\00\00\00\08\00\00\00n\00u\00l\00l")
(export "memory" (memory $0))
(export "table" (table $0))
(export "i32ArrayArrayElementAccess" (func $std/array-access/i32ArrayArrayElementAccess))
(export "stringArrayPropertyAccess" (func $std/array-access/stringArrayPropertyAccess))
(export "stringArrayMethodCall" (func $std/array-access/stringArrayMethodCall))
@ -29,7 +26,7 @@
i32.const 16
i32.const 96
i32.const 45
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
local.get $1
@ -43,7 +40,7 @@
i32.const 16
i32.const 99
i32.const 61
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
local.get $0
@ -66,7 +63,7 @@
i32.const 16
i32.const 99
i32.const 61
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
local.get $0
@ -144,7 +141,7 @@
i32.const 64
i32.const 178
i32.const 4
call $~lib/env/abort
call $~lib/builtins/abort
unreachable
end
i32.const 52