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:
dcodeIO 2018-11-12 14:54:08 +01:00
parent 04a0cb8de7
commit d62d84521e
18 changed files with 2626 additions and 3055 deletions

View File

@ -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. */

View File

@ -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
call $inlining-recursive/baz
)
(func $null (; 3 ;) (type $v)
)

View File

@ -214,10 +214,8 @@
call $~lib/env/abort
unreachable
end
block $inlining/func_iv|inlined.0
i32.const 0
set_local $2
end
i32.const 0
set_local $2
block (result i32)
i32.const 1
set_global $~argc

View File

@ -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

View File

@ -507,18 +507,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
)
(func $~lib/array/Array<i8>#__unchecked_set (; 9 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
@ -581,18 +579,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
)
(func $~lib/array/Array<i32>#__unchecked_set (; 11 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
@ -655,18 +651,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
)
(func $~lib/array/Array<Ref>#__unchecked_set (; 13 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
@ -745,18 +739,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
)
(func $~lib/array/Array<RefWithCtor>#__unchecked_set (; 16 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)

View File

@ -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
get_local $4
set_local $3
loop $continue|1
get_local $4
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

View File

@ -1939,22 +1939,20 @@
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
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $1
i32.add
set_local $5
get_local $4
get_local $5
get_local $6
call $~lib/internal/memory/memmove
end
get_local $7
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $1
i32.add
set_local $5
get_local $4
get_local $5
get_local $6
call $~lib/internal/memory/memmove
get_local $7
)
(func $~lib/arraybuffer/ArrayBuffer#slice|trampoline (; 9 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)

File diff suppressed because it is too large Load Diff

View File

@ -2302,60 +2302,54 @@
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
end
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
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
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
end
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
get_local $3
get_local $2
call $~lib/internal/memory/memmove
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
get_local $5
return
end
@ -2458,15 +2452,13 @@
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
i32.shl
i32.add
get_local $2
i32.store offset=8
end
get_local $3
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
i32.store offset=8
get_local $0
get_local $2
call $~lib/collector/itcm/__gc_link

View File

@ -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

View File

@ -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

View File

@ -1900,60 +1900,54 @@
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
end
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
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
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
end
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
get_local $3
get_local $2
call $~lib/internal/memory/memmove
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
get_local $5
return
end
@ -2024,15 +2018,13 @@
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
i32.shl
i32.add
get_local $2
i32.store offset=8
end
get_local $3
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
i32.store offset=8
)
(func $~lib/array/Array<i64>#__get (; 10 ;) (type $iiI) (param $0 i32) (param $1 i32) (result i64)
(local $2 i32)
@ -2099,15 +2091,13 @@
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
i32.shl
i32.add
get_local $2
i64.store offset=8
end
get_local $3
get_local $1
i32.const 3
i32.shl
i32.add
get_local $2
i64.store offset=8
)
(func $~lib/array/Array<f32>#__get (; 12 ;) (type $iif) (param $0 i32) (param $1 i32) (result f32)
(local $2 i32)
@ -2174,15 +2164,13 @@
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
i32.shl
i32.add
get_local $2
f32.store offset=8
end
get_local $3
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
f32.store offset=8
)
(func $~lib/array/Array<f64>#__get (; 14 ;) (type $iiF) (param $0 i32) (param $1 i32) (result f64)
(local $2 i32)
@ -2249,15 +2237,13 @@
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
i32.shl
i32.add
get_local $2
f64.store offset=8
end
get_local $3
get_local $1
i32.const 3
i32.shl
i32.add
get_local $2
f64.store offset=8
)
(func $start (; 16 ;) (type $v)
(local $0 i32)

View File

@ -2223,16 +2223,14 @@
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
set_local $3
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memmove
end
get_local $7
get_global $~lib/internal/string/HEADER_SIZE
i32.add
set_local $3
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memmove
block $~lib/memory/memory.free|inlined.0
block
get_local $4

View File

@ -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

View File

@ -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,18 +4137,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
)
(func $~lib/array/Array<String>#__unchecked_set (; 39 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
@ -4199,60 +4197,54 @@
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
end
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $5
get_local $3
get_local $4
get_local $5
call $~lib/internal/memory/memset
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
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
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
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
end
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
get_local $0
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $3
get_local $4
get_local $3
get_local $2
call $~lib/internal/memory/memmove
get_local $5
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
get_local $2
i32.add
set_local $3
i32.const 0
set_local $4
get_local $1
get_local $2
i32.sub
set_local $6
get_local $3
get_local $4
get_local $6
call $~lib/internal/memory/memset
get_local $5
return
end
@ -4328,15 +4320,13 @@
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
i32.shl
i32.add
get_local $1
i32.store offset=8
end
get_local $3
get_local $2
i32.const 2
i32.shl
i32.add
get_local $1
i32.store offset=8
get_local $5
)
(func $~lib/string/String#split (; 42 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
@ -4450,15 +4440,13 @@
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
i32.shl
i32.add
get_local $8
i32.store offset=8
end
get_local $6
get_local $7
i32.const 2
i32.shl
i32.add
get_local $8
i32.store offset=8
end
get_local $7
i32.const 1
@ -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 $3
get_local $0
get_local $2
call $~lib/internal/number/utoa32_lut
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
get_local $0
get_local $1
call $~lib/internal/number/utoa32_lut
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
get_local $1
get_local $2
get_local $3
call $~lib/internal/number/utoa32_lut
else
get_local $0
call $~lib/internal/number/decimalCount64
@ -5166,12 +5148,10 @@
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
get_local $1
get_local $0
get_local $3
call $~lib/internal/number/utoa64_lut
end
get_local $1
)
@ -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
get_local $2
get_local $3
get_local $4
call $~lib/internal/number/utoa32_lut
else
get_local $0
call $~lib/internal/number/decimalCount64
@ -5228,12 +5206,10 @@
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
get_local $2
get_local $0
get_local $4
call $~lib/internal/number/utoa64_lut
end
get_local $1
if
@ -5561,88 +5537,86 @@
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
i32.const 2
i32.shl
i32.add
i64.load32_u offset=8
end
get_local $7
i64.extend_s/i32
i64.shl
set_local $20
get_local $0
get_local $15
i32.const 1
i32.sub
i32.const 1
block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.6 (result i64)
get_local $16
get_local $14
i32.const 2
i32.shl
i32.add
set_local $18
get_local $18
i32.load16_u offset=4
set_local $21
block $break|2
loop $continue|2
i64.load32_u offset=8
end
get_local $7
i64.extend_s/i32
i64.shl
set_local $20
get_local $0
get_local $15
i32.const 1
i32.sub
i32.const 1
i32.shl
i32.add
set_local $18
get_local $18
i32.load16_u offset=4
set_local $21
block $break|2
loop $continue|2
get_local $19
get_local $10
i64.lt_u
tee_local $22
if (result i32)
get_local $5
get_local $19
i64.sub
get_local $20
i64.ge_u
else
get_local $22
end
tee_local $22
if (result i32)
get_local $19
get_local $20
i64.add
get_local $10
i64.lt_u
tee_local $22
if (result i32)
get_local $5
get_local $22
else
get_local $10
get_local $19
i64.sub
get_local $20
i64.ge_u
else
get_local $22
end
tee_local $22
if (result i32)
get_local $19
get_local $20
i64.add
get_local $10
i64.lt_u
tee_local $22
if (result i32)
get_local $22
else
get_local $10
get_local $19
i64.sub
get_local $19
get_local $20
i64.add
get_local $10
i64.sub
i64.gt_u
end
else
get_local $22
i64.sub
i64.gt_u
end
if
block
get_local $21
i32.const 1
i32.sub
set_local $21
get_local $19
get_local $20
i64.add
set_local $19
end
br $continue|2
else
get_local $22
end
if
block
get_local $21
i32.const 1
i32.sub
set_local $21
get_local $19
get_local $20
i64.add
set_local $19
end
br $continue|2
end
end
get_local $18
get_local $21
i32.store16 offset=4
end
get_local $18
get_local $21
i32.store16 offset=4
get_local $15
return
end
@ -5727,76 +5701,74 @@
end
i64.mul
set_local $10
block $~lib/internal/number/grisuRound|inlined.1
get_local $0
get_local $15
i32.const 1
i32.sub
i32.const 1
i32.shl
i32.add
set_local $17
get_local $17
i32.load16_u offset=4
set_local $21
block $break|4
loop $continue|4
get_local $0
get_local $15
i32.const 1
i32.sub
i32.const 1
i32.shl
i32.add
set_local $17
get_local $17
i32.load16_u offset=4
set_local $21
block $break|4
loop $continue|4
get_local $13
get_local $10
i64.lt_u
tee_local $18
if (result i32)
get_local $5
get_local $13
i64.sub
get_local $8
i64.ge_u
else
get_local $18
end
tee_local $18
if (result i32)
get_local $13
get_local $8
i64.add
get_local $10
i64.lt_u
tee_local $18
if (result i32)
get_local $5
get_local $18
else
get_local $10
get_local $13
i64.sub
get_local $8
i64.ge_u
else
get_local $18
end
tee_local $18
if (result i32)
get_local $13
get_local $8
i64.add
get_local $10
i64.lt_u
tee_local $18
if (result i32)
get_local $18
else
get_local $10
get_local $13
i64.sub
get_local $13
get_local $8
i64.add
get_local $10
i64.sub
i64.gt_u
end
else
get_local $18
i64.sub
i64.gt_u
end
if
block
get_local $21
i32.const 1
i32.sub
set_local $21
get_local $13
get_local $8
i64.add
set_local $13
end
br $continue|4
else
get_local $18
end
if
block
get_local $21
i32.const 1
i32.sub
set_local $21
get_local $13
get_local $8
i64.add
set_local $13
end
br $continue|4
end
end
get_local $17
get_local $21
i32.store16 offset=4
end
get_local $17
get_local $21
i32.store16 offset=4
get_local $15
return
end
@ -5908,28 +5880,26 @@
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
i32.const 2
i32.add
set_local $5
get_local $4
get_global $~lib/internal/string/HEADER_SIZE
i32.add
set_local $6
i32.const 0
get_local $2
i32.sub
i32.const 1
i32.shl
set_local $7
get_local $5
get_local $6
get_local $7
call $~lib/internal/memory/memmove
end
get_local $4
get_global $~lib/internal/string/HEADER_SIZE
i32.add
i32.const 2
i32.add
set_local $5
get_local $4
get_global $~lib/internal/string/HEADER_SIZE
i32.add
set_local $6
i32.const 0
get_local $2
i32.sub
i32.const 1
i32.shl
set_local $7
get_local $5
get_local $6
get_local $7
call $~lib/internal/memory/memmove
get_local $0
get_local $3
i32.const 1
@ -5958,28 +5928,26 @@
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
get_local $4
i32.const 1
i32.shl
i32.add
set_local $7
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
set_local $6
get_local $1
i32.const 1
i32.shl
set_local $5
get_local $7
get_local $6
get_local $5
call $~lib/internal/memory/memmove
end
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
get_local $4
i32.const 1
i32.shl
i32.add
set_local $7
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
set_local $6
get_local $1
i32.const 1
i32.shl
set_local $5
get_local $7
get_local $6
get_local $5
call $~lib/internal/memory/memmove
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_local $5
get_local $7
call $~lib/internal/number/utoa32_lut
get_local $4
get_global $~lib/internal/string/CharCode.MINUS
get_global $~lib/internal/string/CharCode.PLUS
@ -6073,28 +6039,26 @@
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
i32.const 4
i32.add
set_local $6
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
i32.const 2
i32.add
set_local $5
get_local $7
i32.const 2
i32.sub
set_local $4
get_local $6
get_local $5
get_local $4
call $~lib/internal/memory/memmove
end
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
i32.const 4
i32.add
set_local $6
get_local $0
get_global $~lib/internal/string/HEADER_SIZE
i32.add
i32.const 2
i32.add
set_local $5
get_local $7
i32.const 2
i32.sub
set_local $4
get_local $6
get_local $5
get_local $4
call $~lib/internal/memory/memmove
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_local $5
get_local $8
call $~lib/internal/number/utoa32_lut
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,28 +6707,24 @@
get_local $2
call $~lib/string/String#substring
set_local $3
block $~lib/internal/string/freeUnsafe|inlined.0
get_local $1
i32.eqz
if
i32.const 0
i32.const 112
i32.const 28
i32.const 4
call $~lib/env/abort
unreachable
end
block $~lib/memory/memory.free|inlined.0
block
get_local $1
i32.eqz
if
i32.const 0
i32.const 112
i32.const 28
i32.const 4
call $~lib/env/abort
unreachable
end
block $~lib/memory/memory.free|inlined.0
block
get_local $1
call $~lib/allocator/arena/__memory_free
br $~lib/memory/memory.free|inlined.0
unreachable
end
unreachable
end
call $~lib/allocator/arena/__memory_free
br $~lib/memory/memory.free|inlined.0
unreachable
end
unreachable
end
get_local $3
)

View File

@ -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

View File

@ -484,18 +484,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -551,18 +549,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -618,18 +614,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -685,18 +679,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -752,18 +744,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -819,18 +809,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -886,18 +874,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -953,18 +939,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -1020,18 +1004,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -1087,18 +1069,16 @@
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
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
end
get_local $3
get_global $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
set_local $4
i32.const 0
set_local $5
get_local $4
get_local $5
get_local $2
call $~lib/internal/memory/memset
get_local $0
if (result i32)
get_local $0
@ -1700,23 +1680,21 @@
call $~lib/env/abort
unreachable
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<i32,i32>|inlined.0
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
i32.store offset=8
end
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 2
i32.shl
i32.add
get_local $2
i32.store offset=8
)
(func $~lib/internal/typedarray/TypedArray<i32,i32>#__get (; 18 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -1868,23 +1846,21 @@
call $~lib/env/abort
unreachable
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.0
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 3
i32.shl
i32.add
get_local $2
f64.store offset=8
end
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 3
i32.shl
i32.add
get_local $2
f64.store offset=8
)
(func $~lib/typedarray/Float64Array#subarray (; 21 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
@ -2073,21 +2049,19 @@
end
end
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.4
get_local $6
i32.const 1
i32.add
set_local $8
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $5
f64.store offset=8
end
get_local $6
i32.const 1
i32.add
set_local $8
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $5
f64.store offset=8
end
get_local $4
i32.const 1
@ -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
i32.const 0
set_local $6
get_local $5
get_local $6
get_local $4
call $~lib/internal/memory/memset
block $break|0
get_local $2
i32.const 1
@ -2238,28 +2210,24 @@
i32.shl
i32.xor
i32.store
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.5
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
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
get_local $8
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
end
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
get_local $9
f64.store offset=8
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
end
end
get_local $6
@ -2296,31 +2264,9 @@
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)
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
f64.load offset=8
end
set_local $9
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $9
f64.store offset=8
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.8
i32.const 0
set_local $8
block $~lib/internal/arraybuffer/loadUnsafeWithOffset<f64,f64>|inlined.7 (result f64)
get_local $0
get_local $1
i32.add
@ -2328,9 +2274,27 @@
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
f64.load offset=8
end
set_local $9
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $9
f64.store offset=8
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
i32.const 1
set_local $8
block $break|3
@ -2427,30 +2391,26 @@
i32.shl
i32.xor
i32.store
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.9
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
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
get_local $1
i32.add
get_local $11
i32.const 3
i32.shl
i32.add
get_local $9
f64.store offset=8
end
get_local $0
get_local $1
i32.add
get_local $8
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
i32.const 0
set_local $11
get_local $0
get_local $1
i32.add
get_local $11
i32.const 3
i32.shl
i32.add
get_local $9
f64.store offset=8
end
get_local $8
i32.const 1
@ -2493,45 +2453,41 @@
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)
i32.const 0
set_local $7
get_local $0
get_local $1
i32.add
get_local $7
i32.const 3
i32.shl
i32.add
f64.load offset=8
end
set_local $10
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<f64,f64>|inlined.12
i32.const 1
set_local $6
block $~lib/internal/arraybuffer/loadUnsafeWithOffset<f64,f64>|inlined.11 (result f64)
i32.const 0
set_local $6
set_local $7
get_local $0
get_local $1
i32.add
get_local $6
get_local $7
i32.const 3
i32.shl
i32.add
get_local $12
f64.store offset=8
f64.load offset=8
end
set_local $10
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
get_local $10
f64.store offset=8
i32.const 0
set_local $6
get_local $0
get_local $1
i32.add
get_local $6
i32.const 3
i32.shl
i32.add
get_local $12
f64.store offset=8
)
(func $~lib/internal/typedarray/TypedArray<f64,f64>#sort (; 25 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -2601,32 +2557,28 @@
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
get_local $2
i32.add
get_local $5
i32.const 3
i32.shl
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
get_local $2
i32.add
get_local $5
i32.const 3
i32.shl
i32.add
get_local $6
f64.store offset=8
end
i32.const 1
set_local $5
get_local $4
get_local $2
i32.add
get_local $5
i32.const 3
i32.shl
i32.add
get_local $7
f64.store offset=8
i32.const 0
set_local $5
get_local $4
get_local $2
i32.add
get_local $5
i32.const 3
i32.shl
i32.add
get_local $6
f64.store offset=8
end
get_local $0
return
@ -2753,23 +2705,21 @@
call $~lib/env/abort
unreachable
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<u8,u32>|inlined.0
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 0
i32.shl
i32.add
get_local $2
i32.store8 offset=8
end
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 0
i32.shl
i32.add
get_local $2
i32.store8 offset=8
)
(func $~lib/typedarray/Uint8ClampedArray#__set (; 30 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
@ -2844,23 +2794,21 @@
call $~lib/env/abort
unreachable
end
block $~lib/internal/arraybuffer/storeUnsafeWithOffset<i8,i32>|inlined.0
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 0
i32.shl
i32.add
get_local $2
i32.store8 offset=8
end
get_local $0
i32.load
set_local $3
get_local $0
i32.load offset=4
set_local $4
get_local $3
get_local $4
i32.add
get_local $1
i32.const 0
i32.shl
i32.add
get_local $2
i32.store8 offset=8
)
(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,17 +3223,15 @@
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
get_local $2
i32.const 2
i32.shl
i32.add
get_local $1
i32.store offset=8
end
get_local $4
get_local $5
i32.add
get_local $2
i32.const 2
i32.shl
i32.add
get_local $1
i32.store offset=8
get_local $2
i32.const 1
i32.add