mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-29 00:42:16 +00:00
Reduce inlining verbosity
With debug info and source maps in place there is not much value anymore in emitting explicitly named blocks.
This commit is contained in:
parent
04a0cb8de7
commit
d62d84521e
@ -5492,7 +5492,11 @@ export class Compiler extends DiagnosticEmitter {
|
||||
);
|
||||
return module.createUnreachable();
|
||||
}
|
||||
return module.createBlock(returnLabel, body, returnType.toNativeType());
|
||||
return flow.is(FlowFlags.RETURNS)
|
||||
? module.createBlock(returnLabel, body, returnType.toNativeType())
|
||||
: body.length > 1
|
||||
? module.createBlock(null, body, returnType.toNativeType())
|
||||
: body[0];
|
||||
}
|
||||
|
||||
/** Gets the trampoline for the specified function. */
|
||||
|
@ -16,9 +16,7 @@
|
||||
call $inlining-recursive/bar
|
||||
)
|
||||
(func $inlining-recursive/bar (; 2 ;) (type $v)
|
||||
block $inlining-recursive/bar|inlined.0
|
||||
call $inlining-recursive/baz
|
||||
end
|
||||
)
|
||||
(func $null (; 3 ;) (type $v)
|
||||
)
|
||||
|
@ -214,10 +214,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $inlining/func_iv|inlined.0
|
||||
i32.const 0
|
||||
set_local $2
|
||||
end
|
||||
block (result i32)
|
||||
i32.const 1
|
||||
set_global $~argc
|
||||
|
@ -1888,7 +1888,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
block
|
||||
get_global $std/allocator_arena/ptr1
|
||||
set_local $0
|
||||
i32.const 18
|
||||
@ -1933,7 +1933,7 @@
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
block
|
||||
get_global $std/allocator_arena/ptr2
|
||||
set_local $2
|
||||
get_global $std/allocator_arena/ptr1
|
||||
|
@ -507,7 +507,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store offset=4
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -518,7 +517,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
)
|
||||
(func $~lib/array/Array<i8>#__unchecked_set (; 9 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
@ -581,7 +579,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store offset=4
|
||||
block $~lib/memory/memory.fill|inlined.1
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -592,7 +589,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
)
|
||||
(func $~lib/array/Array<i32>#__unchecked_set (; 11 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
@ -655,7 +651,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store offset=4
|
||||
block $~lib/memory/memory.fill|inlined.2
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -666,7 +661,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
)
|
||||
(func $~lib/array/Array<Ref>#__unchecked_set (; 13 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
@ -745,7 +739,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store offset=4
|
||||
block $~lib/memory/memory.fill|inlined.3
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -756,7 +749,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
)
|
||||
(func $~lib/array/Array<RefWithCtor>#__unchecked_set (; 16 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
|
@ -2666,6 +2666,7 @@
|
||||
(local $1 i32)
|
||||
(local $2 i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
get_local $0
|
||||
i32.load offset=4
|
||||
tee_local $1
|
||||
@ -2696,11 +2697,10 @@
|
||||
tee_local $1
|
||||
i32.const 2
|
||||
i32.shl
|
||||
tee_local $4
|
||||
call $~lib/internal/memory/memmove
|
||||
get_local $2
|
||||
get_local $1
|
||||
i32.const 2
|
||||
i32.shl
|
||||
get_local $4
|
||||
i32.add
|
||||
i32.const 0
|
||||
i32.store offset=8
|
||||
@ -4097,11 +4097,12 @@
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
tee_local $1
|
||||
tee_local $2
|
||||
f32.load offset=8
|
||||
set_local $6
|
||||
get_local $1
|
||||
get_local $2
|
||||
get_local $0
|
||||
tee_local $1
|
||||
f32.load offset=8
|
||||
f32.store offset=8
|
||||
get_local $0
|
||||
@ -4686,11 +4687,12 @@
|
||||
get_local $0
|
||||
i32.const 8
|
||||
i32.add
|
||||
tee_local $1
|
||||
tee_local $2
|
||||
f64.load offset=8
|
||||
set_local $6
|
||||
get_local $1
|
||||
get_local $2
|
||||
get_local $0
|
||||
tee_local $1
|
||||
f64.load offset=8
|
||||
f64.store offset=8
|
||||
get_local $0
|
||||
@ -5047,27 +5049,27 @@
|
||||
get_local $1
|
||||
i32.const 1
|
||||
i32.sub
|
||||
set_local $3
|
||||
set_local $4
|
||||
loop $repeat|0
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 0
|
||||
i32.le_s
|
||||
br_if $break|0
|
||||
get_local $3
|
||||
set_local $4
|
||||
loop $continue|1
|
||||
get_local $4
|
||||
set_local $3
|
||||
loop $continue|1
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.and
|
||||
get_local $7
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.const 6
|
||||
i32.shr_s
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
i32.load
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.shr_s
|
||||
i32.const 31
|
||||
@ -5077,15 +5079,15 @@
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.shr_s
|
||||
set_local $4
|
||||
set_local $3
|
||||
br $continue|1
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.shr_s
|
||||
tee_local $5
|
||||
@ -5093,9 +5095,9 @@
|
||||
i32.shl
|
||||
i32.add
|
||||
i32.load offset=8
|
||||
set_local $4
|
||||
set_local $3
|
||||
get_local $0
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
@ -5103,7 +5105,7 @@
|
||||
set_local $6
|
||||
i32.const 2
|
||||
set_global $~argc
|
||||
get_local $4
|
||||
get_local $3
|
||||
get_local $6
|
||||
get_local $2
|
||||
call_indirect (type $iii)
|
||||
@ -5111,7 +5113,7 @@
|
||||
i32.lt_s
|
||||
if
|
||||
get_local $7
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 5
|
||||
i32.shr_s
|
||||
i32.const 2
|
||||
@ -5121,18 +5123,18 @@
|
||||
get_local $8
|
||||
i32.load
|
||||
i32.const 1
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 31
|
||||
i32.and
|
||||
i32.shl
|
||||
i32.xor
|
||||
i32.store
|
||||
get_local $0
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.store offset=8
|
||||
get_local $0
|
||||
get_local $5
|
||||
@ -5142,10 +5144,10 @@
|
||||
get_local $6
|
||||
i32.store offset=8
|
||||
end
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 1
|
||||
i32.sub
|
||||
set_local $3
|
||||
set_local $4
|
||||
br $repeat|0
|
||||
unreachable
|
||||
end
|
||||
@ -5155,9 +5157,9 @@
|
||||
get_local $1
|
||||
i32.const 1
|
||||
i32.sub
|
||||
set_local $3
|
||||
set_local $4
|
||||
loop $repeat|2
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 2
|
||||
i32.lt_s
|
||||
br_if $break|2
|
||||
@ -5166,7 +5168,7 @@
|
||||
set_local $6
|
||||
get_local $0
|
||||
get_local $0
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
@ -5197,11 +5199,11 @@
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.add
|
||||
tee_local $4
|
||||
get_local $3
|
||||
tee_local $3
|
||||
get_local $4
|
||||
i32.lt_s
|
||||
if
|
||||
get_local $4
|
||||
get_local $3
|
||||
set_local $5
|
||||
br $continue|3
|
||||
end
|
||||
@ -5220,11 +5222,11 @@
|
||||
i32.shl
|
||||
i32.add
|
||||
i32.load offset=8
|
||||
set_local $4
|
||||
set_local $3
|
||||
i32.const 2
|
||||
set_global $~argc
|
||||
get_local $6
|
||||
get_local $4
|
||||
get_local $3
|
||||
get_local $2
|
||||
call_indirect (type $iii)
|
||||
i32.const 0
|
||||
@ -5255,7 +5257,7 @@
|
||||
get_local $6
|
||||
i32.store offset=8
|
||||
get_local $0
|
||||
get_local $4
|
||||
get_local $3
|
||||
i32.store offset=8
|
||||
end
|
||||
get_local $5
|
||||
@ -5265,10 +5267,10 @@
|
||||
br $continue|4
|
||||
end
|
||||
end
|
||||
get_local $3
|
||||
get_local $4
|
||||
i32.const 1
|
||||
i32.sub
|
||||
set_local $3
|
||||
set_local $4
|
||||
br $repeat|2
|
||||
unreachable
|
||||
end
|
||||
@ -5277,11 +5279,12 @@
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
tee_local $2
|
||||
tee_local $3
|
||||
i32.load offset=8
|
||||
set_local $1
|
||||
get_local $2
|
||||
get_local $3
|
||||
get_local $0
|
||||
tee_local $2
|
||||
i32.load offset=8
|
||||
i32.store offset=8
|
||||
get_local $0
|
||||
@ -7575,11 +7578,7 @@
|
||||
i32.const 1
|
||||
i32.shl
|
||||
call $~lib/internal/memory/memmove
|
||||
get_local $0
|
||||
get_local $4
|
||||
i32.const 1
|
||||
i32.shl
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 46
|
||||
i32.store16 offset=4
|
||||
get_local $1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1939,7 +1939,6 @@
|
||||
get_local $6
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $7
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
get_local $7
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1954,7 +1953,6 @@
|
||||
get_local $5
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
get_local $7
|
||||
)
|
||||
(func $~lib/arraybuffer/ArrayBuffer#slice|trampoline (; 9 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
|
@ -438,7 +438,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -449,7 +448,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -499,7 +497,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<u8,u32>|inlined.0
|
||||
get_local $0
|
||||
i32.load
|
||||
set_local $3
|
||||
@ -515,7 +512,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store8 offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/dataview/DataView#constructor (; 8 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
||||
(local $4 i32)
|
||||
@ -606,7 +602,6 @@
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.0
|
||||
i32.const 4
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -633,7 +628,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.and
|
||||
@ -702,7 +696,6 @@
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.1
|
||||
i32.const 8
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -729,7 +722,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.and
|
||||
@ -759,7 +751,6 @@
|
||||
(local $2 i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.2
|
||||
i32.const 1
|
||||
set_local $2
|
||||
get_local $0
|
||||
@ -786,7 +777,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -817,7 +807,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.3
|
||||
i32.const 2
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -844,7 +833,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -883,7 +871,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.4
|
||||
i32.const 4
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -910,7 +897,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -974,7 +960,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i64)
|
||||
block $~lib/dataview/checkOffset|inlined.5
|
||||
i32.const 8
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1001,7 +986,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1025,7 +1009,6 @@
|
||||
(local $2 i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.6
|
||||
i32.const 1
|
||||
set_local $2
|
||||
get_local $0
|
||||
@ -1052,7 +1035,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1081,7 +1063,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.7
|
||||
i32.const 2
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1108,7 +1089,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1133,7 +1113,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.8
|
||||
i32.const 4
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1160,7 +1139,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1185,7 +1163,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i64)
|
||||
block $~lib/dataview/checkOffset|inlined.9
|
||||
i32.const 8
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1212,7 +1189,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1236,7 +1212,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.10
|
||||
i32.const 4
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1263,7 +1238,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.and
|
||||
@ -1295,7 +1269,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.11
|
||||
i32.const 8
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1322,7 +1295,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $3
|
||||
i32.const 1
|
||||
i32.and
|
||||
@ -1354,7 +1326,6 @@
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.12
|
||||
i32.const 1
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1381,7 +1352,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1396,7 +1366,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.13
|
||||
i32.const 2
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1423,7 +1392,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1446,7 +1414,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.14
|
||||
i32.const 4
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1473,7 +1440,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1496,7 +1462,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.15
|
||||
i32.const 8
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1523,7 +1488,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1546,7 +1510,6 @@
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.16
|
||||
i32.const 1
|
||||
set_local $3
|
||||
get_local $0
|
||||
@ -1573,7 +1536,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1588,7 +1550,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.17
|
||||
i32.const 2
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1615,7 +1576,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1638,7 +1598,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.18
|
||||
i32.const 4
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1665,7 +1624,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
@ -1688,7 +1646,6 @@
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
block $~lib/dataview/checkOffset|inlined.19
|
||||
i32.const 8
|
||||
set_local $4
|
||||
get_local $0
|
||||
@ -1715,7 +1672,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $0
|
||||
|
@ -2302,7 +2302,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $0
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -2319,12 +2318,10 @@
|
||||
get_local $4
|
||||
get_local $5
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
else
|
||||
get_local $1
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $5
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -2337,8 +2334,6 @@
|
||||
get_local $3
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
block $~lib/memory/memory.fill|inlined.1
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -2355,7 +2350,6 @@
|
||||
get_local $4
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $5
|
||||
return
|
||||
end
|
||||
@ -2458,7 +2452,6 @@
|
||||
i32.add
|
||||
i32.store offset=4
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<Foo,Foo>|inlined.0
|
||||
get_local $3
|
||||
get_local $1
|
||||
i32.const 2
|
||||
@ -2466,7 +2459,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store offset=8
|
||||
end
|
||||
get_local $0
|
||||
get_local $2
|
||||
call $~lib/collector/itcm/__gc_link
|
||||
|
@ -34704,7 +34704,7 @@
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
block $~lib/math/NativeMathf.seedRandom|inlined.0
|
||||
block
|
||||
call $~lib/bindings/Math/random
|
||||
i64.reinterpret/f64
|
||||
set_local $3
|
||||
|
@ -2220,7 +2220,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $std/pointer/Pointer<f32>#set|inlined.0
|
||||
block
|
||||
get_global $std/pointer/buf
|
||||
set_local $0
|
||||
i32.const 2
|
||||
|
@ -1900,7 +1900,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $0
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1917,12 +1916,10 @@
|
||||
get_local $4
|
||||
get_local $5
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
else
|
||||
get_local $1
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $5
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1935,8 +1932,6 @@
|
||||
get_local $3
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
block $~lib/memory/memory.fill|inlined.1
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1953,7 +1948,6 @@
|
||||
get_local $4
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $5
|
||||
return
|
||||
end
|
||||
@ -2024,7 +2018,6 @@
|
||||
i32.add
|
||||
i32.store offset=4
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<i32,i32>|inlined.0
|
||||
get_local $3
|
||||
get_local $1
|
||||
i32.const 2
|
||||
@ -2032,7 +2025,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/array/Array<i64>#__get (; 10 ;) (type $iiI) (param $0 i32) (param $1 i32) (result i64)
|
||||
(local $2 i32)
|
||||
@ -2099,7 +2091,6 @@
|
||||
i32.add
|
||||
i32.store offset=4
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<i64,i64>|inlined.0
|
||||
get_local $3
|
||||
get_local $1
|
||||
i32.const 3
|
||||
@ -2107,7 +2098,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i64.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/array/Array<f32>#__get (; 12 ;) (type $iif) (param $0 i32) (param $1 i32) (result f32)
|
||||
(local $2 i32)
|
||||
@ -2174,7 +2164,6 @@
|
||||
i32.add
|
||||
i32.store offset=4
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<f32,f32>|inlined.0
|
||||
get_local $3
|
||||
get_local $1
|
||||
i32.const 2
|
||||
@ -2182,7 +2171,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
f32.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/array/Array<f64>#__get (; 14 ;) (type $iiF) (param $0 i32) (param $1 i32) (result f64)
|
||||
(local $2 i32)
|
||||
@ -2249,7 +2237,6 @@
|
||||
i32.add
|
||||
i32.store offset=4
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<f64,f64>|inlined.0
|
||||
get_local $3
|
||||
get_local $1
|
||||
i32.const 3
|
||||
@ -2257,7 +2244,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
f64.store offset=8
|
||||
end
|
||||
)
|
||||
(func $start (; 16 ;) (type $v)
|
||||
(local $0 i32)
|
||||
|
@ -2223,7 +2223,6 @@
|
||||
i32.shr_u
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $7
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
get_local $7
|
||||
get_global $~lib/internal/string/HEADER_SIZE
|
||||
i32.add
|
||||
@ -2232,7 +2231,6 @@
|
||||
get_local $4
|
||||
get_local $5
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
block $~lib/memory/memory.free|inlined.0
|
||||
block
|
||||
get_local $4
|
||||
|
@ -4699,11 +4699,7 @@
|
||||
i32.const 1
|
||||
i32.shl
|
||||
call $~lib/internal/memory/memmove
|
||||
get_local $0
|
||||
get_local $4
|
||||
i32.const 1
|
||||
i32.shl
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 46
|
||||
i32.store16 offset=4
|
||||
get_local $1
|
||||
|
@ -2473,7 +2473,7 @@
|
||||
i32.lt_s
|
||||
i32.eqz
|
||||
br_if $break|5
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
block
|
||||
get_local $6
|
||||
get_local $8
|
||||
i32.add
|
||||
@ -4137,7 +4137,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store offset=4
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -4148,7 +4147,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
)
|
||||
(func $~lib/array/Array<String>#__unchecked_set (; 39 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
@ -4199,7 +4197,6 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.store
|
||||
block $~lib/memory/memory.fill|inlined.1
|
||||
get_local $0
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -4216,12 +4213,10 @@
|
||||
get_local $4
|
||||
get_local $5
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
else
|
||||
get_local $1
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $5
|
||||
block $~lib/memory/memory.copy|inlined.2
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -4234,8 +4229,6 @@
|
||||
get_local $3
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
block $~lib/memory/memory.fill|inlined.2
|
||||
get_local $5
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -4252,7 +4245,6 @@
|
||||
get_local $4
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $5
|
||||
return
|
||||
end
|
||||
@ -4328,7 +4320,6 @@
|
||||
get_local $0
|
||||
get_local $5
|
||||
i32.store offset=4
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<String,String>|inlined.2
|
||||
get_local $3
|
||||
get_local $2
|
||||
i32.const 2
|
||||
@ -4336,7 +4327,6 @@
|
||||
i32.add
|
||||
get_local $1
|
||||
i32.store offset=8
|
||||
end
|
||||
get_local $5
|
||||
)
|
||||
(func $~lib/string/String#split (; 42 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
@ -4450,7 +4440,6 @@
|
||||
i32.add
|
||||
i32.load16_u offset=4
|
||||
i32.store16 offset=4
|
||||
block $~lib/internal/arraybuffer/storeUnsafe<String,String>|inlined.1
|
||||
get_local $6
|
||||
get_local $7
|
||||
i32.const 2
|
||||
@ -4459,7 +4448,6 @@
|
||||
get_local $8
|
||||
i32.store offset=8
|
||||
end
|
||||
end
|
||||
get_local $7
|
||||
i32.const 1
|
||||
i32.add
|
||||
@ -4885,12 +4873,10 @@
|
||||
get_local $2
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/internal/number/utoa32_core|inlined.0
|
||||
get_local $3
|
||||
get_local $0
|
||||
get_local $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
get_local $1
|
||||
if
|
||||
get_local $3
|
||||
@ -4914,12 +4900,10 @@
|
||||
get_local $1
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $2
|
||||
block $~lib/internal/number/utoa32_core|inlined.1
|
||||
get_local $2
|
||||
get_local $0
|
||||
get_local $1
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
get_local $2
|
||||
)
|
||||
(func $~lib/internal/number/decimalCount64 (; 49 ;) (type $Ii) (param $0 i64) (result i32)
|
||||
@ -5153,12 +5137,10 @@
|
||||
get_local $3
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $1
|
||||
block $~lib/internal/number/utoa32_core|inlined.2
|
||||
get_local $1
|
||||
get_local $2
|
||||
get_local $3
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
else
|
||||
get_local $0
|
||||
call $~lib/internal/number/decimalCount64
|
||||
@ -5166,13 +5148,11 @@
|
||||
get_local $3
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $1
|
||||
block $~lib/internal/number/utoa64_core|inlined.0
|
||||
get_local $1
|
||||
get_local $0
|
||||
get_local $3
|
||||
call $~lib/internal/number/utoa64_lut
|
||||
end
|
||||
end
|
||||
get_local $1
|
||||
)
|
||||
(func $~lib/internal/number/itoa64 (; 52 ;) (type $Ii) (param $0 i64) (result i32)
|
||||
@ -5213,12 +5193,10 @@
|
||||
get_local $4
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $2
|
||||
block $~lib/internal/number/utoa32_core|inlined.3
|
||||
get_local $2
|
||||
get_local $3
|
||||
get_local $4
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
else
|
||||
get_local $0
|
||||
call $~lib/internal/number/decimalCount64
|
||||
@ -5228,13 +5206,11 @@
|
||||
get_local $4
|
||||
call $~lib/internal/string/allocateUnsafe
|
||||
set_local $2
|
||||
block $~lib/internal/number/utoa64_core|inlined.1
|
||||
get_local $2
|
||||
get_local $0
|
||||
get_local $4
|
||||
call $~lib/internal/number/utoa64_lut
|
||||
end
|
||||
end
|
||||
get_local $1
|
||||
if
|
||||
get_local $2
|
||||
@ -5561,7 +5537,6 @@
|
||||
get_local $14
|
||||
i32.add
|
||||
set_global $~lib/internal/number/_K
|
||||
block $~lib/internal/number/grisuRound|inlined.0
|
||||
block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.6 (result i64)
|
||||
get_local $16
|
||||
get_local $14
|
||||
@ -5642,7 +5617,6 @@
|
||||
get_local $18
|
||||
get_local $21
|
||||
i32.store16 offset=4
|
||||
end
|
||||
get_local $15
|
||||
return
|
||||
end
|
||||
@ -5727,7 +5701,6 @@
|
||||
end
|
||||
i64.mul
|
||||
set_local $10
|
||||
block $~lib/internal/number/grisuRound|inlined.1
|
||||
get_local $0
|
||||
get_local $15
|
||||
i32.const 1
|
||||
@ -5796,7 +5769,6 @@
|
||||
get_local $17
|
||||
get_local $21
|
||||
i32.store16 offset=4
|
||||
end
|
||||
get_local $15
|
||||
return
|
||||
end
|
||||
@ -5908,7 +5880,6 @@
|
||||
i32.shl
|
||||
i32.add
|
||||
set_local $4
|
||||
block $~lib/memory/memory.copy|inlined.3
|
||||
get_local $4
|
||||
get_global $~lib/internal/string/HEADER_SIZE
|
||||
i32.add
|
||||
@ -5929,7 +5900,6 @@
|
||||
get_local $6
|
||||
get_local $7
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
get_local $0
|
||||
get_local $3
|
||||
i32.const 1
|
||||
@ -5958,7 +5928,6 @@
|
||||
get_local $3
|
||||
i32.sub
|
||||
set_local $4
|
||||
block $~lib/memory/memory.copy|inlined.4
|
||||
get_local $0
|
||||
get_global $~lib/internal/string/HEADER_SIZE
|
||||
i32.add
|
||||
@ -5979,7 +5948,6 @@
|
||||
get_local $6
|
||||
get_local $5
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
get_local $0
|
||||
get_global $~lib/internal/string/CharCode._0
|
||||
get_global $~lib/internal/string/CharCode.DOT
|
||||
@ -6049,12 +6017,10 @@
|
||||
i32.const 1
|
||||
i32.add
|
||||
set_local $7
|
||||
block $~lib/internal/number/utoa32_core|inlined.4
|
||||
get_local $4
|
||||
get_local $5
|
||||
get_local $7
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
get_local $4
|
||||
get_global $~lib/internal/string/CharCode.MINUS
|
||||
get_global $~lib/internal/string/CharCode.PLUS
|
||||
@ -6073,7 +6039,6 @@
|
||||
i32.const 1
|
||||
i32.shl
|
||||
set_local $7
|
||||
block $~lib/memory/memory.copy|inlined.5
|
||||
get_local $0
|
||||
get_global $~lib/internal/string/HEADER_SIZE
|
||||
i32.add
|
||||
@ -6094,7 +6059,6 @@
|
||||
get_local $5
|
||||
get_local $4
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
get_local $0
|
||||
get_global $~lib/internal/string/CharCode.DOT
|
||||
i32.store16 offset=6
|
||||
@ -6131,12 +6095,10 @@
|
||||
i32.const 1
|
||||
i32.add
|
||||
set_local $8
|
||||
block $~lib/internal/number/utoa32_core|inlined.5
|
||||
get_local $4
|
||||
get_local $5
|
||||
get_local $8
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
end
|
||||
get_local $4
|
||||
get_global $~lib/internal/string/CharCode.MINUS
|
||||
get_global $~lib/internal/string/CharCode.PLUS
|
||||
@ -6233,7 +6195,7 @@
|
||||
i32.add
|
||||
i32.sub
|
||||
set_local $4
|
||||
block $~lib/internal/number/normalizedBoundaries|inlined.0
|
||||
block
|
||||
get_local $6
|
||||
i64.const 1
|
||||
i64.shl
|
||||
@ -6282,7 +6244,7 @@
|
||||
get_local $8
|
||||
set_global $~lib/internal/number/_exp
|
||||
end
|
||||
block $~lib/internal/number/getCachedPower|inlined.0
|
||||
block
|
||||
get_global $~lib/internal/number/_exp
|
||||
set_local $10
|
||||
i32.const -61
|
||||
@ -6745,8 +6707,6 @@
|
||||
get_local $2
|
||||
call $~lib/string/String#substring
|
||||
set_local $3
|
||||
block $~lib/internal/string/freeUnsafe|inlined.0
|
||||
block
|
||||
get_local $1
|
||||
i32.eqz
|
||||
if
|
||||
@ -6766,8 +6726,6 @@
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
end
|
||||
get_local $3
|
||||
)
|
||||
(func $start (; 61 ;) (type $v)
|
||||
|
@ -1561,17 +1561,18 @@
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
tee_local $0
|
||||
tee_local $2
|
||||
i32.const 8
|
||||
i32.add
|
||||
tee_local $1
|
||||
f64.load offset=8
|
||||
set_local $7
|
||||
get_local $1
|
||||
get_local $0
|
||||
get_local $2
|
||||
i32.const 8
|
||||
i32.add
|
||||
get_local $2
|
||||
f64.load offset=8
|
||||
f64.store offset=8
|
||||
get_local $0
|
||||
get_local $2
|
||||
get_local $7
|
||||
f64.store offset=8
|
||||
)
|
||||
@ -1626,13 +1627,12 @@
|
||||
get_local $3
|
||||
get_local $2
|
||||
i32.add
|
||||
tee_local $1
|
||||
i32.const 8
|
||||
i32.add
|
||||
get_local $6
|
||||
f64.store offset=8
|
||||
get_local $3
|
||||
get_local $2
|
||||
i32.add
|
||||
get_local $1
|
||||
get_local $5
|
||||
f64.store offset=8
|
||||
end
|
||||
|
@ -484,7 +484,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.0
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -495,7 +494,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -551,7 +549,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.1
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -562,7 +559,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -618,7 +614,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.2
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -629,7 +624,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -685,7 +679,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.3
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -696,7 +689,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -752,7 +744,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.4
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -763,7 +754,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -819,7 +809,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.5
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -830,7 +819,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -886,7 +874,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.6
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -897,7 +884,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -953,7 +939,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.7
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -964,7 +949,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -1020,7 +1004,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.8
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1031,7 +1014,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -1087,7 +1069,6 @@
|
||||
get_local $2
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
block $~lib/memory/memory.fill|inlined.9
|
||||
get_local $3
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
@ -1098,7 +1079,6 @@
|
||||
get_local $5
|
||||
get_local $2
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
get_local $0
|
||||
if (result i32)
|
||||
get_local $0
|
||||
@ -1700,7 +1680,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<i32,i32>|inlined.0
|
||||
get_local $0
|
||||
i32.load
|
||||
set_local $3
|
||||
@ -1716,7 +1695,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/typedarray/TypedArray<i32,i32>#__get (; 18 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
@ -1868,7 +1846,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.0
|
||||
get_local $0
|
||||
i32.load
|
||||
set_local $3
|
||||
@ -1884,7 +1861,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
f64.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/typedarray/Float64Array#subarray (; 21 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
(local $3 i32)
|
||||
@ -2073,7 +2049,6 @@
|
||||
end
|
||||
end
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.4
|
||||
get_local $6
|
||||
i32.const 1
|
||||
i32.add
|
||||
@ -2088,7 +2063,6 @@
|
||||
get_local $5
|
||||
f64.store offset=8
|
||||
end
|
||||
end
|
||||
get_local $4
|
||||
i32.const 1
|
||||
i32.add
|
||||
@ -2126,14 +2100,12 @@
|
||||
br $~lib/memory/memory.allocate|inlined.3
|
||||
end
|
||||
set_local $5
|
||||
block $~lib/memory/memory.fill|inlined.10
|
||||
i32.const 0
|
||||
set_local $6
|
||||
get_local $5
|
||||
get_local $6
|
||||
get_local $4
|
||||
call $~lib/internal/memory/memset
|
||||
end
|
||||
block $break|0
|
||||
get_local $2
|
||||
i32.const 1
|
||||
@ -2238,7 +2210,6 @@
|
||||
i32.shl
|
||||
i32.xor
|
||||
i32.store
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.5
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
@ -2248,8 +2219,6 @@
|
||||
i32.add
|
||||
get_local $9
|
||||
f64.store offset=8
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.6
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
@ -2261,7 +2230,6 @@
|
||||
f64.store offset=8
|
||||
end
|
||||
end
|
||||
end
|
||||
get_local $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
@ -2296,7 +2264,6 @@
|
||||
f64.load offset=8
|
||||
end
|
||||
set_local $10
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.7
|
||||
i32.const 0
|
||||
set_local $8
|
||||
block $~lib/internal/arraybuffer/loadUnsafeWithOffset<f64,f64>|inlined.7 (result f64)
|
||||
@ -2319,8 +2286,6 @@
|
||||
i32.add
|
||||
get_local $9
|
||||
f64.store offset=8
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.8
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
@ -2330,7 +2295,6 @@
|
||||
i32.add
|
||||
get_local $10
|
||||
f64.store offset=8
|
||||
end
|
||||
i32.const 1
|
||||
set_local $8
|
||||
block $break|3
|
||||
@ -2427,7 +2391,6 @@
|
||||
i32.shl
|
||||
i32.xor
|
||||
i32.store
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.9
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
@ -2437,8 +2400,6 @@
|
||||
i32.add
|
||||
get_local $10
|
||||
f64.store offset=8
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.10
|
||||
i32.const 0
|
||||
set_local $11
|
||||
get_local $0
|
||||
@ -2451,7 +2412,6 @@
|
||||
get_local $9
|
||||
f64.store offset=8
|
||||
end
|
||||
end
|
||||
get_local $8
|
||||
i32.const 1
|
||||
i32.shr_s
|
||||
@ -2493,7 +2453,6 @@
|
||||
f64.load offset=8
|
||||
end
|
||||
set_local $12
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.11
|
||||
i32.const 1
|
||||
set_local $6
|
||||
block $~lib/internal/arraybuffer/loadUnsafeWithOffset<f64,f64>|inlined.11 (result f64)
|
||||
@ -2518,8 +2477,6 @@
|
||||
i32.add
|
||||
get_local $10
|
||||
f64.store offset=8
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.12
|
||||
i32.const 0
|
||||
set_local $6
|
||||
get_local $0
|
||||
@ -2531,7 +2488,6 @@
|
||||
i32.add
|
||||
get_local $12
|
||||
f64.store offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/typedarray/TypedArray<f64,f64>#sort (; 25 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
@ -2601,7 +2557,6 @@
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.1
|
||||
i32.const 1
|
||||
set_local $5
|
||||
get_local $4
|
||||
@ -2613,8 +2568,6 @@
|
||||
i32.add
|
||||
get_local $7
|
||||
f64.store offset=8
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.2
|
||||
i32.const 0
|
||||
set_local $5
|
||||
get_local $4
|
||||
@ -2627,7 +2580,6 @@
|
||||
get_local $6
|
||||
f64.store offset=8
|
||||
end
|
||||
end
|
||||
get_local $0
|
||||
return
|
||||
end
|
||||
@ -2753,7 +2705,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<u8,u32>|inlined.0
|
||||
get_local $0
|
||||
i32.load
|
||||
set_local $3
|
||||
@ -2769,7 +2720,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store8 offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/typedarray/Uint8ClampedArray#__set (; 30 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
@ -2844,7 +2794,6 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<i8,i32>|inlined.0
|
||||
get_local $0
|
||||
i32.load
|
||||
set_local $3
|
||||
@ -2860,7 +2809,6 @@
|
||||
i32.add
|
||||
get_local $2
|
||||
i32.store8 offset=8
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/typedarray/TypedArray<i8,i32>#fill (; 33 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
||||
(local $4 i32)
|
||||
@ -3275,7 +3223,6 @@
|
||||
i32.lt_s
|
||||
i32.eqz
|
||||
br_if $break|0
|
||||
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<i32,i32>|inlined.1
|
||||
get_local $4
|
||||
get_local $5
|
||||
i32.add
|
||||
@ -3285,7 +3232,6 @@
|
||||
i32.add
|
||||
get_local $1
|
||||
i32.store offset=8
|
||||
end
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.add
|
||||
|
Loading…
x
Reference in New Issue
Block a user