mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 23:42:15 +00:00
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
(module
|
|
(type $FUNCSIG$v (func))
|
|
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
|
|
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\10\00\00\00.")
|
|
(data (i32.const 24) "i\00n\00l\00i\00n\00i\00n\00g\00-\00b\00l\00o\00c\00k\00l\00o\00c\00a\00l\00s\00.\00t\00s")
|
|
(global $inlining-blocklocals/b (mut i32) (i32.const 2))
|
|
(global $inlining-blocklocals/theCall_a (mut i32) (i32.const 0))
|
|
(global $inlining-blocklocals/theCall_b (mut i32) (i32.const 0))
|
|
(export "memory" (memory $0))
|
|
(start $start)
|
|
(func $inlining-blocklocals/test (; 1 ;) (type $FUNCSIG$v)
|
|
(local $0 i32)
|
|
global.get $inlining-blocklocals/b
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.add
|
|
global.set $inlining-blocklocals/b
|
|
i32.const 1
|
|
global.set $inlining-blocklocals/theCall_a
|
|
local.get $0
|
|
global.set $inlining-blocklocals/theCall_b
|
|
global.get $inlining-blocklocals/theCall_a
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 16
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $inlining-blocklocals/theCall_b
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 17
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start (; 2 ;) (type $FUNCSIG$v)
|
|
call $inlining-blocklocals/test
|
|
)
|
|
(func $null (; 3 ;) (type $FUNCSIG$v)
|
|
nop
|
|
)
|
|
)
|