mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 01:11:32 +00:00
rtti & refactoring
This commit is contained in:
@ -3,11 +3,9 @@
|
||||
(type $FUNCSIG$v (func))
|
||||
(type $FUNCSIG$vi (func (param i32)))
|
||||
(type $FUNCSIG$vii (func (param i32 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\1c\00\00\00s\00t\00d\00/\00p\00o\00i\00n\00t\00e\00r\00.\00t\00s")
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(data (i32.const 8) "\10\00\00\00\1c\00\00\00s\00t\00d\00/\00p\00o\00i\00n\00t\00e\00r\00.\00t\00s")
|
||||
(global $std/pointer/one (mut i32) (i32.const 0))
|
||||
(global $std/pointer/two (mut i32) (i32.const 0))
|
||||
(global $std/pointer/add (mut i32) (i32.const 0))
|
||||
@ -15,7 +13,6 @@
|
||||
(global $std/pointer/nextOne (mut i32) (i32.const 0))
|
||||
(global $std/pointer/buf (mut i32) (i32.const 0))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $~lib/memory/memory.fill (; 1 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
@ -250,7 +247,7 @@
|
||||
i32.const 16
|
||||
i32.const 78
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -261,7 +258,7 @@
|
||||
i32.const 16
|
||||
i32.const 79
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -280,7 +277,7 @@
|
||||
i32.const 16
|
||||
i32.const 83
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -292,7 +289,7 @@
|
||||
i32.const 16
|
||||
i32.const 84
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -307,7 +304,7 @@
|
||||
i32.const 16
|
||||
i32.const 87
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -322,7 +319,7 @@
|
||||
i32.const 16
|
||||
i32.const 90
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -333,7 +330,7 @@
|
||||
i32.const 16
|
||||
i32.const 92
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -351,7 +348,7 @@
|
||||
i32.const 16
|
||||
i32.const 94
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -362,7 +359,7 @@
|
||||
i32.const 16
|
||||
i32.const 95
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -373,7 +370,7 @@
|
||||
i32.const 16
|
||||
i32.const 97
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -392,7 +389,7 @@
|
||||
i32.const 16
|
||||
i32.const 100
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -404,7 +401,7 @@
|
||||
i32.const 16
|
||||
i32.const 101
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/two
|
||||
@ -416,7 +413,7 @@
|
||||
i32.const 16
|
||||
i32.const 102
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -439,7 +436,7 @@
|
||||
i32.const 16
|
||||
i32.const 105
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -451,7 +448,7 @@
|
||||
i32.const 16
|
||||
i32.const 106
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/one
|
||||
@ -463,7 +460,7 @@
|
||||
i32.const 16
|
||||
i32.const 107
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 0
|
||||
@ -485,7 +482,7 @@
|
||||
i32.const 16
|
||||
i32.const 113
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -499,7 +496,7 @@
|
||||
i32.const 16
|
||||
i32.const 114
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -511,7 +508,7 @@
|
||||
i32.const 16
|
||||
i32.const 116
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -525,7 +522,7 @@
|
||||
i32.const 16
|
||||
i32.const 117
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 0
|
||||
@ -537,7 +534,7 @@
|
||||
i32.const 16
|
||||
i32.const 119
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 4
|
||||
@ -549,7 +546,7 @@
|
||||
i32.const 16
|
||||
i32.const 120
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -567,7 +564,7 @@
|
||||
i32.const 16
|
||||
i32.const 123
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -581,7 +578,7 @@
|
||||
i32.const 16
|
||||
i32.const 124
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 8
|
||||
@ -593,7 +590,7 @@
|
||||
i32.const 16
|
||||
i32.const 125
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
global.get $std/pointer/buf
|
||||
@ -608,7 +605,7 @@
|
||||
i32.const 16
|
||||
i32.const 128
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 0
|
||||
@ -620,7 +617,7 @@
|
||||
i32.const 16
|
||||
i32.const 129
|
||||
i32.const 0
|
||||
call $~lib/env/abort
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
)
|
||||
|
Reference in New Issue
Block a user