assemblyscript/tests/compiler/std/pointer.optimized.wat
2018-11-08 08:04:24 +01:00

1594 lines
26 KiB
Plaintext

(module
(type $iiiiv (func (param i32 i32 i32 i32)))
(type $iiv (func (param i32 i32)))
(type $iiiv (func (param i32 i32 i32)))
(type $iifv (func (param i32 i32 f32)))
(type $iif (func (param i32 i32) (result f32)))
(type $v (func))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(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)))
(memory $0 1)
(data (i32.const 8) "\0e\00\00\00s\00t\00d\00/\00p\00o\00i\00n\00t\00e\00r\00.\00t\00s")
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(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))
(global $std/pointer/sub (mut i32) (i32.const 0))
(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 $std/pointer/Pointer<Entry>#constructor (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
get_local $0
)
(func $~lib/internal/memory/memset (; 2 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
get_local $0
i32.const 0
i32.store8
get_local $0
i32.const 8
i32.add
tee_local $1
i32.const 1
i32.sub
i32.const 0
i32.store8
get_local $0
i32.const 1
i32.add
i32.const 0
i32.store8
get_local $0
i32.const 2
i32.add
i32.const 0
i32.store8
get_local $1
i32.const 2
i32.sub
i32.const 0
i32.store8
get_local $1
i32.const 3
i32.sub
i32.const 0
i32.store8
get_local $0
i32.const 3
i32.add
i32.const 0
i32.store8
get_local $1
i32.const 4
i32.sub
i32.const 0
i32.store8
)
(func $~lib/internal/memory/memcpy (; 3 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
loop $continue|0
get_local $2
if (result i32)
get_local $1
i32.const 3
i32.and
else
get_local $2
end
tee_local $3
if
get_local $0
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 1
i32.sub
set_local $2
br $continue|0
end
end
get_local $0
i32.const 3
i32.and
i32.eqz
if
loop $continue|1
get_local $2
i32.const 16
i32.ge_u
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 4
i32.add
i32.load
i32.store
get_local $0
i32.const 8
i32.add
get_local $1
i32.const 8
i32.add
i32.load
i32.store
get_local $0
i32.const 12
i32.add
get_local $1
i32.const 12
i32.add
i32.load
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|1
end
end
get_local $2
i32.const 8
i32.and
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 4
i32.add
i32.load
i32.store
get_local $0
i32.const 8
i32.add
set_local $0
get_local $1
i32.const 8
i32.add
set_local $1
end
get_local $2
i32.const 4
i32.and
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
set_local $0
get_local $1
i32.const 4
i32.add
set_local $1
end
get_local $2
i32.const 2
i32.and
if
get_local $0
get_local $1
i32.load16_u
i32.store16
get_local $0
i32.const 2
i32.add
set_local $0
get_local $1
i32.const 2
i32.add
set_local $1
end
get_local $2
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
i32.store8
end
return
end
get_local $2
i32.const 32
i32.ge_u
if
block $break|2
block $case2|2
block $case1|2
get_local $0
i32.const 3
i32.and
tee_local $3
i32.const 1
i32.ne
if
get_local $3
i32.const 2
i32.eq
br_if $case1|2
get_local $3
i32.const 3
i32.eq
br_if $case2|2
br $break|2
end
get_local $1
i32.load
set_local $5
get_local $0
get_local $1
tee_local $3
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $1
set_local $0
get_local $1
get_local $3
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 3
i32.sub
set_local $2
loop $continue|3
get_local $2
i32.const 17
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
i32.load
tee_local $3
i32.const 8
i32.shl
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
i32.load
tee_local $5
i32.const 8
i32.shl
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
i32.load
tee_local $3
i32.const 8
i32.shl
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
i32.load
tee_local $5
i32.const 8
i32.shl
i32.or
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|3
end
end
br $break|2
end
get_local $1
i32.load
set_local $5
get_local $0
get_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 2
i32.sub
set_local $2
loop $continue|4
get_local $2
i32.const 18
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
i32.load
tee_local $3
i32.const 16
i32.shl
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
i32.load
tee_local $5
i32.const 16
i32.shl
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
i32.load
tee_local $3
i32.const 16
i32.shl
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
i32.load
tee_local $5
i32.const 16
i32.shl
i32.or
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|4
end
end
br $break|2
end
get_local $1
i32.load
set_local $5
get_local $0
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 1
i32.sub
set_local $2
loop $continue|5
get_local $2
i32.const 19
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
i32.load
tee_local $3
i32.const 24
i32.shl
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
i32.load
tee_local $5
i32.const 24
i32.shl
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
i32.load
tee_local $3
i32.const 24
i32.shl
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
i32.load
tee_local $5
i32.const 24
i32.shl
i32.or
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|5
end
end
end
end
get_local $2
i32.const 16
i32.and
if
get_local $0
get_local $1
tee_local $3
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $1
set_local $0
get_local $1
get_local $3
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
end
get_local $2
i32.const 8
i32.and
if
get_local $0
get_local $1
tee_local $3
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $1
set_local $0
get_local $1
get_local $3
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
end
get_local $2
i32.const 4
i32.and
if
get_local $0
get_local $1
tee_local $3
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $1
set_local $0
get_local $1
get_local $3
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $3
set_local $0
get_local $3
get_local $1
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
end
get_local $2
i32.const 2
i32.and
if
get_local $0
get_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
end
get_local $2
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
i32.store8
end
)
(func $~lib/internal/memory/memmove (; 4 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
i32.const 8
set_local $2
get_local $0
get_local $1
i32.eq
if
return
end
get_local $1
i32.const 8
i32.add
get_local $0
i32.le_u
tee_local $3
i32.eqz
if
get_local $0
i32.const 8
i32.add
get_local $1
i32.le_u
set_local $3
end
get_local $3
if
get_local $0
get_local $1
i32.const 8
call $~lib/internal/memory/memcpy
return
end
get_local $0
get_local $1
i32.lt_u
if
get_local $1
i32.const 7
i32.and
get_local $0
i32.const 7
i32.and
i32.eq
if
loop $continue|0
get_local $0
i32.const 7
i32.and
if
get_local $2
i32.eqz
if
return
end
get_local $2
i32.const 1
i32.sub
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
br $continue|0
end
end
loop $continue|1
get_local $2
i32.const 8
i32.ge_u
if
get_local $0
get_local $1
i64.load
i64.store
get_local $2
i32.const 8
i32.sub
set_local $2
get_local $0
i32.const 8
i32.add
set_local $0
get_local $1
i32.const 8
i32.add
set_local $1
br $continue|1
end
end
end
loop $continue|2
get_local $2
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 1
i32.sub
set_local $2
br $continue|2
end
end
else
get_local $1
i32.const 7
i32.and
get_local $0
i32.const 7
i32.and
i32.eq
if
loop $continue|3
get_local $0
get_local $2
i32.add
i32.const 7
i32.and
if
get_local $2
i32.eqz
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
i32.add
get_local $1
get_local $2
i32.add
i32.load8_u
i32.store8
br $continue|3
end
end
loop $continue|4
get_local $2
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
i32.add
get_local $1
get_local $2
i32.add
i64.load
i64.store
br $continue|4
end
end
end
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
i32.add
get_local $1
get_local $2
i32.add
i32.load8_u
i32.store8
br $continue|5
end
end
end
)
(func $std/pointer/Pointer<Entry>#set:value (; 5 ;) (type $iiv) (param $0 i32) (param $1 i32)
get_local $1
if
get_local $0
get_local $1
call $~lib/internal/memory/memmove
else
get_local $0
call $~lib/internal/memory/memset
end
)
(func $std/pointer/Pointer<f32>#set (; 6 ;) (type $iifv) (param $0 i32) (param $1 i32) (param $2 f32)
get_local $0
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
f32.store
)
(func $std/pointer/Pointer<f32>#get (; 7 ;) (type $iif) (param $0 i32) (param $1 i32) (result f32)
get_local $0
get_local $1
i32.const 2
i32.shl
i32.add
f32.load
)
(func $std/pointer/Pointer<f32>#set:value (; 8 ;) (type $FUNCSIG$vi) (param $0 i32)
get_local $0
f32.const 1.399999976158142
f32.store
)
(func $start (; 9 ;) (type $v)
i32.const 8
call $std/pointer/Pointer<Entry>#constructor
set_global $std/pointer/one
i32.const 24
call $std/pointer/Pointer<Entry>#constructor
set_global $std/pointer/two
get_global $std/pointer/one
i32.const 8
i32.ne
if
i32.const 0
i32.const 8
i32.const 79
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
i32.const 24
i32.ne
if
i32.const 0
i32.const 8
i32.const 80
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.const 1
i32.store
get_global $std/pointer/one
i32.const 2
i32.store offset=4
get_global $std/pointer/one
i32.load
i32.const 1
i32.ne
if
i32.const 0
i32.const 8
i32.const 84
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.load offset=4
i32.const 2
i32.ne
if
i32.const 0
i32.const 8
i32.const 85
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
get_global $std/pointer/two
i32.add
set_global $std/pointer/add
get_global $std/pointer/add
i32.const 32
i32.ne
if
i32.const 0
i32.const 8
i32.const 88
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
get_global $std/pointer/one
i32.sub
set_global $std/pointer/sub
get_global $std/pointer/sub
i32.const 16
i32.ne
if
i32.const 0
i32.const 8
i32.const 91
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.const 8
i32.ne
if
i32.const 0
i32.const 8
i32.const 93
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.const 8
i32.add
set_global $std/pointer/one
get_global $std/pointer/one
set_global $std/pointer/nextOne
get_global $std/pointer/nextOne
get_global $std/pointer/one
i32.ne
if
i32.const 0
i32.const 8
i32.const 95
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.const 16
i32.ne
if
i32.const 0
i32.const 8
i32.const 96
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
i32.const 24
i32.ne
if
i32.const 0
i32.const 8
i32.const 98
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
i32.const 8
i32.sub
set_global $std/pointer/two
get_global $std/pointer/two
i32.const 8
i32.sub
set_global $std/pointer/two
get_global $std/pointer/two
i32.const 8
i32.ne
if
i32.const 0
i32.const 8
i32.const 101
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
i32.load
i32.const 1
i32.ne
if
i32.const 0
i32.const 8
i32.const 102
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/two
i32.load offset=4
i32.const 2
i32.ne
if
i32.const 0
i32.const 8
i32.const 103
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
get_global $std/pointer/two
call $std/pointer/Pointer<Entry>#set:value
get_global $std/pointer/one
get_global $std/pointer/two
i32.eq
if
i32.const 0
i32.const 8
i32.const 106
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.load
i32.const 1
i32.ne
if
i32.const 0
i32.const 8
i32.const 107
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/one
i32.load offset=4
i32.const 2
i32.ne
if
i32.const 0
i32.const 8
i32.const 108
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
call $std/pointer/Pointer<Entry>#constructor
set_global $std/pointer/buf
get_global $std/pointer/buf
i32.const 0
f32.const 1.100000023841858
call $std/pointer/Pointer<f32>#set
get_global $std/pointer/buf
i32.const 1
f32.const 1.2000000476837158
call $std/pointer/Pointer<f32>#set
get_global $std/pointer/buf
i32.const 0
call $std/pointer/Pointer<f32>#get
f32.const 1.100000023841858
f32.ne
if
i32.const 0
i32.const 8
i32.const 114
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
i32.const 1
call $std/pointer/Pointer<f32>#get
f32.const 1.2000000476837158
f32.ne
if
i32.const 0
i32.const 8
i32.const 115
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
f32.load
f32.const 1.100000023841858
f32.ne
if
i32.const 0
i32.const 8
i32.const 117
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
i32.const 4
i32.add
f32.load
f32.const 1.2000000476837158
f32.ne
if
i32.const 0
i32.const 8
i32.const 118
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
f32.load
f32.const 1.100000023841858
f32.ne
if
i32.const 0
i32.const 8
i32.const 120
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 4
f32.load
f32.const 1.2000000476837158
f32.ne
if
i32.const 0
i32.const 8
i32.const 121
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
i32.const 8
i32.add
f32.const 1.2999999523162842
f32.store
get_global $std/pointer/buf
i32.const 2
call $std/pointer/Pointer<f32>#get
f32.const 1.2999999523162842
f32.ne
if
i32.const 0
i32.const 8
i32.const 124
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
i32.const 8
i32.add
f32.load
f32.const 1.2999999523162842
f32.ne
if
i32.const 0
i32.const 8
i32.const 125
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 8
f32.load
f32.const 1.2999999523162842
f32.ne
if
i32.const 0
i32.const 8
i32.const 126
i32.const 0
call $~lib/env/abort
unreachable
end
get_global $std/pointer/buf
call $std/pointer/Pointer<f32>#set:value
get_global $std/pointer/buf
f32.load
f32.const 1.399999976158142
f32.ne
if
i32.const 0
i32.const 8
i32.const 129
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
f32.load
f32.const 1.399999976158142
f32.ne
if
i32.const 0
i32.const 8
i32.const 130
i32.const 0
call $~lib/env/abort
unreachable
end
)
(func $null (; 10 ;) (type $v)
nop
)
)