assemblyscript/tests/compiler/std/static-array.untouched.wat

2439 lines
43 KiB
Plaintext
Raw Normal View History

(module
(type $FUNCSIG$ii (func (param i32) (result i32)))
2019-03-17 01:35:44 +01:00
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
2019-03-18 16:09:49 +01:00
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(type $FUNCSIG$jii (func (param i32 i32) (result i64)))
(type $FUNCSIG$viij (func (param i32 i32 i64)))
(type $FUNCSIG$fii (func (param i32 i32) (result f32)))
(type $FUNCSIG$viif (func (param i32 i32 f32)))
(type $FUNCSIG$dii (func (param i32 i32) (result f64)))
(type $FUNCSIG$viid (func (param i32 i32 f64)))
2019-03-17 01:35:44 +01:00
(type $FUNCSIG$v (func))
2019-04-06 20:17:48 +02:00
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
(memory $0 1)
2019-05-23 03:08:25 +02:00
(data (i32.const 8) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\01\00\00\00\02\00\00\00")
(data (i32.const 32) "\10\00\00\00\01\00\00\00\03\00\00\00\10\00\00\00\18\00\00\00\18\00\00\00\08\00\00\00\02\00\00\00")
(data (i32.const 64) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\03\00\00\00\00\00\00\00\04\00\00\00\00\00\00\00")
(data (i32.const 96) "\10\00\00\00\01\00\00\00\04\00\00\00\10\00\00\00P\00\00\00P\00\00\00\10\00\00\00\02\00\00\00")
(data (i32.const 128) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\00\00\c0?\00\00 @")
(data (i32.const 152) "\10\00\00\00\01\00\00\00\05\00\00\00\10\00\00\00\90\00\00\00\90\00\00\00\08\00\00\00\02\00\00\00")
(data (i32.const 184) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\00\00\00\00\00\00\f4?\00\00\00\00\00\00\02@")
(data (i32.const 216) "\10\00\00\00\01\00\00\00\06\00\00\00\10\00\00\00\c8\00\00\00\c8\00\00\00\10\00\00\00\02\00\00\00")
(data (i32.const 248) "&\00\00\00\01\00\00\00\01\00\00\00&\00\00\00s\00t\00d\00/\00s\00t\00a\00t\00i\00c\00-\00a\00r\00r\00a\00y\00.\00t\00s\00")
(data (i32.const 304) "$\00\00\00\01\00\00\00\01\00\00\00$\00\00\00I\00n\00d\00e\00x\00 \00o\00u\00t\00 \00o\00f\00 \00r\00a\00n\00g\00e\00")
(data (i32.const 360) "\1a\00\00\00\01\00\00\00\01\00\00\00\1a\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s\00")
(data (i32.const 408) "\1c\00\00\00\01\00\00\00\01\00\00\00\1c\00\00\00I\00n\00v\00a\00l\00i\00d\00 \00l\00e\00n\00g\00t\00h\00")
(table $0 1 funcref)
(elem (i32.const 0) $null)
2019-04-08 23:22:13 +02:00
(global $std/static-array/i i32 (i32.const 48))
(global $std/static-array/I i32 (i32.const 112))
(global $std/static-array/f i32 (i32.const 168))
(global $std/static-array/F i32 (i32.const 232))
2019-05-23 03:08:25 +02:00
(global $~lib/rt/stub/startOffset (mut i32) (i32.const 0))
(global $~lib/rt/stub/offset (mut i32) (i32.const 0))
(global $~lib/ASC_SHRINK_LEVEL i32 (i32.const 0))
2019-05-23 03:08:25 +02:00
(global $~lib/heap/HEAP_BASE i32 (i32.const 452))
(export "memory" (memory $0))
(start $start)
2019-03-17 01:35:44 +01:00
(func $~lib/array/Array<i32>#get:length (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
2019-03-17 01:35:44 +01:00
i32.load offset=12
)
2019-03-26 23:35:08 +01:00
(func $~lib/array/Array<i32>#__unchecked_get (; 2 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
i32.load offset=4
local.get $1
i32.const 2
i32.shl
i32.add
i32.load
)
(func $~lib/array/Array<i32>#__get (; 3 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
i32.load offset=8
i32.const 2
i32.shr_u
i32.ge_u
if
2019-04-08 23:22:13 +02:00
i32.const 320
2019-05-23 03:08:25 +02:00
i32.const 376
i32.const 100
2019-03-18 16:09:49 +01:00
i32.const 61
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
2019-03-18 16:09:49 +01:00
unreachable
end
local.get $0
local.get $1
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<i32>#__unchecked_get
2019-03-18 16:09:49 +01:00
)
2019-05-23 03:08:25 +02:00
(func $~lib/rt/stub/__alloc (; 4 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-27 14:43:35 +01:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
2019-05-23 03:08:25 +02:00
(local $7 i32)
(local $8 i32)
2019-03-27 17:21:52 +01:00
local.get $0
2019-05-23 03:08:25 +02:00
i32.const 1073741808
2019-03-27 17:21:52 +01:00
i32.gt_u
if
unreachable
end
2019-05-23 03:08:25 +02:00
global.get $~lib/rt/stub/offset
i32.const 16
i32.add
local.set $2
local.get $2
2019-03-27 17:21:52 +01:00
local.get $0
local.tee $3
2019-05-23 03:08:25 +02:00
i32.const 1
local.tee $4
2019-03-27 17:21:52 +01:00
local.get $3
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-27 17:21:52 +01:00
i32.gt_u
select
i32.add
2019-05-23 03:08:25 +02:00
i32.const 15
2019-03-27 17:21:52 +01:00
i32.add
2019-05-23 03:08:25 +02:00
i32.const 15
2019-03-27 17:21:52 +01:00
i32.const -1
i32.xor
i32.and
local.set $5
2019-05-23 13:20:10 +02:00
memory.size
2019-05-23 03:08:25 +02:00
local.set $6
2019-03-27 17:21:52 +01:00
local.get $5
2019-05-23 03:08:25 +02:00
local.get $6
2019-03-27 17:21:52 +01:00
i32.const 16
i32.shl
i32.gt_u
if
2019-05-23 03:08:25 +02:00
local.get $5
local.get $2
2019-03-27 17:21:52 +01:00
i32.sub
i32.const 65535
2019-03-27 14:43:35 +01:00
i32.add
2019-03-27 17:21:52 +01:00
i32.const 65535
2019-03-27 14:43:35 +01:00
i32.const -1
i32.xor
i32.and
2019-03-27 17:21:52 +01:00
i32.const 16
i32.shr_u
2019-05-23 03:08:25 +02:00
local.set $3
2019-03-27 17:21:52 +01:00
local.get $6
2019-05-23 03:08:25 +02:00
local.tee $4
local.get $3
local.tee $7
local.get $4
local.get $7
2019-03-27 17:21:52 +01:00
i32.gt_s
select
2019-05-23 03:08:25 +02:00
local.set $4
local.get $4
2019-05-23 13:20:10 +02:00
memory.grow
2019-03-27 17:21:52 +01:00
i32.const 0
i32.lt_s
2019-03-27 14:43:35 +01:00
if
2019-05-23 03:08:25 +02:00
local.get $3
2019-05-23 13:20:10 +02:00
memory.grow
2019-03-27 14:43:35 +01:00
i32.const 0
i32.lt_s
if
2019-03-27 17:21:52 +01:00
unreachable
2019-03-27 14:43:35 +01:00
end
end
end
2019-05-23 03:08:25 +02:00
local.get $5
global.set $~lib/rt/stub/offset
local.get $2
i32.const 16
i32.sub
local.set $8
local.get $8
2019-03-27 17:21:52 +01:00
local.get $1
2019-05-23 03:08:25 +02:00
i32.store offset=8
local.get $8
2019-03-27 17:21:52 +01:00
local.get $0
2019-05-23 03:08:25 +02:00
i32.store offset=12
local.get $2
2019-03-18 16:09:49 +01:00
)
(func $~lib/util/memory/memcpy (; 5 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
block $break|0
loop $continue|0
local.get $2
if (result i32)
local.get $1
i32.const 3
i32.and
else
i32.const 0
end
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 1
i32.sub
local.set $2
br $continue|0
end
end
end
local.get $0
i32.const 3
i32.and
i32.const 0
i32.eq
if
block $break|1
loop $continue|1
local.get $2
i32.const 16
i32.ge_u
if
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.get $1
i32.const 4
i32.add
i32.load
i32.store
local.get $0
i32.const 8
i32.add
local.get $1
i32.const 8
i32.add
i32.load
i32.store
local.get $0
i32.const 12
i32.add
local.get $1
i32.const 12
i32.add
i32.load
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
br $continue|1
end
end
end
local.get $2
i32.const 8
i32.and
if
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.get $1
i32.const 4
i32.add
i32.load
i32.store
local.get $0
i32.const 8
i32.add
local.set $0
local.get $1
i32.const 8
i32.add
local.set $1
end
local.get $2
i32.const 4
i32.and
if
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.set $0
local.get $1
i32.const 4
i32.add
local.set $1
end
local.get $2
i32.const 2
i32.and
if
local.get $0
local.get $1
i32.load16_u
i32.store16
local.get $0
i32.const 2
i32.add
local.set $0
local.get $1
i32.const 2
i32.add
local.set $1
end
local.get $2
i32.const 1
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
return
end
local.get $2
i32.const 32
i32.ge_u
if
block $break|2
block $case2|2
block $case1|2
block $case0|2
local.get $0
i32.const 3
i32.and
local.set $5
local.get $5
i32.const 1
i32.eq
br_if $case0|2
local.get $5
i32.const 2
i32.eq
br_if $case1|2
local.get $5
i32.const 3
i32.eq
br_if $case2|2
br $break|2
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 3
i32.sub
local.set $2
block $break|3
loop $continue|3
local.get $2
i32.const 17
i32.ge_u
if
local.get $1
i32.const 1
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 24
i32.shr_u
local.get $4
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 5
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 24
i32.shr_u
local.get $3
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 9
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 24
i32.shr_u
local.get $4
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 13
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 24
i32.shr_u
local.get $3
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
br $continue|3
end
end
end
br $break|2
unreachable
end
unreachable
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 2
i32.sub
local.set $2
block $break|4
loop $continue|4
local.get $2
i32.const 18
i32.ge_u
if
local.get $1
i32.const 2
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 16
i32.shr_u
local.get $4
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 6
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 16
i32.shr_u
local.get $3
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 10
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 16
i32.shr_u
local.get $4
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 14
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 16
i32.shr_u
local.get $3
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
br $continue|4
end
end
end
br $break|2
unreachable
end
unreachable
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 1
i32.sub
local.set $2
block $break|5
loop $continue|5
local.get $2
i32.const 19
i32.ge_u
if
local.get $1
i32.const 3
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 8
i32.shr_u
local.get $4
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 7
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 8
i32.shr_u
local.get $3
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 11
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 8
i32.shr_u
local.get $4
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 15
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 8
i32.shr_u
local.get $3
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
br $continue|5
end
end
end
br $break|2
unreachable
end
unreachable
end
end
local.get $2
i32.const 16
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 8
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 4
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 2
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 1
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
)
(func $~lib/memory/memory.copy (; 6 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-18 16:09:49 +01:00
(local $3 i32)
2019-03-20 14:16:18 +01:00
(local $4 i32)
(local $5 i32)
2019-05-23 03:08:25 +02:00
(local $6 i32)
2019-03-18 16:09:49 +01:00
block $~lib/util/memory/memmove|inlined.0
local.get $0
2019-05-23 03:08:25 +02:00
local.set $5
2019-03-18 16:09:49 +01:00
local.get $1
2019-05-23 03:08:25 +02:00
local.set $4
local.get $2
local.set $3
local.get $5
local.get $4
2019-03-18 16:09:49 +01:00
i32.eq
if
br $~lib/util/memory/memmove|inlined.0
end
local.get $4
local.get $3
i32.add
local.get $5
i32.le_u
if (result i32)
i32.const 1
else
local.get $5
local.get $3
i32.add
local.get $4
i32.le_u
end
if
local.get $5
local.get $4
local.get $3
call $~lib/util/memory/memcpy
br $~lib/util/memory/memmove|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
local.get $4
2019-03-18 16:09:49 +01:00
i32.lt_u
if
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.const 7
i32.and
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 7
i32.and
i32.eq
if
block $break|0
loop $continue|0
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 7
i32.and
if
2019-05-23 03:08:25 +02:00
local.get $3
i32.eqz
if
br $~lib/util/memory/memmove|inlined.0
end
local.get $3
i32.const 1
i32.sub
local.set $3
block (result i32)
local.get $5
local.tee $6
2019-03-18 16:09:49 +01:00
i32.const 1
2019-05-23 03:08:25 +02:00
i32.add
local.set $5
local.get $6
2019-03-18 16:09:49 +01:00
end
2019-05-23 03:08:25 +02:00
block (result i32)
local.get $4
local.tee $6
i32.const 1
i32.add
local.set $4
local.get $6
end
i32.load8_u
i32.store8
2019-03-18 16:09:49 +01:00
br $continue|0
end
end
end
block $break|1
loop $continue|1
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 8
i32.ge_u
if
2019-05-23 03:08:25 +02:00
local.get $5
local.get $4
i64.load
i64.store
local.get $3
i32.const 8
i32.sub
local.set $3
local.get $5
i32.const 8
i32.add
local.set $5
local.get $4
i32.const 8
i32.add
local.set $4
2019-03-18 16:09:49 +01:00
br $continue|1
end
end
end
end
block $break|2
loop $continue|2
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
if
2019-05-23 03:08:25 +02:00
block (result i32)
local.get $5
local.tee $6
2019-03-18 16:09:49 +01:00
i32.const 1
2019-05-23 03:08:25 +02:00
i32.add
local.set $5
local.get $6
end
block (result i32)
local.get $4
local.tee $6
i32.const 1
i32.add
local.set $4
local.get $6
2019-03-18 16:09:49 +01:00
end
2019-05-23 03:08:25 +02:00
i32.load8_u
i32.store8
local.get $3
i32.const 1
i32.sub
local.set $3
2019-03-18 16:09:49 +01:00
br $continue|2
end
end
end
else
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.const 7
i32.and
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 7
i32.and
i32.eq
if
block $break|3
loop $continue|3
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 7
i32.and
if
2019-05-23 03:08:25 +02:00
local.get $3
i32.eqz
if
br $~lib/util/memory/memmove|inlined.0
2019-03-18 16:09:49 +01:00
end
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
i32.const 1
i32.sub
local.tee $3
i32.add
local.get $4
local.get $3
i32.add
i32.load8_u
i32.store8
2019-03-18 16:09:49 +01:00
br $continue|3
end
end
end
block $break|4
loop $continue|4
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 8
i32.ge_u
if
2019-05-23 03:08:25 +02:00
local.get $3
i32.const 8
i32.sub
local.set $3
local.get $5
local.get $3
i32.add
local.get $4
local.get $3
i32.add
i64.load
i64.store
2019-03-18 16:09:49 +01:00
br $continue|4
end
end
end
end
block $break|5
loop $continue|5
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
if
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 1
i32.sub
2019-05-23 03:08:25 +02:00
local.tee $3
2019-03-18 16:09:49 +01:00
i32.add
2019-05-23 03:08:25 +02:00
local.get $4
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.load8_u
i32.store8
br $continue|5
end
end
end
end
end
)
(func $~lib/rt/stub/__realloc (; 7 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-05-23 03:08:25 +02:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
local.get $0
i32.const 16
i32.sub
local.set $2
local.get $2
i32.load offset=12
local.set $3
local.get $1
local.get $3
i32.gt_u
if
local.get $1
local.get $2
i32.load offset=8
call $~lib/rt/stub/__alloc
local.set $4
local.get $4
local.get $0
local.get $3
call $~lib/memory/memory.copy
local.get $4
local.set $0
else
local.get $2
local.get $1
i32.store offset=12
end
local.get $0
)
(func $~lib/memory/memory.fill (; 8 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-18 16:09:49 +01:00
(local $3 i32)
(local $4 i32)
2019-03-20 14:16:18 +01:00
(local $5 i32)
2019-05-23 03:08:25 +02:00
(local $6 i32)
(local $7 i32)
(local $8 i64)
2019-03-18 16:09:49 +01:00
block $~lib/util/memory/memset|inlined.0
2019-05-23 03:08:25 +02:00
local.get $0
local.set $5
local.get $1
local.set $4
2019-03-18 16:09:49 +01:00
local.get $2
2019-05-23 03:08:25 +02:00
local.set $3
local.get $3
2019-03-18 16:09:49 +01:00
i32.eqz
if
br $~lib/util/memory/memset|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 1
i32.sub
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 2
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 1
i32.add
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 2
i32.add
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 2
i32.sub
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 3
i32.sub
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 6
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 3
i32.add
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 4
i32.sub
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.store8
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 8
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
i32.const 0
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.sub
i32.const 3
i32.and
2019-05-23 03:08:25 +02:00
local.set $6
2019-03-20 14:16:18 +01:00
local.get $5
2019-05-23 03:08:25 +02:00
local.get $6
2019-03-18 16:09:49 +01:00
i32.add
2019-05-23 03:08:25 +02:00
local.set $5
local.get $3
local.get $6
2019-03-18 16:09:49 +01:00
i32.sub
2019-05-23 03:08:25 +02:00
local.set $3
local.get $3
2019-03-18 16:09:49 +01:00
i32.const -4
i32.and
2019-05-23 03:08:25 +02:00
local.set $3
2019-03-18 16:09:49 +01:00
i32.const -1
i32.const 255
i32.div_u
2019-05-23 03:08:25 +02:00
local.get $4
2019-03-18 16:09:49 +01:00
i32.const 255
i32.and
i32.mul
2019-05-23 03:08:25 +02:00
local.set $7
local.get $5
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 4
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 8
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 4
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 8
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 12
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 8
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
i32.const 24
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 12
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 16
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 20
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 24
i32.add
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 28
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 24
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 20
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
2019-05-23 03:08:25 +02:00
local.get $5
local.get $3
2019-03-18 16:09:49 +01:00
i32.add
i32.const 16
i32.sub
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i32.store
i32.const 24
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.const 4
i32.and
i32.add
2019-05-23 03:08:25 +02:00
local.set $6
2019-03-20 14:16:18 +01:00
local.get $5
2019-05-23 03:08:25 +02:00
local.get $6
2019-03-18 16:09:49 +01:00
i32.add
2019-05-23 03:08:25 +02:00
local.set $5
local.get $3
local.get $6
2019-03-18 16:09:49 +01:00
i32.sub
2019-05-23 03:08:25 +02:00
local.set $3
local.get $7
2019-03-18 16:09:49 +01:00
i64.extend_i32_u
2019-05-23 03:08:25 +02:00
local.get $7
2019-03-18 16:09:49 +01:00
i64.extend_i32_u
i64.const 32
i64.shl
i64.or
2019-05-23 03:08:25 +02:00
local.set $8
block $break|0
loop $continue|0
local.get $3
i32.const 32
i32.ge_u
if
local.get $5
local.get $8
i64.store
local.get $5
i32.const 8
i32.add
local.get $8
i64.store
local.get $5
i32.const 16
i32.add
local.get $8
i64.store
local.get $5
i32.const 24
i32.add
local.get $8
i64.store
local.get $3
i32.const 32
i32.sub
local.set $3
local.get $5
i32.const 32
i32.add
local.set $5
2019-03-18 16:09:49 +01:00
br $continue|0
end
end
end
end
)
(func $~lib/rt/stub/__retain (; 9 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-27 14:43:35 +01:00
local.get $0
2019-03-18 16:09:49 +01:00
)
(func $~lib/array/ensureSize (; 10 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-18 16:09:49 +01:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
local.get $0
2019-05-23 03:08:25 +02:00
i32.load offset=8
2019-03-18 16:09:49 +01:00
local.set $3
local.get $1
2019-05-23 03:08:25 +02:00
local.get $3
2019-03-18 16:09:49 +01:00
local.get $2
i32.shr_u
i32.gt_u
if
local.get $1
2019-05-23 03:08:25 +02:00
i32.const 1073741808
2019-03-18 16:09:49 +01:00
local.get $2
i32.shr_u
i32.gt_u
if
2019-05-23 03:08:25 +02:00
i32.const 424
i32.const 376
2019-04-04 02:25:22 +02:00
i32.const 14
2019-05-23 03:08:25 +02:00
i32.const 47
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
2019-03-18 16:09:49 +01:00
unreachable
end
local.get $0
i32.load
2019-05-23 03:08:25 +02:00
local.set $4
2019-03-18 16:09:49 +01:00
local.get $1
local.get $2
i32.shl
2019-03-20 14:16:18 +01:00
local.set $5
2019-05-23 03:08:25 +02:00
local.get $4
local.get $5
call $~lib/rt/stub/__realloc
local.set $6
local.get $6
local.get $3
i32.add
i32.const 0
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-18 16:09:49 +01:00
local.get $3
2019-05-23 03:08:25 +02:00
i32.sub
call $~lib/memory/memory.fill
local.get $6
local.get $4
2019-03-18 16:09:49 +01:00
i32.ne
if
local.get $0
2019-05-23 03:08:25 +02:00
local.get $6
call $~lib/rt/stub/__retain
2019-03-18 16:09:49 +01:00
i32.store
local.get $0
2019-05-23 03:08:25 +02:00
local.get $6
2019-03-18 16:09:49 +01:00
i32.store offset=4
end
local.get $0
2019-05-23 03:08:25 +02:00
local.get $5
2019-03-18 16:09:49 +01:00
i32.store offset=8
end
)
(func $~lib/array/Array<i32>#__unchecked_set (; 11 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 2
i32.shl
i32.add
local.get $2
i32.store
)
(func $~lib/array/Array<i32>#__set (; 12 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
local.get $0
i32.load offset=12
local.set $3
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
i32.const 1
i32.add
i32.const 2
2019-05-23 03:08:25 +02:00
call $~lib/array/ensureSize
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<i32>#__unchecked_set
2019-03-18 16:09:49 +01:00
local.get $1
local.get $3
2019-03-18 16:09:49 +01:00
i32.ge_s
if
local.get $0
local.get $1
i32.const 1
i32.add
i32.store offset=12
end
)
(func $~lib/array/Array<i64>#get:length (; 13 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-18 16:09:49 +01:00
local.get $0
i32.load offset=12
)
(func $~lib/array/Array<i64>#__unchecked_get (; 14 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 3
i32.shl
i32.add
i64.load
)
(func $~lib/array/Array<i64>#__get (; 15 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64)
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
i32.load offset=8
i32.const 3
i32.shr_u
i32.ge_u
if
2019-04-08 23:22:13 +02:00
i32.const 320
2019-05-23 03:08:25 +02:00
i32.const 376
i32.const 100
2019-03-18 16:09:49 +01:00
i32.const 61
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
2019-03-18 16:09:49 +01:00
unreachable
end
2019-03-26 23:35:08 +01:00
local.get $0
local.get $1
call $~lib/array/Array<i64>#__unchecked_get
)
(func $~lib/array/Array<i64>#__unchecked_set (; 16 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64)
2019-03-18 16:09:49 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 3
i32.shl
i32.add
2019-03-26 23:35:08 +01:00
local.get $2
i64.store
2019-03-18 16:09:49 +01:00
)
(func $~lib/array/Array<i64>#__set (; 17 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64)
(local $3 i32)
local.get $0
i32.load offset=12
local.set $3
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
i32.const 1
i32.add
i32.const 3
2019-05-23 03:08:25 +02:00
call $~lib/array/ensureSize
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<i64>#__unchecked_set
2019-03-18 16:09:49 +01:00
local.get $1
local.get $3
2019-03-18 16:09:49 +01:00
i32.ge_s
if
local.get $0
local.get $1
i32.const 1
i32.add
i32.store offset=12
end
)
(func $~lib/array/Array<f32>#get:length (; 18 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-18 16:09:49 +01:00
local.get $0
i32.load offset=12
)
(func $~lib/array/Array<f32>#__unchecked_get (; 19 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 2
i32.shl
i32.add
f32.load
)
(func $~lib/array/Array<f32>#__get (; 20 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32)
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
i32.load offset=8
i32.const 2
i32.shr_u
i32.ge_u
if
2019-04-08 23:22:13 +02:00
i32.const 320
2019-05-23 03:08:25 +02:00
i32.const 376
i32.const 100
2019-03-18 16:09:49 +01:00
i32.const 61
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
2019-03-18 16:09:49 +01:00
unreachable
end
2019-03-26 23:35:08 +01:00
local.get $0
local.get $1
call $~lib/array/Array<f32>#__unchecked_get
)
(func $~lib/array/Array<f32>#__unchecked_set (; 21 ;) (type $FUNCSIG$viif) (param $0 i32) (param $1 i32) (param $2 f32)
2019-03-18 16:09:49 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 2
i32.shl
i32.add
2019-03-26 23:35:08 +01:00
local.get $2
f32.store
2019-03-18 16:09:49 +01:00
)
(func $~lib/array/Array<f32>#__set (; 22 ;) (type $FUNCSIG$viif) (param $0 i32) (param $1 i32) (param $2 f32)
(local $3 i32)
local.get $0
i32.load offset=12
local.set $3
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
i32.const 1
i32.add
i32.const 2
2019-05-23 03:08:25 +02:00
call $~lib/array/ensureSize
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<f32>#__unchecked_set
2019-03-18 16:09:49 +01:00
local.get $1
local.get $3
2019-03-18 16:09:49 +01:00
i32.ge_s
if
local.get $0
local.get $1
i32.const 1
i32.add
i32.store offset=12
end
)
(func $~lib/array/Array<f64>#get:length (; 23 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
2019-03-17 01:35:44 +01:00
i32.load offset=12
)
(func $~lib/array/Array<f64>#__unchecked_get (; 24 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 3
i32.shl
i32.add
f64.load
)
(func $~lib/array/Array<f64>#__get (; 25 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64)
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
i32.load offset=8
i32.const 3
i32.shr_u
i32.ge_u
if
2019-04-08 23:22:13 +02:00
i32.const 320
2019-05-23 03:08:25 +02:00
i32.const 376
i32.const 100
2019-03-18 16:09:49 +01:00
i32.const 61
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
2019-03-18 16:09:49 +01:00
unreachable
end
2019-03-26 23:35:08 +01:00
local.get $0
local.get $1
call $~lib/array/Array<f64>#__unchecked_get
)
(func $~lib/array/Array<f64>#__unchecked_set (; 26 ;) (type $FUNCSIG$viid) (param $0 i32) (param $1 i32) (param $2 f64)
2019-03-18 16:09:49 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 3
i32.shl
i32.add
2019-03-26 23:35:08 +01:00
local.get $2
f64.store
2019-03-18 16:09:49 +01:00
)
(func $~lib/array/Array<f64>#__set (; 27 ;) (type $FUNCSIG$viid) (param $0 i32) (param $1 i32) (param $2 f64)
(local $3 i32)
local.get $0
i32.load offset=12
local.set $3
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
i32.const 1
i32.add
i32.const 3
2019-05-23 03:08:25 +02:00
call $~lib/array/ensureSize
2019-03-18 16:09:49 +01:00
local.get $0
local.get $1
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<f64>#__unchecked_set
2019-03-18 16:09:49 +01:00
local.get $1
local.get $3
2019-03-18 16:09:49 +01:00
i32.ge_s
if
local.get $0
local.get $1
i32.const 1
i32.add
i32.store offset=12
end
)
(func $start:std/static-array (; 28 ;) (type $FUNCSIG$v)
2019-05-23 03:08:25 +02:00
(local $0 i32)
(local $1 i32)
2019-03-17 01:35:44 +01:00
global.get $std/static-array/i
call $~lib/array/Array<i32>#get:length
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 6
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/i
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i32>#__get
i32.const 1
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 7
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/i
i32.const 1
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i32>#__get
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 8
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
2019-05-23 03:08:25 +02:00
global.get $~lib/heap/HEAP_BASE
i32.const 15
2019-03-27 14:43:35 +01:00
i32.add
2019-05-23 03:08:25 +02:00
i32.const 15
2019-03-27 14:43:35 +01:00
i32.const -1
i32.xor
i32.and
2019-05-23 03:08:25 +02:00
global.set $~lib/rt/stub/startOffset
global.get $~lib/rt/stub/startOffset
global.set $~lib/rt/stub/offset
global.get $std/static-array/i
2019-03-18 16:09:49 +01:00
i32.const 0
i32.const 2
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i32>#__set
global.get $std/static-array/i
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i32>#__get
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 10
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
2019-03-17 01:35:44 +01:00
global.get $std/static-array/I
call $~lib/array/Array<i64>#get:length
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 12
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/I
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i64>#__get
i64.const 3
i64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 13
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/I
i32.const 1
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i64>#__get
i64.const 4
i64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 14
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/I
2019-03-18 16:09:49 +01:00
i32.const 0
i64.const 4
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i64>#__set
global.get $std/static-array/I
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<i64>#__get
i64.const 4
i64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 16
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
2019-03-17 01:35:44 +01:00
global.get $std/static-array/f
call $~lib/array/Array<f32>#get:length
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 18
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/f
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f32>#__get
f32.const 1.5
f32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 19
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/f
i32.const 1
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f32>#__get
f32.const 2.5
f32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 20
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/f
2019-03-18 16:09:49 +01:00
i32.const 0
f32.const 2.5
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f32>#__set
global.get $std/static-array/f
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f32>#__get
f32.const 2.5
f32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 22
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
2019-03-17 01:35:44 +01:00
global.get $std/static-array/F
call $~lib/array/Array<f64>#get:length
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 24
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/F
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f64>#__get
f64.const 1.25
f64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 25
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/F
i32.const 1
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f64>#__get
f64.const 2.25
f64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 26
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
global.get $std/static-array/F
2019-03-18 16:09:49 +01:00
i32.const 0
f64.const 2.25
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f64>#__set
global.get $std/static-array/F
i32.const 0
2019-03-18 16:09:49 +01:00
call $~lib/array/Array<f64>#__get
f64.const 2.25
f64.eq
i32.eqz
if
i32.const 0
2019-04-08 23:22:13 +02:00
i32.const 264
2019-03-31 21:58:42 +02:00
i32.const 28
i32.const 0
2019-04-06 20:17:48 +02:00
call $~lib/builtins/abort
unreachable
end
)
(func $start (; 29 ;) (type $FUNCSIG$v)
call $start:std/static-array
)
(func $null (; 30 ;) (type $FUNCSIG$v)
)
)