mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
43 lines
897 B
Plaintext
43 lines
897 B
Plaintext
(module
|
|
(type $iiii_ (func (param i32 i32 i32 i32)))
|
|
(type $_ (func))
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\0d\00\00\00i\00n\00s\00t\00a\00n\00c\00e\00o\00f\00.\00t\00s")
|
|
(table $0 1 funcref)
|
|
(elem (i32.const 0) $null)
|
|
(global $instanceof/an (mut i32) (i32.const 0))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(start $start)
|
|
(func $start:instanceof (; 1 ;) (type $_)
|
|
global.get $instanceof/an
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 68
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
global.set $instanceof/an
|
|
global.get $instanceof/an
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 71
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start (; 2 ;) (type $_)
|
|
call $start:instanceof
|
|
)
|
|
(func $null (; 3 ;) (type $_)
|
|
nop
|
|
)
|
|
)
|