mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 15:32:16 +00:00
116 lines
2.0 KiB
Plaintext
116 lines
2.0 KiB
Plaintext
(module
|
|
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
|
|
(type $FUNCSIG$v (func))
|
|
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\0e\00\00\00\01\00\00\00\01\00\00\00\0e\00\00\00b\00o\00o\00l\00.\00t\00s")
|
|
(global $bool/i i32 (i32.const 2))
|
|
(global $bool/I i64 (i64.const 2))
|
|
(global $bool/u i32 (i32.const 2))
|
|
(global $bool/U i64 (i64.const 2))
|
|
(global $bool/f f32 (f32.const 2))
|
|
(global $bool/F f64 (f64.const 2))
|
|
(global $bool/uu i32 (i32.const 2))
|
|
(export "memory" (memory $0))
|
|
(start $start)
|
|
(func $start:bool (; 1 ;) (type $FUNCSIG$v)
|
|
global.get $bool/i
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 2
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/I
|
|
i64.const 0
|
|
i64.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 4
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/u
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 6
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/U
|
|
i64.const 0
|
|
i64.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 8
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/f
|
|
f32.const 0
|
|
f32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 10
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/F
|
|
f64.const 0
|
|
f64.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 12
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $bool/uu
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 14
|
|
i32.const 0
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start (; 2 ;) (type $FUNCSIG$v)
|
|
call $start:bool
|
|
)
|
|
(func $null (; 3 ;) (type $FUNCSIG$v)
|
|
nop
|
|
)
|
|
)
|