diff --git a/src/passes/shadowstack.ts b/src/passes/shadowstack.ts index 468009202e..4d08e39971 100644 --- a/src/passes/shadowstack.ts +++ b/src/passes/shadowstack.ts @@ -350,7 +350,7 @@ export class ShadowStackPass extends Pass { } let currentFunction = this.currentFunction; let numLocals = _BinaryenFunctionGetNumLocals(currentFunction); - let slotIndex = this.noteSlot(currentFunction, numLocals + this.callSlotOffset + i); + let slotIndex = this.noteSlot(currentFunction, numLocals + this.callSlotOffset + numSlots); let temp = this.getSharedTemp(currentFunction, this.ptrType); let stmts = new Array(); // t = value diff --git a/tests/compiler/bindings/esm.debug.wat b/tests/compiler/bindings/esm.debug.wat index 095fc5393f..230933f1b4 100644 --- a/tests/compiler/bindings/esm.debug.wat +++ b/tests/compiler/bindings/esm.debug.wat @@ -4944,7 +4944,7 @@ (local $i|4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -4952,8 +4952,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 + i64.const 0 + i64.store $0 offset=8 global.get $~lib/memory/__stack_pointer i32.const 0 local.get $a @@ -4998,7 +4998,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 local.get $i call $~lib/array/Array<~lib/string/String>#__get @@ -5038,7 +5038,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 call $~lib/array/Array<~lib/string/String>#get:length local.get $i|4 @@ -5047,7 +5047,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 local.get $i|4 call $~lib/array/Array<~lib/string/String>#__get @@ -5067,7 +5067,7 @@ local.get $c local.set $5 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $5 diff --git a/tests/compiler/bindings/esm.release.wat b/tests/compiler/bindings/esm.release.wat index 43a90778b0..672115c456 100644 --- a/tests/compiler/bindings/esm.release.wat +++ b/tests/compiler/bindings/esm.release.wat @@ -3459,7 +3459,7 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner0 @@ -3472,8 +3472,8 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 + i64.const 0 + i64.store $0 offset=8 local.get $3 local.get $0 i32.store $0 @@ -3616,7 +3616,7 @@ i32.store $0 local.get $3 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $0 local.get $2 call $~lib/array/Array<~lib/string/String>#__get @@ -3652,7 +3652,7 @@ i32.store $0 local.get $3 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $0 call $~lib/array/Array#get:length local.get $2 @@ -3660,7 +3660,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $1 local.get $2 call $~lib/array/Array<~lib/string/String>#__get @@ -3680,7 +3680,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $5 diff --git a/tests/compiler/bindings/raw.debug.wat b/tests/compiler/bindings/raw.debug.wat index d2c5453dc1..2b6256a0a1 100644 --- a/tests/compiler/bindings/raw.debug.wat +++ b/tests/compiler/bindings/raw.debug.wat @@ -4947,7 +4947,7 @@ (local $i|4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -4955,8 +4955,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 + i64.const 0 + i64.store $0 offset=8 global.get $~lib/memory/__stack_pointer i32.const 0 local.get $a @@ -5001,7 +5001,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 local.get $i call $~lib/array/Array<~lib/string/String>#__get @@ -5041,7 +5041,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 call $~lib/array/Array<~lib/string/String>#get:length local.get $i|4 @@ -5050,7 +5050,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 local.get $i|4 call $~lib/array/Array<~lib/string/String>#__get @@ -5070,7 +5070,7 @@ local.get $c local.set $5 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $5 diff --git a/tests/compiler/bindings/raw.release.wat b/tests/compiler/bindings/raw.release.wat index c83fe21937..da0352b4a1 100644 --- a/tests/compiler/bindings/raw.release.wat +++ b/tests/compiler/bindings/raw.release.wat @@ -3459,7 +3459,7 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner0 @@ -3472,8 +3472,8 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 + i64.const 0 + i64.store $0 offset=8 local.get $3 local.get $0 i32.store $0 @@ -3616,7 +3616,7 @@ i32.store $0 local.get $3 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $0 local.get $2 call $~lib/array/Array<~lib/string/String>#__get @@ -3652,7 +3652,7 @@ i32.store $0 local.get $3 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $0 call $~lib/array/Array#get:length local.get $2 @@ -3660,7 +3660,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $1 local.get $2 call $~lib/array/Array<~lib/string/String>#__get @@ -3680,7 +3680,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $5 diff --git a/tests/compiler/duplicate-fields.debug.wat b/tests/compiler/duplicate-fields.debug.wat index e637ab0c4b..7f96433a13 100644 --- a/tests/compiler/duplicate-fields.debug.wat +++ b/tests/compiler/duplicate-fields.debug.wat @@ -2957,7 +2957,7 @@ local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $duplicate-fields/B2#constructor global.set $duplicate-fields/raz diff --git a/tests/compiler/duplicate-fields.release.wat b/tests/compiler/duplicate-fields.release.wat index 53dedcd810..a2b9b1a72d 100644 --- a/tests/compiler/duplicate-fields.release.wat +++ b/tests/compiler/duplicate-fields.release.wat @@ -1818,7 +1818,7 @@ global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 12 i32.sub diff --git a/tests/compiler/field-initialization.debug.wat b/tests/compiler/field-initialization.debug.wat index 36c8f24582..c6d03b2b7d 100644 --- a/tests/compiler/field-initialization.debug.wat +++ b/tests/compiler/field-initialization.debug.wat @@ -4445,11 +4445,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=4 local.get $34 call $field-initialization/Ref_Ctor_Param#constructor local.tee $11 - i32.store $0 offset=52 + i32.store $0 offset=48 local.get $11 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4472,7 +4472,7 @@ i32.const 0 call $field-initialization/Nullable_Ctor#constructor local.tee $12 - i32.store $0 offset=56 + i32.store $0 offset=52 local.get $12 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4495,7 +4495,7 @@ i32.const 0 call $field-initialization/Nullable_Init_Ctor#constructor local.tee $13 - i32.store $0 offset=60 + i32.store $0 offset=56 local.get $13 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4518,7 +4518,7 @@ i32.const 0 call $field-initialization/Nullable_Ctor_Init#constructor local.tee $14 - i32.store $0 offset=64 + i32.store $0 offset=60 local.get $14 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4541,7 +4541,7 @@ i32.const 0 call $field-initialization/Inherit#constructor local.tee $15 - i32.store $0 offset=68 + i32.store $0 offset=64 local.get $15 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4564,7 +4564,7 @@ i32.const 0 call $field-initialization/Inherit_Ctor#constructor local.tee $16 - i32.store $0 offset=72 + i32.store $0 offset=68 local.get $16 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4588,7 +4588,7 @@ i32.const 0 call $field-initialization/SomeObject#constructor local.tee $17 - i32.store $0 offset=76 + i32.store $0 offset=72 local.get $17 i32.const 0 i32.store $0 @@ -4597,7 +4597,7 @@ i32.store $0 offset=4 local.get $17 local.tee $18 - i32.store $0 offset=80 + i32.store $0 offset=76 local.get $18 local.set $34 global.get $~lib/memory/__stack_pointer @@ -4620,7 +4620,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#get:b local.set $34 @@ -4681,7 +4681,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#get:b local.set $34 @@ -4716,7 +4716,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#set:b local.get $21 @@ -4759,7 +4759,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $~lib/string/String.__eq i32.eqz @@ -4795,7 +4795,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#set:b local.get $23 @@ -4835,7 +4835,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $~lib/string/String.__eq i32.eqz @@ -4863,7 +4863,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeOtherObject#set:c local.get $25 @@ -4897,7 +4897,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#get:b local.set $34 @@ -4932,7 +4932,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $~lib/string/String.__eq i32.eqz @@ -4968,7 +4968,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeObject#set:b local.get $27 @@ -4981,7 +4981,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/SomeOtherObject#set:c local.get $27 @@ -5021,7 +5021,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $~lib/string/String.__eq i32.eqz @@ -5049,7 +5049,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $~lib/string/String.__eq i32.eqz @@ -5110,7 +5110,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/Ref_Init_InlineCtor#set:a local.get $30 @@ -5167,7 +5167,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $34 call $field-initialization/Ref_InlineCtor_Init#set:a local.get $32 diff --git a/tests/compiler/field-initialization.release.wat b/tests/compiler/field-initialization.release.wat index 4636553fa0..581a1ac36b 100644 --- a/tests/compiler/field-initialization.release.wat +++ b/tests/compiler/field-initialization.release.wat @@ -2579,7 +2579,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=48 + i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer i32.const 12 i32.sub @@ -2623,7 +2623,7 @@ global.set $~lib/memory/__stack_pointer local.get $2 local.get $0 - i32.store $0 offset=52 + i32.store $0 offset=48 global.get $~lib/memory/__stack_pointer local.get $0 i32.store $0 offset=4 @@ -2670,7 +2670,7 @@ global.set $~lib/memory/__stack_pointer local.get $0 local.get $1 - i32.store $0 offset=56 + i32.store $0 offset=52 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2729,7 +2729,7 @@ global.set $~lib/memory/__stack_pointer local.get $0 local.get $1 - i32.store $0 offset=60 + i32.store $0 offset=56 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2795,7 +2795,7 @@ global.set $~lib/memory/__stack_pointer local.get $0 local.get $1 - i32.store $0 offset=64 + i32.store $0 offset=60 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2844,7 +2844,7 @@ global.set $~lib/memory/__stack_pointer local.get $0 local.get $1 - i32.store $0 offset=68 + i32.store $0 offset=64 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2893,7 +2893,7 @@ global.set $~lib/memory/__stack_pointer local.get $0 local.get $1 - i32.store $0 offset=72 + i32.store $0 offset=68 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2913,7 +2913,7 @@ i32.const 0 call $field-initialization/SomeObject#constructor local.tee $1 - i32.store $0 offset=76 + i32.store $0 offset=72 local.get $1 i32.const 0 i32.store $0 @@ -2922,7 +2922,7 @@ i32.store $0 offset=4 local.get $0 local.get $1 - i32.store $0 offset=80 + i32.store $0 offset=76 global.get $~lib/memory/__stack_pointer local.get $1 i32.store $0 offset=4 @@ -2939,7 +2939,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 local.get $1 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $0 local.get $1 i32.load $0 offset=4 @@ -2993,7 +2993,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 local.get $1 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $0 local.get $1 i32.load $0 offset=4 @@ -3022,7 +3022,7 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer i32.const 1648 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1648 i32.store $0 offset=4 @@ -3059,7 +3059,7 @@ i32.store $0 offset=4 local.get $0 i32.const 1648 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1648 call $~lib/string/String.__eq @@ -3089,7 +3089,7 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer i32.const 1680 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1680 i32.store $0 offset=4 @@ -3125,7 +3125,7 @@ i32.store $0 offset=4 local.get $0 i32.const 1680 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1680 call $~lib/string/String.__eq @@ -3148,7 +3148,7 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer i32.const 1712 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1712 i32.store $0 offset=8 @@ -3180,7 +3180,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 local.get $1 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $0 local.get $1 i32.load $0 offset=4 @@ -3209,7 +3209,7 @@ i32.store $0 offset=4 local.get $0 i32.const 1712 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1712 call $~lib/string/String.__eq @@ -3238,7 +3238,7 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer i32.const 1744 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1744 i32.store $0 offset=4 @@ -3251,7 +3251,7 @@ i32.store $0 offset=4 local.get $2 i32.const 1776 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1776 i32.store $0 offset=8 @@ -3287,7 +3287,7 @@ i32.store $0 offset=4 local.get $0 i32.const 1744 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $2 i32.const 1744 call $~lib/string/String.__eq @@ -3311,7 +3311,7 @@ i32.store $0 offset=4 local.get $0 i32.const 1776 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 i32.const 1776 call $~lib/string/String.__eq @@ -3404,7 +3404,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 local.get $2 i32.store $0 @@ -3451,7 +3451,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=48 + i32.store $0 offset=80 local.get $1 local.get $2 i32.store $0 diff --git a/tests/compiler/function-expression.debug.wat b/tests/compiler/function-expression.debug.wat index 37be0f6fd1..d519160857 100644 --- a/tests/compiler/function-expression.debug.wat +++ b/tests/compiler/function-expression.debug.wat @@ -2792,7 +2792,7 @@ (local $1 i32) (local $2 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -2800,8 +2800,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer i32.const 0 i32.const 1008 @@ -2821,13 +2821,13 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $2 call $function-expression/FieldClass#get:fieldFunc i32.load $0 call_indirect $0 (type $none_=>_i32) local.tee $1 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 1 global.set $~argumentsLength local.get $1 @@ -2845,7 +2845,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/function-expression.release.wat b/tests/compiler/function-expression.release.wat index 04e328f81d..236d54c1ed 100644 --- a/tests/compiler/function-expression.release.wat +++ b/tests/compiler/function-expression.release.wat @@ -1790,7 +1790,7 @@ i32.const 1888 global.set $~lib/rt/itcms/fromSpace global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -1802,8 +1802,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 i32.const 2032 i32.store $0 @@ -1889,14 +1889,14 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=8 + i32.store $0 global.get $~lib/memory/__stack_pointer local.get $1 i32.load $0 i32.load $0 call_indirect $0 (type $none_=>_i32) local.tee $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 1 local.get $0 i32.load $0 @@ -1912,7 +1912,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer call $function-expression/semanticallyAnonymous diff --git a/tests/compiler/infer-generic.debug.wat b/tests/compiler/infer-generic.debug.wat index 84daed223d..f617123eb8 100644 --- a/tests/compiler/infer-generic.debug.wat +++ b/tests/compiler/infer-generic.debug.wat @@ -2499,16 +2499,13 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $initialValue local.set $acc i32.const 0 @@ -2544,7 +2541,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $8 call $~lib/array/Array#get:dataStart local.get $i @@ -2557,7 +2554,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 i32.const 4 global.set $~argumentsLength @@ -2575,7 +2572,7 @@ local.get $acc local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $8 diff --git a/tests/compiler/infer-generic.release.wat b/tests/compiler/infer-generic.release.wat index f62702fe86..acfed03605 100644 --- a/tests/compiler/infer-generic.release.wat +++ b/tests/compiler/infer-generic.release.wat @@ -1669,7 +1669,7 @@ i32.const 1200 i32.store $0 offset=4 local.get $3 - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -1681,9 +1681,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 i32.const 1152 i32.store $0 i32.const 1164 @@ -1707,7 +1704,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 i32.const 1152 - i32.store $0 offset=8 + i32.store $0 offset=4 i32.const 1156 i32.load $0 local.get $1 @@ -1718,7 +1715,7 @@ local.set $2 local.get $4 i32.const 1152 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $2 local.get $1 @@ -1735,7 +1732,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer memory.size $0 diff --git a/tests/compiler/issues/1699.debug.wat b/tests/compiler/issues/1699.debug.wat index 8181dca210..7c5c76c48b 100644 --- a/tests/compiler/issues/1699.debug.wat +++ b/tests/compiler/issues/1699.debug.wat @@ -3000,13 +3000,13 @@ (local $testinstance i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 28 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 28 memory.fill $0 global.get $~lib/memory/__stack_pointer i32.const 0 @@ -3024,12 +3024,12 @@ global.get $~lib/memory/__stack_pointer local.get $testinstances local.tee $1 - i32.store $0 offset=16 + i32.store $0 offset=20 local.get $1 local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 i32.const 1 local.tee $2 @@ -3038,14 +3038,14 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=12 + i32.store $0 offset=16 local.get $5 call $~lib/array/Array#__set local.get $1 local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $5 local.get $2 call $~lib/array/Array#__get @@ -3072,7 +3072,7 @@ i32.const 0 call $issues/1699/MultiAssignmentTest#constructor local.tee $testinstance - i32.store $0 offset=20 + i32.store $0 offset=24 local.get $n i32.const 1 i32.gt_s @@ -3152,7 +3152,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 28 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/issues/1699.release.wat b/tests/compiler/issues/1699.release.wat index 227931cb74..12d1ca18b1 100644 --- a/tests/compiler/issues/1699.release.wat +++ b/tests/compiler/issues/1699.release.wat @@ -1561,7 +1561,7 @@ i32.const 1440 global.set $~lib/rt/itcms/fromSpace global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 28 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner0 @@ -1572,7 +1572,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 28 memory.fill $0 local.get $2 i32.const 16 @@ -1673,22 +1673,22 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=16 + i32.store $0 offset=20 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=8 + i32.store $0 offset=12 call $issues/1699/MultiAssignmentTest#constructor local.set $1 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=12 + i32.store $0 offset=16 local.get $3 i32.const 1 local.get $1 call $~lib/array/Array#__set global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $3 i32.const 1 call $~lib/array/Array#__get @@ -1734,7 +1734,7 @@ global.get $~lib/memory/__stack_pointer call $issues/1699/MultiAssignmentTest#constructor local.tee $1 - i32.store $0 offset=20 + i32.store $0 offset=24 local.get $0 i32.const 1 i32.gt_s @@ -1805,7 +1805,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 28 i32.add global.set $~lib/memory/__stack_pointer return diff --git a/tests/compiler/object-literal.debug.wat b/tests/compiler/object-literal.debug.wat index 34b20b48dc..570fbc57d4 100644 --- a/tests/compiler/object-literal.debug.wat +++ b/tests/compiler/object-literal.debug.wat @@ -4459,7 +4459,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 local.get $5 call $object-literal/Unmanaged#set:baz local.get $1 diff --git a/tests/compiler/object-literal.release.wat b/tests/compiler/object-literal.release.wat index 6aed498155..79bce27f83 100644 --- a/tests/compiler/object-literal.release.wat +++ b/tests/compiler/object-literal.release.wat @@ -2542,7 +2542,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 local.get $0 - i32.store $0 offset=8 + i32.store $0 local.get $2 local.get $0 i32.store $0 offset=4 diff --git a/tests/compiler/rt/issue-2719.debug.wat b/tests/compiler/rt/issue-2719.debug.wat new file mode 100644 index 0000000000..e42ecb6b4c --- /dev/null +++ b/tests/compiler/rt/issue-2719.debug.wat @@ -0,0 +1,2561 @@ +(module + (type $i32_=>_i32 (func (param i32) (result i32))) + (type $i32_i32_=>_none (func (param i32 i32))) + (type $i32_=>_none (func (param i32))) + (type $none_=>_none (func)) + (type $i32_i32_i32_=>_none (func (param i32 i32 i32))) + (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) + (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) + (type $i32_i32_i64_=>_i32 (func (param i32 i32 i64) (result i32))) + (type $none_=>_i32 (func (result i32))) + (import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32))) + (global $~lib/rt/itcms/total (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/threshold (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/state (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/visitCount (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/pinSpace (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/iter (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/toSpace (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/white (mut i32) (i32.const 0)) + (global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0)) + (global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1)) + (global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2)) + (global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0)) + (global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0)) + (global $~lib/native/ASC_LOW_MEMORY_LIMIT i32 (i32.const 0)) + (global $~lib/rt/__rtti_base i32 (i32.const 480)) + (global $~lib/memory/__data_end i32 (i32.const 504)) + (global $~lib/memory/__stack_pointer (mut i32) (i32.const 33272)) + (global $~lib/memory/__heap_base i32 (i32.const 33272)) + (memory $0 1) + (data $0 (i32.const 12) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00(\00\00\00A\00l\00l\00o\00c\00a\00t\00i\00o\00n\00 \00t\00o\00o\00 \00l\00a\00r\00g\00e\00\00\00\00\00") + (data $1 (i32.const 76) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00 \00\00\00~\00l\00i\00b\00/\00r\00t\00/\00i\00t\00c\00m\00s\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $2 (i32.const 144) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $3 (i32.const 176) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $4 (i32.const 204) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00$\00\00\00I\00n\00d\00e\00x\00 \00o\00u\00t\00 \00o\00f\00 \00r\00a\00n\00g\00e\00\00\00\00\00\00\00\00\00") + (data $5 (i32.const 268) ",\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\14\00\00\00~\00l\00i\00b\00/\00r\00t\00.\00t\00s\00\00\00\00\00\00\00\00\00") + (data $6 (i32.const 320) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $7 (i32.const 348) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\1e\00\00\00~\00l\00i\00b\00/\00r\00t\00/\00t\00l\00s\00f\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $8 (i32.const 412) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00 \00\00\00r\00t\00/\00i\00s\00s\00u\00e\00-\002\007\001\009\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data $9 (i32.const 480) "\05\00\00\00 \00\00\00 \00\00\00 \00\00\00\00\00\00\00 \00\00\00") + (table $0 1 1 funcref) + (elem $0 (i32.const 1)) + (export "memory" (memory $0)) + (start $~start) + (func $~lib/rt/itcms/Object#set:nextWithColor (param $this i32) (param $nextWithColor i32) + local.get $this + local.get $nextWithColor + i32.store $0 offset=4 + ) + (func $~lib/rt/itcms/Object#set:prev (param $this i32) (param $prev i32) + local.get $this + local.get $prev + i32.store $0 offset=8 + ) + (func $~lib/rt/itcms/initLazy (param $space i32) (result i32) + local.get $space + local.get $space + call $~lib/rt/itcms/Object#set:nextWithColor + local.get $space + local.get $space + call $~lib/rt/itcms/Object#set:prev + local.get $space + return + ) + (func $~lib/rt/itcms/Object#get:nextWithColor (param $this i32) (result i32) + local.get $this + i32.load $0 offset=4 + ) + (func $~lib/rt/itcms/Object#get:next (param $this i32) (result i32) + local.get $this + call $~lib/rt/itcms/Object#get:nextWithColor + i32.const 3 + i32.const -1 + i32.xor + i32.and + return + ) + (func $~lib/rt/itcms/Object#get:color (param $this i32) (result i32) + local.get $this + call $~lib/rt/itcms/Object#get:nextWithColor + i32.const 3 + i32.and + return + ) + (func $~lib/rt/itcms/visitRoots (param $cookie i32) + (local $pn i32) + (local $iter i32) + local.get $cookie + call $~lib/rt/__visit_globals + global.get $~lib/rt/itcms/pinSpace + local.set $pn + local.get $pn + call $~lib/rt/itcms/Object#get:next + local.set $iter + loop $while-continue|0 + local.get $iter + local.get $pn + i32.ne + if + i32.const 1 + drop + local.get $iter + call $~lib/rt/itcms/Object#get:color + i32.const 3 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 96 + i32.const 160 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $iter + i32.const 20 + i32.add + local.get $cookie + call $~lib/rt/__visit_members + local.get $iter + call $~lib/rt/itcms/Object#get:next + local.set $iter + br $while-continue|0 + end + end + ) + (func $~lib/rt/itcms/Object#set:color (param $this i32) (param $color i32) + local.get $this + local.get $this + call $~lib/rt/itcms/Object#get:nextWithColor + i32.const 3 + i32.const -1 + i32.xor + i32.and + local.get $color + i32.or + call $~lib/rt/itcms/Object#set:nextWithColor + ) + (func $~lib/rt/itcms/Object#get:prev (param $this i32) (result i32) + local.get $this + i32.load $0 offset=8 + ) + (func $~lib/rt/itcms/Object#set:next (param $this i32) (param $obj i32) + local.get $this + local.get $obj + local.get $this + call $~lib/rt/itcms/Object#get:nextWithColor + i32.const 3 + i32.and + i32.or + call $~lib/rt/itcms/Object#set:nextWithColor + ) + (func $~lib/rt/itcms/Object#unlink (param $this i32) + (local $next i32) + (local $prev i32) + local.get $this + call $~lib/rt/itcms/Object#get:next + local.set $next + local.get $next + i32.const 0 + i32.eq + if + i32.const 1 + drop + local.get $this + call $~lib/rt/itcms/Object#get:prev + i32.const 0 + i32.eq + if (result i32) + local.get $this + global.get $~lib/memory/__heap_base + i32.lt_u + else + i32.const 0 + end + i32.eqz + if + i32.const 0 + i32.const 96 + i32.const 128 + i32.const 18 + call $~lib/builtins/abort + unreachable + end + return + end + local.get $this + call $~lib/rt/itcms/Object#get:prev + local.set $prev + i32.const 1 + drop + local.get $prev + i32.eqz + if + i32.const 0 + i32.const 96 + i32.const 132 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $next + local.get $prev + call $~lib/rt/itcms/Object#set:prev + local.get $prev + local.get $next + call $~lib/rt/itcms/Object#set:next + ) + (func $~lib/rt/itcms/Object#get:rtId (param $this i32) (result i32) + local.get $this + i32.load $0 offset=12 + ) + (func $~lib/shared/typeinfo/Typeinfo#get:flags (param $this i32) (result i32) + local.get $this + i32.load $0 + ) + (func $~lib/rt/__typeinfo (param $id i32) (result i32) + (local $ptr i32) + global.get $~lib/rt/__rtti_base + local.set $ptr + local.get $id + local.get $ptr + i32.load $0 + i32.gt_u + if + i32.const 224 + i32.const 288 + i32.const 21 + i32.const 28 + call $~lib/builtins/abort + unreachable + end + local.get $ptr + i32.const 4 + i32.add + local.get $id + i32.const 4 + i32.mul + i32.add + call $~lib/shared/typeinfo/Typeinfo#get:flags + return + ) + (func $~lib/rt/itcms/Object#get:isPointerfree (param $this i32) (result i32) + (local $rtId i32) + local.get $this + call $~lib/rt/itcms/Object#get:rtId + local.set $rtId + local.get $rtId + i32.const 2 + i32.le_u + if (result i32) + i32.const 1 + else + local.get $rtId + call $~lib/rt/__typeinfo + i32.const 32 + i32.and + i32.const 0 + i32.ne + end + return + ) + (func $~lib/rt/itcms/Object#linkTo (param $this i32) (param $list i32) (param $withColor i32) + (local $prev i32) + local.get $list + call $~lib/rt/itcms/Object#get:prev + local.set $prev + local.get $this + local.get $list + local.get $withColor + i32.or + call $~lib/rt/itcms/Object#set:nextWithColor + local.get $this + local.get $prev + call $~lib/rt/itcms/Object#set:prev + local.get $prev + local.get $this + call $~lib/rt/itcms/Object#set:next + local.get $list + local.get $this + call $~lib/rt/itcms/Object#set:prev + ) + (func $~lib/rt/itcms/Object#makeGray (param $this i32) + (local $1 i32) + local.get $this + global.get $~lib/rt/itcms/iter + i32.eq + if + local.get $this + call $~lib/rt/itcms/Object#get:prev + local.tee $1 + i32.eqz + if (result i32) + i32.const 0 + i32.const 96 + i32.const 148 + i32.const 30 + call $~lib/builtins/abort + unreachable + else + local.get $1 + end + global.set $~lib/rt/itcms/iter + end + local.get $this + call $~lib/rt/itcms/Object#unlink + local.get $this + global.get $~lib/rt/itcms/toSpace + local.get $this + call $~lib/rt/itcms/Object#get:isPointerfree + if (result i32) + global.get $~lib/rt/itcms/white + i32.eqz + else + i32.const 2 + end + call $~lib/rt/itcms/Object#linkTo + ) + (func $~lib/rt/itcms/__visit (param $ptr i32) (param $cookie i32) + (local $obj i32) + local.get $ptr + i32.eqz + if + return + end + local.get $ptr + i32.const 20 + i32.sub + local.set $obj + i32.const 0 + drop + local.get $obj + call $~lib/rt/itcms/Object#get:color + global.get $~lib/rt/itcms/white + i32.eq + if + local.get $obj + call $~lib/rt/itcms/Object#makeGray + global.get $~lib/rt/itcms/visitCount + i32.const 1 + i32.add + global.set $~lib/rt/itcms/visitCount + end + ) + (func $~lib/rt/itcms/visitStack (param $cookie i32) + (local $ptr i32) + global.get $~lib/memory/__stack_pointer + local.set $ptr + loop $while-continue|0 + local.get $ptr + global.get $~lib/memory/__heap_base + i32.lt_u + if + local.get $ptr + i32.load $0 + local.get $cookie + call $~lib/rt/itcms/__visit + local.get $ptr + i32.const 4 + i32.add + local.set $ptr + br $while-continue|0 + end + end + ) + (func $~lib/rt/common/BLOCK#get:mmInfo (param $this i32) (result i32) + local.get $this + i32.load $0 + ) + (func $~lib/rt/itcms/Object#get:size (param $this i32) (result i32) + i32.const 4 + local.get $this + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + return + ) + (func $~lib/rt/tlsf/Root#set:flMap (param $this i32) (param $flMap i32) + local.get $this + local.get $flMap + i32.store $0 + ) + (func $~lib/rt/common/BLOCK#set:mmInfo (param $this i32) (param $mmInfo i32) + local.get $this + local.get $mmInfo + i32.store $0 + ) + (func $~lib/rt/tlsf/Block#set:prev (param $this i32) (param $prev i32) + local.get $this + local.get $prev + i32.store $0 offset=4 + ) + (func $~lib/rt/tlsf/Block#set:next (param $this i32) (param $next i32) + local.get $this + local.get $next + i32.store $0 offset=8 + ) + (func $~lib/rt/tlsf/Block#get:prev (param $this i32) (result i32) + local.get $this + i32.load $0 offset=4 + ) + (func $~lib/rt/tlsf/Block#get:next (param $this i32) (result i32) + local.get $this + i32.load $0 offset=8 + ) + (func $~lib/rt/tlsf/Root#get:flMap (param $this i32) (result i32) + local.get $this + i32.load $0 + ) + (func $~lib/rt/tlsf/removeBlock (param $root i32) (param $block i32) + (local $blockInfo i32) + (local $size i32) + (local $fl i32) + (local $sl i32) + (local $6 i32) + (local $7 i32) + (local $boundedSize i32) + (local $prev i32) + (local $next i32) + (local $root|11 i32) + (local $fl|12 i32) + (local $sl|13 i32) + (local $root|14 i32) + (local $fl|15 i32) + (local $sl|16 i32) + (local $head i32) + (local $root|18 i32) + (local $fl|19 i32) + (local $slMap i32) + (local $root|21 i32) + (local $fl|22 i32) + (local $slMap|23 i32) + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $blockInfo + i32.const 1 + drop + local.get $blockInfo + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 268 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $blockInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + local.set $size + i32.const 1 + drop + local.get $size + i32.const 12 + i32.ge_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 270 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $size + i32.const 256 + i32.lt_u + if + i32.const 0 + local.set $fl + local.get $size + i32.const 4 + i32.shr_u + local.set $sl + else + local.get $size + local.tee $6 + i32.const 1073741820 + local.tee $7 + local.get $6 + local.get $7 + i32.lt_u + select + local.set $boundedSize + i32.const 31 + local.get $boundedSize + i32.clz + i32.sub + local.set $fl + local.get $boundedSize + local.get $fl + i32.const 4 + i32.sub + i32.shr_u + i32.const 1 + i32.const 4 + i32.shl + i32.xor + local.set $sl + local.get $fl + i32.const 8 + i32.const 1 + i32.sub + i32.sub + local.set $fl + end + i32.const 1 + drop + local.get $fl + i32.const 23 + i32.lt_u + if (result i32) + local.get $sl + i32.const 16 + i32.lt_u + else + i32.const 0 + end + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 284 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $block + call $~lib/rt/tlsf/Block#get:prev + local.set $prev + local.get $block + call $~lib/rt/tlsf/Block#get:next + local.set $next + local.get $prev + if + local.get $prev + local.get $next + call $~lib/rt/tlsf/Block#set:next + end + local.get $next + if + local.get $next + local.get $prev + call $~lib/rt/tlsf/Block#set:prev + end + local.get $block + block $~lib/rt/tlsf/GETHEAD|inlined.0 (result i32) + local.get $root + local.set $root|11 + local.get $fl + local.set $fl|12 + local.get $sl + local.set $sl|13 + local.get $root|11 + local.get $fl|12 + i32.const 4 + i32.shl + local.get $sl|13 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + br $~lib/rt/tlsf/GETHEAD|inlined.0 + end + i32.eq + if + local.get $root + local.set $root|14 + local.get $fl + local.set $fl|15 + local.get $sl + local.set $sl|16 + local.get $next + local.set $head + local.get $root|14 + local.get $fl|15 + i32.const 4 + i32.shl + local.get $sl|16 + i32.add + i32.const 2 + i32.shl + i32.add + local.get $head + i32.store $0 offset=96 + local.get $next + i32.eqz + if + block $~lib/rt/tlsf/GETSL|inlined.0 (result i32) + local.get $root + local.set $root|18 + local.get $fl + local.set $fl|19 + local.get $root|18 + local.get $fl|19 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + br $~lib/rt/tlsf/GETSL|inlined.0 + end + local.set $slMap + local.get $root + local.set $root|21 + local.get $fl + local.set $fl|22 + local.get $slMap + i32.const 1 + local.get $sl + i32.shl + i32.const -1 + i32.xor + i32.and + local.tee $slMap + local.set $slMap|23 + local.get $root|21 + local.get $fl|22 + i32.const 2 + i32.shl + i32.add + local.get $slMap|23 + i32.store $0 offset=4 + local.get $slMap + i32.eqz + if + local.get $root + local.get $root + call $~lib/rt/tlsf/Root#get:flMap + i32.const 1 + local.get $fl + i32.shl + i32.const -1 + i32.xor + i32.and + call $~lib/rt/tlsf/Root#set:flMap + end + end + end + ) + (func $~lib/rt/tlsf/insertBlock (param $root i32) (param $block i32) + (local $blockInfo i32) + (local $block|3 i32) + (local $right i32) + (local $rightInfo i32) + (local $block|6 i32) + (local $block|7 i32) + (local $left i32) + (local $leftInfo i32) + (local $size i32) + (local $fl i32) + (local $sl i32) + (local $13 i32) + (local $14 i32) + (local $boundedSize i32) + (local $root|16 i32) + (local $fl|17 i32) + (local $sl|18 i32) + (local $head i32) + (local $root|20 i32) + (local $fl|21 i32) + (local $sl|22 i32) + (local $head|23 i32) + (local $root|24 i32) + (local $fl|25 i32) + (local $root|26 i32) + (local $fl|27 i32) + (local $slMap i32) + i32.const 1 + drop + local.get $block + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 201 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $blockInfo + i32.const 1 + drop + local.get $blockInfo + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 203 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + block $~lib/rt/tlsf/GETRIGHT|inlined.0 (result i32) + local.get $block + local.set $block|3 + local.get $block|3 + i32.const 4 + i32.add + local.get $block|3 + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + br $~lib/rt/tlsf/GETRIGHT|inlined.0 + end + local.set $right + local.get $right + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $rightInfo + local.get $rightInfo + i32.const 1 + i32.and + if + local.get $root + local.get $right + call $~lib/rt/tlsf/removeBlock + local.get $block + local.get $blockInfo + i32.const 4 + i32.add + local.get $rightInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + local.tee $blockInfo + call $~lib/rt/common/BLOCK#set:mmInfo + block $~lib/rt/tlsf/GETRIGHT|inlined.1 (result i32) + local.get $block + local.set $block|6 + local.get $block|6 + i32.const 4 + i32.add + local.get $block|6 + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + br $~lib/rt/tlsf/GETRIGHT|inlined.1 + end + local.set $right + local.get $right + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $rightInfo + end + local.get $blockInfo + i32.const 2 + i32.and + if + block $~lib/rt/tlsf/GETFREELEFT|inlined.0 (result i32) + local.get $block + local.set $block|7 + local.get $block|7 + i32.const 4 + i32.sub + i32.load $0 + br $~lib/rt/tlsf/GETFREELEFT|inlined.0 + end + local.set $left + local.get $left + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $leftInfo + i32.const 1 + drop + local.get $leftInfo + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 221 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $root + local.get $left + call $~lib/rt/tlsf/removeBlock + local.get $left + local.set $block + local.get $block + local.get $leftInfo + i32.const 4 + i32.add + local.get $blockInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + local.tee $blockInfo + call $~lib/rt/common/BLOCK#set:mmInfo + end + local.get $right + local.get $rightInfo + i32.const 2 + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $blockInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + local.set $size + i32.const 1 + drop + local.get $size + i32.const 12 + i32.ge_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 233 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + i32.const 1 + drop + local.get $block + i32.const 4 + i32.add + local.get $size + i32.add + local.get $right + i32.eq + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 234 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $right + i32.const 4 + i32.sub + local.get $block + i32.store $0 + local.get $size + i32.const 256 + i32.lt_u + if + i32.const 0 + local.set $fl + local.get $size + i32.const 4 + i32.shr_u + local.set $sl + else + local.get $size + local.tee $13 + i32.const 1073741820 + local.tee $14 + local.get $13 + local.get $14 + i32.lt_u + select + local.set $boundedSize + i32.const 31 + local.get $boundedSize + i32.clz + i32.sub + local.set $fl + local.get $boundedSize + local.get $fl + i32.const 4 + i32.sub + i32.shr_u + i32.const 1 + i32.const 4 + i32.shl + i32.xor + local.set $sl + local.get $fl + i32.const 8 + i32.const 1 + i32.sub + i32.sub + local.set $fl + end + i32.const 1 + drop + local.get $fl + i32.const 23 + i32.lt_u + if (result i32) + local.get $sl + i32.const 16 + i32.lt_u + else + i32.const 0 + end + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 251 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + block $~lib/rt/tlsf/GETHEAD|inlined.1 (result i32) + local.get $root + local.set $root|16 + local.get $fl + local.set $fl|17 + local.get $sl + local.set $sl|18 + local.get $root|16 + local.get $fl|17 + i32.const 4 + i32.shl + local.get $sl|18 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + br $~lib/rt/tlsf/GETHEAD|inlined.1 + end + local.set $head + local.get $block + i32.const 0 + call $~lib/rt/tlsf/Block#set:prev + local.get $block + local.get $head + call $~lib/rt/tlsf/Block#set:next + local.get $head + if + local.get $head + local.get $block + call $~lib/rt/tlsf/Block#set:prev + end + local.get $root + local.set $root|20 + local.get $fl + local.set $fl|21 + local.get $sl + local.set $sl|22 + local.get $block + local.set $head|23 + local.get $root|20 + local.get $fl|21 + i32.const 4 + i32.shl + local.get $sl|22 + i32.add + i32.const 2 + i32.shl + i32.add + local.get $head|23 + i32.store $0 offset=96 + local.get $root + local.get $root + call $~lib/rt/tlsf/Root#get:flMap + i32.const 1 + local.get $fl + i32.shl + i32.or + call $~lib/rt/tlsf/Root#set:flMap + local.get $root + local.set $root|26 + local.get $fl + local.set $fl|27 + block $~lib/rt/tlsf/GETSL|inlined.1 (result i32) + local.get $root + local.set $root|24 + local.get $fl + local.set $fl|25 + local.get $root|24 + local.get $fl|25 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + br $~lib/rt/tlsf/GETSL|inlined.1 + end + i32.const 1 + local.get $sl + i32.shl + i32.or + local.set $slMap + local.get $root|26 + local.get $fl|27 + i32.const 2 + i32.shl + i32.add + local.get $slMap + i32.store $0 offset=4 + ) + (func $~lib/rt/tlsf/addMemory (param $root i32) (param $start i32) (param $endU64 i64) (result i32) + (local $end i32) + (local $root|4 i32) + (local $tail i32) + (local $tailInfo i32) + (local $size i32) + (local $leftSize i32) + (local $left i32) + (local $root|10 i32) + (local $tail|11 i32) + local.get $endU64 + i32.wrap_i64 + local.set $end + i32.const 1 + drop + local.get $start + i64.extend_i32_u + local.get $endU64 + i64.le_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 382 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $start + i32.const 4 + i32.add + i32.const 15 + i32.add + i32.const 15 + i32.const -1 + i32.xor + i32.and + i32.const 4 + i32.sub + local.set $start + local.get $end + i32.const 15 + i32.const -1 + i32.xor + i32.and + local.set $end + block $~lib/rt/tlsf/GETTAIL|inlined.0 (result i32) + local.get $root + local.set $root|4 + local.get $root|4 + i32.load $0 offset=1568 + br $~lib/rt/tlsf/GETTAIL|inlined.0 + end + local.set $tail + i32.const 0 + local.set $tailInfo + local.get $tail + if + i32.const 1 + drop + local.get $start + local.get $tail + i32.const 4 + i32.add + i32.ge_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 389 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $start + i32.const 16 + i32.sub + local.get $tail + i32.eq + if + local.get $start + i32.const 16 + i32.sub + local.set $start + local.get $tail + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $tailInfo + else + nop + end + else + i32.const 1 + drop + local.get $start + local.get $root + i32.const 1572 + i32.add + i32.ge_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 402 + i32.const 5 + call $~lib/builtins/abort + unreachable + end + end + local.get $end + local.get $start + i32.sub + local.set $size + local.get $size + i32.const 4 + i32.const 12 + i32.add + i32.const 4 + i32.add + i32.lt_u + if + i32.const 0 + return + end + local.get $size + i32.const 2 + i32.const 4 + i32.mul + i32.sub + local.set $leftSize + local.get $start + local.set $left + local.get $left + local.get $leftSize + i32.const 1 + i32.or + local.get $tailInfo + i32.const 2 + i32.and + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $left + i32.const 0 + call $~lib/rt/tlsf/Block#set:prev + local.get $left + i32.const 0 + call $~lib/rt/tlsf/Block#set:next + local.get $start + i32.const 4 + i32.add + local.get $leftSize + i32.add + local.set $tail + local.get $tail + i32.const 0 + i32.const 2 + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $root + local.set $root|10 + local.get $tail + local.set $tail|11 + local.get $root|10 + local.get $tail|11 + i32.store $0 offset=1568 + local.get $root + local.get $left + call $~lib/rt/tlsf/insertBlock + i32.const 1 + return + ) + (func $~lib/rt/tlsf/initialize + (local $rootOffset i32) + (local $pagesBefore i32) + (local $pagesNeeded i32) + (local $root i32) + (local $root|4 i32) + (local $tail i32) + (local $fl i32) + (local $root|7 i32) + (local $fl|8 i32) + (local $slMap i32) + (local $sl i32) + (local $root|11 i32) + (local $fl|12 i32) + (local $sl|13 i32) + (local $head i32) + (local $memStart i32) + i32.const 0 + drop + global.get $~lib/memory/__heap_base + i32.const 15 + i32.add + i32.const 15 + i32.const -1 + i32.xor + i32.and + local.set $rootOffset + memory.size $0 + local.set $pagesBefore + local.get $rootOffset + i32.const 1572 + i32.add + i32.const 65535 + i32.add + i32.const 65535 + i32.const -1 + i32.xor + i32.and + i32.const 16 + i32.shr_u + local.set $pagesNeeded + local.get $pagesNeeded + local.get $pagesBefore + i32.gt_s + if (result i32) + local.get $pagesNeeded + local.get $pagesBefore + i32.sub + memory.grow $0 + i32.const 0 + i32.lt_s + else + i32.const 0 + end + if + unreachable + end + local.get $rootOffset + local.set $root + local.get $root + i32.const 0 + call $~lib/rt/tlsf/Root#set:flMap + local.get $root + local.set $root|4 + i32.const 0 + local.set $tail + local.get $root|4 + local.get $tail + i32.store $0 offset=1568 + i32.const 0 + local.set $fl + loop $for-loop|0 + local.get $fl + i32.const 23 + i32.lt_u + if + local.get $root + local.set $root|7 + local.get $fl + local.set $fl|8 + i32.const 0 + local.set $slMap + local.get $root|7 + local.get $fl|8 + i32.const 2 + i32.shl + i32.add + local.get $slMap + i32.store $0 offset=4 + i32.const 0 + local.set $sl + loop $for-loop|1 + local.get $sl + i32.const 16 + i32.lt_u + if + local.get $root + local.set $root|11 + local.get $fl + local.set $fl|12 + local.get $sl + local.set $sl|13 + i32.const 0 + local.set $head + local.get $root|11 + local.get $fl|12 + i32.const 4 + i32.shl + local.get $sl|13 + i32.add + i32.const 2 + i32.shl + i32.add + local.get $head + i32.store $0 offset=96 + local.get $sl + i32.const 1 + i32.add + local.set $sl + br $for-loop|1 + end + end + local.get $fl + i32.const 1 + i32.add + local.set $fl + br $for-loop|0 + end + end + local.get $rootOffset + i32.const 1572 + i32.add + local.set $memStart + i32.const 0 + drop + local.get $root + local.get $memStart + memory.size $0 + i64.extend_i32_s + i64.const 16 + i64.shl + call $~lib/rt/tlsf/addMemory + drop + local.get $root + global.set $~lib/rt/tlsf/ROOT + ) + (func $~lib/rt/tlsf/checkUsedBlock (param $ptr i32) (result i32) + (local $block i32) + local.get $ptr + i32.const 4 + i32.sub + local.set $block + local.get $ptr + i32.const 0 + i32.ne + if (result i32) + local.get $ptr + i32.const 15 + i32.and + i32.eqz + else + i32.const 0 + end + if (result i32) + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 1 + i32.and + i32.eqz + else + i32.const 0 + end + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 562 + i32.const 3 + call $~lib/builtins/abort + unreachable + end + local.get $block + return + ) + (func $~lib/rt/tlsf/freeBlock (param $root i32) (param $block i32) + i32.const 0 + drop + local.get $block + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 1 + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $root + local.get $block + call $~lib/rt/tlsf/insertBlock + ) + (func $~lib/rt/tlsf/__free (param $ptr i32) + local.get $ptr + global.get $~lib/memory/__heap_base + i32.lt_u + if + return + end + global.get $~lib/rt/tlsf/ROOT + i32.eqz + if + call $~lib/rt/tlsf/initialize + end + global.get $~lib/rt/tlsf/ROOT + local.get $ptr + call $~lib/rt/tlsf/checkUsedBlock + call $~lib/rt/tlsf/freeBlock + ) + (func $~lib/rt/itcms/free (param $obj i32) + local.get $obj + global.get $~lib/memory/__heap_base + i32.lt_u + if + local.get $obj + i32.const 0 + call $~lib/rt/itcms/Object#set:nextWithColor + local.get $obj + i32.const 0 + call $~lib/rt/itcms/Object#set:prev + else + global.get $~lib/rt/itcms/total + local.get $obj + call $~lib/rt/itcms/Object#get:size + i32.sub + global.set $~lib/rt/itcms/total + i32.const 0 + drop + local.get $obj + i32.const 4 + i32.add + call $~lib/rt/tlsf/__free + end + ) + (func $~lib/rt/itcms/step (result i32) + (local $obj i32) + (local $1 i32) + (local $black i32) + (local $from i32) + block $break|0 + block $case2|0 + block $case1|0 + block $case0|0 + global.get $~lib/rt/itcms/state + local.set $1 + local.get $1 + i32.const 0 + i32.eq + br_if $case0|0 + local.get $1 + i32.const 1 + i32.eq + br_if $case1|0 + local.get $1 + i32.const 2 + i32.eq + br_if $case2|0 + br $break|0 + end + i32.const 1 + global.set $~lib/rt/itcms/state + i32.const 0 + global.set $~lib/rt/itcms/visitCount + i32.const 0 + call $~lib/rt/itcms/visitRoots + global.get $~lib/rt/itcms/toSpace + global.set $~lib/rt/itcms/iter + global.get $~lib/rt/itcms/visitCount + i32.const 1 + i32.mul + return + end + global.get $~lib/rt/itcms/white + i32.eqz + local.set $black + global.get $~lib/rt/itcms/iter + call $~lib/rt/itcms/Object#get:next + local.set $obj + loop $while-continue|1 + local.get $obj + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $obj + global.set $~lib/rt/itcms/iter + local.get $obj + call $~lib/rt/itcms/Object#get:color + local.get $black + i32.ne + if + local.get $obj + local.get $black + call $~lib/rt/itcms/Object#set:color + i32.const 0 + global.set $~lib/rt/itcms/visitCount + local.get $obj + i32.const 20 + i32.add + i32.const 0 + call $~lib/rt/__visit_members + global.get $~lib/rt/itcms/visitCount + i32.const 1 + i32.mul + return + end + local.get $obj + call $~lib/rt/itcms/Object#get:next + local.set $obj + br $while-continue|1 + end + end + i32.const 0 + global.set $~lib/rt/itcms/visitCount + i32.const 0 + call $~lib/rt/itcms/visitRoots + global.get $~lib/rt/itcms/iter + call $~lib/rt/itcms/Object#get:next + local.set $obj + local.get $obj + global.get $~lib/rt/itcms/toSpace + i32.eq + if + i32.const 0 + call $~lib/rt/itcms/visitStack + global.get $~lib/rt/itcms/iter + call $~lib/rt/itcms/Object#get:next + local.set $obj + loop $while-continue|2 + local.get $obj + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $obj + call $~lib/rt/itcms/Object#get:color + local.get $black + i32.ne + if + local.get $obj + local.get $black + call $~lib/rt/itcms/Object#set:color + local.get $obj + i32.const 20 + i32.add + i32.const 0 + call $~lib/rt/__visit_members + end + local.get $obj + call $~lib/rt/itcms/Object#get:next + local.set $obj + br $while-continue|2 + end + end + global.get $~lib/rt/itcms/fromSpace + local.set $from + global.get $~lib/rt/itcms/toSpace + global.set $~lib/rt/itcms/fromSpace + local.get $from + global.set $~lib/rt/itcms/toSpace + local.get $black + global.set $~lib/rt/itcms/white + local.get $from + call $~lib/rt/itcms/Object#get:next + global.set $~lib/rt/itcms/iter + i32.const 2 + global.set $~lib/rt/itcms/state + end + global.get $~lib/rt/itcms/visitCount + i32.const 1 + i32.mul + return + end + global.get $~lib/rt/itcms/iter + local.set $obj + local.get $obj + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $obj + call $~lib/rt/itcms/Object#get:next + global.set $~lib/rt/itcms/iter + i32.const 1 + drop + local.get $obj + call $~lib/rt/itcms/Object#get:color + global.get $~lib/rt/itcms/white + i32.eqz + i32.eq + i32.eqz + if + i32.const 0 + i32.const 96 + i32.const 229 + i32.const 20 + call $~lib/builtins/abort + unreachable + end + local.get $obj + call $~lib/rt/itcms/free + i32.const 10 + return + end + global.get $~lib/rt/itcms/toSpace + global.get $~lib/rt/itcms/toSpace + call $~lib/rt/itcms/Object#set:nextWithColor + global.get $~lib/rt/itcms/toSpace + global.get $~lib/rt/itcms/toSpace + call $~lib/rt/itcms/Object#set:prev + i32.const 0 + global.set $~lib/rt/itcms/state + br $break|0 + end + i32.const 0 + return + ) + (func $~lib/rt/itcms/interrupt + (local $budget i32) + i32.const 0 + drop + i32.const 0 + drop + i32.const 1024 + i32.const 200 + i32.mul + i32.const 100 + i32.div_u + local.set $budget + loop $do-loop|0 + local.get $budget + call $~lib/rt/itcms/step + i32.sub + local.set $budget + global.get $~lib/rt/itcms/state + i32.const 0 + i32.eq + if + i32.const 0 + drop + global.get $~lib/rt/itcms/total + i64.extend_i32_u + i32.const 200 + i64.extend_i32_u + i64.mul + i64.const 100 + i64.div_u + i32.wrap_i64 + i32.const 1024 + i32.add + global.set $~lib/rt/itcms/threshold + i32.const 0 + drop + return + end + local.get $budget + i32.const 0 + i32.gt_s + br_if $do-loop|0 + end + i32.const 0 + drop + global.get $~lib/rt/itcms/total + i32.const 1024 + global.get $~lib/rt/itcms/total + global.get $~lib/rt/itcms/threshold + i32.sub + i32.const 1024 + i32.lt_u + i32.mul + i32.add + global.set $~lib/rt/itcms/threshold + i32.const 0 + drop + ) + (func $~lib/rt/tlsf/computeSize (param $size i32) (result i32) + local.get $size + i32.const 12 + i32.le_u + if (result i32) + i32.const 12 + else + local.get $size + i32.const 4 + i32.add + i32.const 15 + i32.add + i32.const 15 + i32.const -1 + i32.xor + i32.and + i32.const 4 + i32.sub + end + return + ) + (func $~lib/rt/tlsf/prepareSize (param $size i32) (result i32) + local.get $size + i32.const 1073741820 + i32.gt_u + if + i32.const 32 + i32.const 368 + i32.const 461 + i32.const 29 + call $~lib/builtins/abort + unreachable + end + local.get $size + call $~lib/rt/tlsf/computeSize + return + ) + (func $~lib/rt/tlsf/roundSize (param $size i32) (result i32) + local.get $size + i32.const 536870910 + i32.lt_u + if (result i32) + local.get $size + i32.const 1 + i32.const 27 + local.get $size + i32.clz + i32.sub + i32.shl + i32.add + i32.const 1 + i32.sub + else + local.get $size + end + return + ) + (func $~lib/rt/tlsf/searchBlock (param $root i32) (param $size i32) (result i32) + (local $fl i32) + (local $sl i32) + (local $requestSize i32) + (local $root|5 i32) + (local $fl|6 i32) + (local $slMap i32) + (local $head i32) + (local $flMap i32) + (local $root|10 i32) + (local $fl|11 i32) + (local $root|12 i32) + (local $fl|13 i32) + (local $sl|14 i32) + (local $root|15 i32) + (local $fl|16 i32) + (local $sl|17 i32) + local.get $size + i32.const 256 + i32.lt_u + if + i32.const 0 + local.set $fl + local.get $size + i32.const 4 + i32.shr_u + local.set $sl + else + local.get $size + call $~lib/rt/tlsf/roundSize + local.set $requestSize + i32.const 4 + i32.const 8 + i32.mul + i32.const 1 + i32.sub + local.get $requestSize + i32.clz + i32.sub + local.set $fl + local.get $requestSize + local.get $fl + i32.const 4 + i32.sub + i32.shr_u + i32.const 1 + i32.const 4 + i32.shl + i32.xor + local.set $sl + local.get $fl + i32.const 8 + i32.const 1 + i32.sub + i32.sub + local.set $fl + end + i32.const 1 + drop + local.get $fl + i32.const 23 + i32.lt_u + if (result i32) + local.get $sl + i32.const 16 + i32.lt_u + else + i32.const 0 + end + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 334 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + block $~lib/rt/tlsf/GETSL|inlined.2 (result i32) + local.get $root + local.set $root|5 + local.get $fl + local.set $fl|6 + local.get $root|5 + local.get $fl|6 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + br $~lib/rt/tlsf/GETSL|inlined.2 + end + i32.const 0 + i32.const -1 + i32.xor + local.get $sl + i32.shl + i32.and + local.set $slMap + i32.const 0 + local.set $head + local.get $slMap + i32.eqz + if + local.get $root + call $~lib/rt/tlsf/Root#get:flMap + i32.const 0 + i32.const -1 + i32.xor + local.get $fl + i32.const 1 + i32.add + i32.shl + i32.and + local.set $flMap + local.get $flMap + i32.eqz + if + i32.const 0 + local.set $head + else + local.get $flMap + i32.ctz + local.set $fl + block $~lib/rt/tlsf/GETSL|inlined.3 (result i32) + local.get $root + local.set $root|10 + local.get $fl + local.set $fl|11 + local.get $root|10 + local.get $fl|11 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + br $~lib/rt/tlsf/GETSL|inlined.3 + end + local.set $slMap + i32.const 1 + drop + local.get $slMap + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 347 + i32.const 18 + call $~lib/builtins/abort + unreachable + end + block $~lib/rt/tlsf/GETHEAD|inlined.2 (result i32) + local.get $root + local.set $root|12 + local.get $fl + local.set $fl|13 + local.get $slMap + i32.ctz + local.set $sl|14 + local.get $root|12 + local.get $fl|13 + i32.const 4 + i32.shl + local.get $sl|14 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + br $~lib/rt/tlsf/GETHEAD|inlined.2 + end + local.set $head + end + else + block $~lib/rt/tlsf/GETHEAD|inlined.3 (result i32) + local.get $root + local.set $root|15 + local.get $fl + local.set $fl|16 + local.get $slMap + i32.ctz + local.set $sl|17 + local.get $root|15 + local.get $fl|16 + i32.const 4 + i32.shl + local.get $sl|17 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + br $~lib/rt/tlsf/GETHEAD|inlined.3 + end + local.set $head + end + local.get $head + return + ) + (func $~lib/rt/tlsf/growMemory (param $root i32) (param $size i32) + (local $pagesBefore i32) + (local $root|3 i32) + (local $pagesNeeded i32) + (local $5 i32) + (local $6 i32) + (local $pagesWanted i32) + (local $pagesAfter i32) + i32.const 0 + drop + local.get $size + i32.const 256 + i32.ge_u + if + local.get $size + call $~lib/rt/tlsf/roundSize + local.set $size + end + memory.size $0 + local.set $pagesBefore + local.get $size + i32.const 4 + local.get $pagesBefore + i32.const 16 + i32.shl + i32.const 4 + i32.sub + block $~lib/rt/tlsf/GETTAIL|inlined.1 (result i32) + local.get $root + local.set $root|3 + local.get $root|3 + i32.load $0 offset=1568 + br $~lib/rt/tlsf/GETTAIL|inlined.1 + end + i32.ne + i32.shl + i32.add + local.set $size + local.get $size + i32.const 65535 + i32.add + i32.const 65535 + i32.const -1 + i32.xor + i32.and + i32.const 16 + i32.shr_u + local.set $pagesNeeded + local.get $pagesBefore + local.tee $5 + local.get $pagesNeeded + local.tee $6 + local.get $5 + local.get $6 + i32.gt_s + select + local.set $pagesWanted + local.get $pagesWanted + memory.grow $0 + i32.const 0 + i32.lt_s + if + local.get $pagesNeeded + memory.grow $0 + i32.const 0 + i32.lt_s + if + unreachable + end + end + memory.size $0 + local.set $pagesAfter + local.get $root + local.get $pagesBefore + i32.const 16 + i32.shl + local.get $pagesAfter + i64.extend_i32_s + i64.const 16 + i64.shl + call $~lib/rt/tlsf/addMemory + drop + ) + (func $~lib/rt/tlsf/prepareBlock (param $root i32) (param $block i32) (param $size i32) + (local $blockInfo i32) + (local $remaining i32) + (local $spare i32) + (local $block|6 i32) + (local $block|7 i32) + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + local.set $blockInfo + i32.const 1 + drop + local.get $size + i32.const 4 + i32.add + i32.const 15 + i32.and + i32.eqz + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 361 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $blockInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + local.get $size + i32.sub + local.set $remaining + local.get $remaining + i32.const 4 + i32.const 12 + i32.add + i32.ge_u + if + local.get $block + local.get $size + local.get $blockInfo + i32.const 2 + i32.and + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $block + i32.const 4 + i32.add + local.get $size + i32.add + local.set $spare + local.get $spare + local.get $remaining + i32.const 4 + i32.sub + i32.const 1 + i32.or + call $~lib/rt/common/BLOCK#set:mmInfo + local.get $root + local.get $spare + call $~lib/rt/tlsf/insertBlock + else + local.get $block + local.get $blockInfo + i32.const 1 + i32.const -1 + i32.xor + i32.and + call $~lib/rt/common/BLOCK#set:mmInfo + block $~lib/rt/tlsf/GETRIGHT|inlined.3 (result i32) + local.get $block + local.set $block|7 + local.get $block|7 + i32.const 4 + i32.add + local.get $block|7 + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + br $~lib/rt/tlsf/GETRIGHT|inlined.3 + end + block $~lib/rt/tlsf/GETRIGHT|inlined.2 (result i32) + local.get $block + local.set $block|6 + local.get $block|6 + i32.const 4 + i32.add + local.get $block|6 + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + i32.add + br $~lib/rt/tlsf/GETRIGHT|inlined.2 + end + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 2 + i32.const -1 + i32.xor + i32.and + call $~lib/rt/common/BLOCK#set:mmInfo + end + ) + (func $~lib/rt/tlsf/allocateBlock (param $root i32) (param $size i32) (result i32) + (local $payloadSize i32) + (local $block i32) + local.get $size + call $~lib/rt/tlsf/prepareSize + local.set $payloadSize + local.get $root + local.get $payloadSize + call $~lib/rt/tlsf/searchBlock + local.set $block + local.get $block + i32.eqz + if + local.get $root + local.get $payloadSize + call $~lib/rt/tlsf/growMemory + local.get $root + local.get $payloadSize + call $~lib/rt/tlsf/searchBlock + local.set $block + i32.const 1 + drop + local.get $block + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 499 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + end + i32.const 1 + drop + local.get $block + call $~lib/rt/common/BLOCK#get:mmInfo + i32.const 3 + i32.const -1 + i32.xor + i32.and + local.get $payloadSize + i32.ge_u + i32.eqz + if + i32.const 0 + i32.const 368 + i32.const 501 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $root + local.get $block + call $~lib/rt/tlsf/removeBlock + local.get $root + local.get $block + local.get $payloadSize + call $~lib/rt/tlsf/prepareBlock + i32.const 0 + drop + local.get $block + return + ) + (func $~lib/rt/tlsf/__alloc (param $size i32) (result i32) + global.get $~lib/rt/tlsf/ROOT + i32.eqz + if + call $~lib/rt/tlsf/initialize + end + global.get $~lib/rt/tlsf/ROOT + local.get $size + call $~lib/rt/tlsf/allocateBlock + i32.const 4 + i32.add + return + ) + (func $~lib/rt/itcms/Object#set:rtId (param $this i32) (param $rtId i32) + local.get $this + local.get $rtId + i32.store $0 offset=12 + ) + (func $~lib/rt/itcms/Object#set:rtSize (param $this i32) (param $rtSize i32) + local.get $this + local.get $rtSize + i32.store $0 offset=16 + ) + (func $~lib/rt/itcms/__new (param $size i32) (param $id i32) (result i32) + (local $obj i32) + (local $ptr i32) + local.get $size + i32.const 1073741804 + i32.ge_u + if + i32.const 32 + i32.const 96 + i32.const 261 + i32.const 31 + call $~lib/builtins/abort + unreachable + end + global.get $~lib/rt/itcms/total + global.get $~lib/rt/itcms/threshold + i32.ge_u + if + call $~lib/rt/itcms/interrupt + end + i32.const 16 + local.get $size + i32.add + call $~lib/rt/tlsf/__alloc + i32.const 4 + i32.sub + local.set $obj + local.get $obj + local.get $id + call $~lib/rt/itcms/Object#set:rtId + local.get $obj + local.get $size + call $~lib/rt/itcms/Object#set:rtSize + local.get $obj + global.get $~lib/rt/itcms/fromSpace + global.get $~lib/rt/itcms/white + call $~lib/rt/itcms/Object#linkTo + global.get $~lib/rt/itcms/total + local.get $obj + call $~lib/rt/itcms/Object#get:size + i32.add + global.set $~lib/rt/itcms/total + local.get $obj + i32.const 20 + i32.add + local.set $ptr + local.get $ptr + i32.const 0 + local.get $size + memory.fill $0 + local.get $ptr + return + ) + (func $rt/issue-2719/issue2719_T#set:v (param $this i32) (param $v i32) + local.get $this + local.get $v + i32.store $0 + ) + (func $~lib/rt/itcms/__collect + i32.const 0 + drop + global.get $~lib/rt/itcms/state + i32.const 0 + i32.gt_s + if + loop $while-continue|0 + global.get $~lib/rt/itcms/state + i32.const 0 + i32.ne + if + call $~lib/rt/itcms/step + drop + br $while-continue|0 + end + end + end + call $~lib/rt/itcms/step + drop + loop $while-continue|1 + global.get $~lib/rt/itcms/state + i32.const 0 + i32.ne + if + call $~lib/rt/itcms/step + drop + br $while-continue|1 + end + end + global.get $~lib/rt/itcms/total + i64.extend_i32_u + i32.const 200 + i64.extend_i32_u + i64.mul + i64.const 100 + i64.div_u + i32.wrap_i64 + i32.const 1024 + i32.add + global.set $~lib/rt/itcms/threshold + i32.const 0 + drop + i32.const 0 + drop + ) + (func $rt/issue-2719/issue2719_T#get:v (param $this i32) (result i32) + local.get $this + i32.load $0 + ) + (func $~lib/rt/__visit_globals (param $0 i32) + (local $1 i32) + i32.const 224 + local.get $0 + call $~lib/rt/itcms/__visit + i32.const 32 + local.get $0 + call $~lib/rt/itcms/__visit + ) + (func $~lib/arraybuffer/ArrayBufferView~visit (param $0 i32) (param $1 i32) + (local $2 i32) + local.get $0 + local.get $1 + call $~lib/object/Object~visit + local.get $0 + i32.load $0 + local.tee $2 + if + local.get $2 + local.get $1 + call $~lib/rt/itcms/__visit + end + ) + (func $~lib/object/Object~visit (param $0 i32) (param $1 i32) + nop + ) + (func $~lib/rt/__visit_members (param $0 i32) (param $1 i32) + block $invalid + block $rt/issue-2719/issue2719_T + block $~lib/arraybuffer/ArrayBufferView + block $~lib/string/String + block $~lib/arraybuffer/ArrayBuffer + block $~lib/object/Object + local.get $0 + i32.const 8 + i32.sub + i32.load $0 + br_table $~lib/object/Object $~lib/arraybuffer/ArrayBuffer $~lib/string/String $~lib/arraybuffer/ArrayBufferView $rt/issue-2719/issue2719_T $invalid + end + return + end + return + end + return + end + local.get $0 + local.get $1 + call $~lib/arraybuffer/ArrayBufferView~visit + return + end + return + end + unreachable + ) + (func $~start + call $start:rt/issue-2719 + ) + (func $~stack_check + global.get $~lib/memory/__stack_pointer + global.get $~lib/memory/__data_end + i32.lt_s + if + i32.const 33296 + i32.const 33344 + i32.const 1 + i32.const 1 + call $~lib/builtins/abort + unreachable + end + ) + (func $rt/issue-2719/issue2719_T#constructor (param $this i32) (result i32) + (local $1 i32) + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + call $~stack_check + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 + local.get $this + i32.eqz + if + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.const 4 + call $~lib/rt/itcms/__new + local.tee $this + i32.store $0 + end + global.get $~lib/memory/__stack_pointer + local.get $this + local.set $1 + global.get $~lib/memory/__stack_pointer + local.get $1 + i32.store $0 offset=4 + local.get $1 + call $~lib/object/Object#constructor + local.tee $this + i32.store $0 + local.get $this + local.set $1 + global.get $~lib/memory/__stack_pointer + local.get $1 + i32.store $0 offset=4 + local.get $1 + i32.const 0 + call $rt/issue-2719/issue2719_T#set:v + local.get $this + local.set $1 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + local.get $1 + ) + (func $rt/issue-2719/issue2719_f2 (param $t i32) (result i32) + (local $c i32) + (local $2 i32) + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + call $~stack_check + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 + call $~lib/rt/itcms/__collect + global.get $~lib/memory/__stack_pointer + i32.const 0 + call $rt/issue-2719/issue2719_T#constructor + local.tee $c + i32.store $0 + local.get $c + local.set $2 + global.get $~lib/memory/__stack_pointer + local.get $2 + i32.store $0 offset=4 + local.get $2 + i32.const 100 + call $rt/issue-2719/issue2719_T#set:v + i32.const 1 + local.set $2 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + local.get $2 + return + ) + (func $rt/issue-2719/issue2719_f1 (param $a i32) (param $t i32) (param $b i32) + (local $3 i32) + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.sub + global.set $~lib/memory/__stack_pointer + call $~stack_check + global.get $~lib/memory/__stack_pointer + i32.const 0 + i32.store $0 + local.get $t + local.set $3 + global.get $~lib/memory/__stack_pointer + local.get $3 + i32.store $0 + local.get $3 + call $rt/issue-2719/issue2719_T#get:v + i32.const 0 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 432 + i32.const 6 + i32.const 3 + call $~lib/builtins/abort + unreachable + end + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.add + global.set $~lib/memory/__stack_pointer + ) + (func $start:rt/issue-2719 + (local $0 i32) + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + call $~stack_check + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 + memory.size $0 + i32.const 16 + i32.shl + global.get $~lib/memory/__heap_base + i32.sub + i32.const 1 + i32.shr_u + global.set $~lib/rt/itcms/threshold + i32.const 144 + call $~lib/rt/itcms/initLazy + global.set $~lib/rt/itcms/pinSpace + i32.const 176 + call $~lib/rt/itcms/initLazy + global.set $~lib/rt/itcms/toSpace + i32.const 320 + call $~lib/rt/itcms/initLazy + global.set $~lib/rt/itcms/fromSpace + i32.const 1 + i32.const 0 + call $rt/issue-2719/issue2719_T#constructor + local.set $0 + global.get $~lib/memory/__stack_pointer + local.get $0 + i32.store $0 + local.get $0 + i32.const 0 + call $rt/issue-2719/issue2719_T#constructor + local.set $0 + global.get $~lib/memory/__stack_pointer + local.get $0 + i32.store $0 offset=4 + local.get $0 + call $rt/issue-2719/issue2719_f2 + call $rt/issue-2719/issue2719_f1 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + ) + (func $~lib/object/Object#constructor (param $this i32) (result i32) + (local $1 i32) + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.sub + global.set $~lib/memory/__stack_pointer + call $~stack_check + global.get $~lib/memory/__stack_pointer + i32.const 0 + i32.store $0 + local.get $this + i32.eqz + if + global.get $~lib/memory/__stack_pointer + i32.const 0 + i32.const 0 + call $~lib/rt/itcms/__new + local.tee $this + i32.store $0 + end + local.get $this + local.set $1 + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.add + global.set $~lib/memory/__stack_pointer + local.get $1 + ) +) diff --git a/tests/compiler/rt/issue-2719.json b/tests/compiler/rt/issue-2719.json new file mode 100644 index 0000000000..1bdd02b1be --- /dev/null +++ b/tests/compiler/rt/issue-2719.json @@ -0,0 +1,4 @@ +{ + "asc_flags": [ + ] +} diff --git a/tests/compiler/rt/issue-2719.release.wat b/tests/compiler/rt/issue-2719.release.wat new file mode 100644 index 0000000000..19e5c96b2c --- /dev/null +++ b/tests/compiler/rt/issue-2719.release.wat @@ -0,0 +1,1796 @@ +(module + (type $none_=>_none (func)) + (type $i32_=>_none (func (param i32))) + (type $i32_i32_=>_none (func (param i32 i32))) + (type $none_=>_i32 (func (result i32))) + (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) + (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) + (type $i32_i32_i64_=>_none (func (param i32 i32 i64))) + (import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32))) + (global $~lib/rt/itcms/total (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/threshold (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/state (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/visitCount (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/pinSpace (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/iter (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/toSpace (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/white (mut i32) (i32.const 0)) + (global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0)) + (global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0)) + (global $~lib/memory/__stack_pointer (mut i32) (i32.const 34296)) + (memory $0 1) + (data $0 (i32.const 1036) "<") + (data $0.1 (i32.const 1048) "\02\00\00\00(\00\00\00A\00l\00l\00o\00c\00a\00t\00i\00o\00n\00 \00t\00o\00o\00 \00l\00a\00r\00g\00e") + (data $1 (i32.const 1100) "<") + (data $1.1 (i32.const 1112) "\02\00\00\00 \00\00\00~\00l\00i\00b\00/\00r\00t\00/\00i\00t\00c\00m\00s\00.\00t\00s") + (data $4 (i32.const 1228) "<") + (data $4.1 (i32.const 1240) "\02\00\00\00$\00\00\00I\00n\00d\00e\00x\00 \00o\00u\00t\00 \00o\00f\00 \00r\00a\00n\00g\00e") + (data $5 (i32.const 1292) ",") + (data $5.1 (i32.const 1304) "\02\00\00\00\14\00\00\00~\00l\00i\00b\00/\00r\00t\00.\00t\00s") + (data $7 (i32.const 1372) "<") + (data $7.1 (i32.const 1384) "\02\00\00\00\1e\00\00\00~\00l\00i\00b\00/\00r\00t\00/\00t\00l\00s\00f\00.\00t\00s") + (data $8 (i32.const 1436) "<") + (data $8.1 (i32.const 1448) "\02\00\00\00 \00\00\00r\00t\00/\00i\00s\00s\00u\00e\00-\002\007\001\009\00.\00t\00s") + (data $9 (i32.const 1504) "\05\00\00\00 \00\00\00 \00\00\00 \00\00\00\00\00\00\00 ") + (export "memory" (memory $0)) + (start $~start) + (func $~lib/rt/itcms/visitRoots + (local $0 i32) + (local $1 i32) + i32.const 1248 + call $byn-split-outlined-A$~lib/rt/itcms/__visit + i32.const 1056 + call $byn-split-outlined-A$~lib/rt/itcms/__visit + global.get $~lib/rt/itcms/pinSpace + local.tee $1 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + loop $while-continue|0 + local.get $0 + local.get $1 + i32.ne + if + local.get $0 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.const 3 + i32.ne + if + i32.const 0 + i32.const 1120 + i32.const 160 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $0 + i32.const 20 + i32.add + call $~lib/rt/__visit_members + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + br $while-continue|0 + end + end + ) + (func $~lib/rt/itcms/Object#makeGray (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + local.get $0 + global.get $~lib/rt/itcms/iter + i32.eq + if + local.get $0 + i32.load $0 offset=8 + local.tee $1 + i32.eqz + if + i32.const 0 + i32.const 1120 + i32.const 148 + i32.const 30 + call $~lib/builtins/abort + unreachable + end + local.get $1 + global.set $~lib/rt/itcms/iter + end + block $__inlined_func$~lib/rt/itcms/Object#unlink + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.tee $1 + i32.eqz + if + local.get $0 + i32.load $0 offset=8 + i32.eqz + local.get $0 + i32.const 34296 + i32.lt_u + i32.and + i32.eqz + if + i32.const 0 + i32.const 1120 + i32.const 128 + i32.const 18 + call $~lib/builtins/abort + unreachable + end + br $__inlined_func$~lib/rt/itcms/Object#unlink + end + local.get $0 + i32.load $0 offset=8 + local.tee $2 + i32.eqz + if + i32.const 0 + i32.const 1120 + i32.const 132 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $1 + local.get $2 + i32.store $0 offset=8 + local.get $2 + local.get $1 + local.get $2 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.or + i32.store $0 offset=4 + end + global.get $~lib/rt/itcms/toSpace + local.set $2 + local.get $0 + i32.load $0 offset=12 + local.tee $1 + i32.const 2 + i32.le_u + if (result i32) + i32.const 1 + else + local.get $1 + i32.const 1504 + i32.load $0 + i32.gt_u + if + i32.const 1248 + i32.const 1312 + i32.const 21 + i32.const 28 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.const 2 + i32.shl + i32.const 1508 + i32.add + i32.load $0 + i32.const 32 + i32.and + end + local.set $3 + local.get $2 + i32.load $0 offset=8 + local.set $1 + local.get $0 + global.get $~lib/rt/itcms/white + i32.eqz + i32.const 2 + local.get $3 + select + local.get $2 + i32.or + i32.store $0 offset=4 + local.get $0 + local.get $1 + i32.store $0 offset=8 + local.get $1 + local.get $0 + local.get $1 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.or + i32.store $0 offset=4 + local.get $2 + local.get $0 + i32.store $0 offset=8 + ) + (func $~lib/rt/tlsf/removeBlock (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + local.get $1 + i32.load $0 + local.tee $2 + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 268 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $2 + i32.const -4 + i32.and + local.tee $2 + i32.const 12 + i32.lt_u + if + i32.const 0 + i32.const 1392 + i32.const 270 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $2 + i32.const 256 + i32.lt_u + if (result i32) + local.get $2 + i32.const 4 + i32.shr_u + else + i32.const 31 + i32.const 1073741820 + local.get $2 + local.get $2 + i32.const 1073741820 + i32.ge_u + select + local.tee $2 + i32.clz + i32.sub + local.tee $4 + i32.const 7 + i32.sub + local.set $3 + local.get $2 + local.get $4 + i32.const 4 + i32.sub + i32.shr_u + i32.const 16 + i32.xor + end + local.tee $2 + i32.const 16 + i32.lt_u + local.get $3 + i32.const 23 + i32.lt_u + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 284 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.load $0 offset=8 + local.set $5 + local.get $1 + i32.load $0 offset=4 + local.tee $4 + if + local.get $4 + local.get $5 + i32.store $0 offset=8 + end + local.get $5 + if + local.get $5 + local.get $4 + i32.store $0 offset=4 + end + local.get $1 + local.get $0 + local.get $3 + i32.const 4 + i32.shl + local.get $2 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + i32.eq + if + local.get $0 + local.get $3 + i32.const 4 + i32.shl + local.get $2 + i32.add + i32.const 2 + i32.shl + i32.add + local.get $5 + i32.store $0 offset=96 + local.get $5 + i32.eqz + if + local.get $0 + local.get $3 + i32.const 2 + i32.shl + i32.add + local.tee $1 + i32.load $0 offset=4 + i32.const -2 + local.get $2 + i32.rotl + i32.and + local.set $2 + local.get $1 + local.get $2 + i32.store $0 offset=4 + local.get $2 + i32.eqz + if + local.get $0 + local.get $0 + i32.load $0 + i32.const -2 + local.get $3 + i32.rotl + i32.and + i32.store $0 + end + end + end + ) + (func $~lib/rt/tlsf/insertBlock (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + local.get $1 + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 201 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.load $0 + local.tee $3 + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 203 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.const 4 + i32.add + local.get $1 + i32.load $0 + i32.const -4 + i32.and + i32.add + local.tee $4 + i32.load $0 + local.tee $2 + i32.const 1 + i32.and + if + local.get $0 + local.get $4 + call $~lib/rt/tlsf/removeBlock + local.get $1 + local.get $3 + i32.const 4 + i32.add + local.get $2 + i32.const -4 + i32.and + i32.add + local.tee $3 + i32.store $0 + local.get $1 + i32.const 4 + i32.add + local.get $1 + i32.load $0 + i32.const -4 + i32.and + i32.add + local.tee $4 + i32.load $0 + local.set $2 + end + local.get $3 + i32.const 2 + i32.and + if + local.get $1 + i32.const 4 + i32.sub + i32.load $0 + local.tee $1 + i32.load $0 + local.tee $6 + i32.const 1 + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 221 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $0 + local.get $1 + call $~lib/rt/tlsf/removeBlock + local.get $1 + local.get $6 + i32.const 4 + i32.add + local.get $3 + i32.const -4 + i32.and + i32.add + local.tee $3 + i32.store $0 + end + local.get $4 + local.get $2 + i32.const 2 + i32.or + i32.store $0 + local.get $3 + i32.const -4 + i32.and + local.tee $2 + i32.const 12 + i32.lt_u + if + i32.const 0 + i32.const 1392 + i32.const 233 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $4 + local.get $1 + i32.const 4 + i32.add + local.get $2 + i32.add + i32.ne + if + i32.const 0 + i32.const 1392 + i32.const 234 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $4 + i32.const 4 + i32.sub + local.get $1 + i32.store $0 + local.get $2 + i32.const 256 + i32.lt_u + if (result i32) + local.get $2 + i32.const 4 + i32.shr_u + else + i32.const 31 + i32.const 1073741820 + local.get $2 + local.get $2 + i32.const 1073741820 + i32.ge_u + select + local.tee $2 + i32.clz + i32.sub + local.tee $3 + i32.const 7 + i32.sub + local.set $5 + local.get $2 + local.get $3 + i32.const 4 + i32.sub + i32.shr_u + i32.const 16 + i32.xor + end + local.tee $2 + i32.const 16 + i32.lt_u + local.get $5 + i32.const 23 + i32.lt_u + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 251 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $0 + local.get $5 + i32.const 4 + i32.shl + local.get $2 + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + local.set $3 + local.get $1 + i32.const 0 + i32.store $0 offset=4 + local.get $1 + local.get $3 + i32.store $0 offset=8 + local.get $3 + if + local.get $3 + local.get $1 + i32.store $0 offset=4 + end + local.get $0 + local.get $5 + i32.const 4 + i32.shl + local.get $2 + i32.add + i32.const 2 + i32.shl + i32.add + local.get $1 + i32.store $0 offset=96 + local.get $0 + local.get $0 + i32.load $0 + i32.const 1 + local.get $5 + i32.shl + i32.or + i32.store $0 + local.get $0 + local.get $5 + i32.const 2 + i32.shl + i32.add + local.tee $0 + local.get $0 + i32.load $0 offset=4 + i32.const 1 + local.get $2 + i32.shl + i32.or + i32.store $0 offset=4 + ) + (func $~lib/rt/tlsf/addMemory (param $0 i32) (param $1 i32) (param $2 i64) + (local $3 i32) + (local $4 i32) + local.get $2 + local.get $1 + i64.extend_i32_u + i64.lt_u + if + i32.const 0 + i32.const 1392 + i32.const 382 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.const 19 + i32.add + i32.const -16 + i32.and + i32.const 4 + i32.sub + local.set $1 + local.get $0 + i32.load $0 offset=1568 + local.tee $4 + if + local.get $4 + i32.const 4 + i32.add + local.get $1 + i32.gt_u + if + i32.const 0 + i32.const 1392 + i32.const 389 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + local.get $1 + i32.const 16 + i32.sub + local.get $4 + i32.eq + if + local.get $4 + i32.load $0 + local.set $3 + local.get $1 + i32.const 16 + i32.sub + local.set $1 + end + else + local.get $0 + i32.const 1572 + i32.add + local.get $1 + i32.gt_u + if + i32.const 0 + i32.const 1392 + i32.const 402 + i32.const 5 + call $~lib/builtins/abort + unreachable + end + end + local.get $2 + i32.wrap_i64 + i32.const -16 + i32.and + local.get $1 + i32.sub + local.tee $4 + i32.const 20 + i32.lt_u + if + return + end + local.get $1 + local.get $3 + i32.const 2 + i32.and + local.get $4 + i32.const 8 + i32.sub + local.tee $3 + i32.const 1 + i32.or + i32.or + i32.store $0 + local.get $1 + i32.const 0 + i32.store $0 offset=4 + local.get $1 + i32.const 0 + i32.store $0 offset=8 + local.get $1 + i32.const 4 + i32.add + local.get $3 + i32.add + local.tee $3 + i32.const 2 + i32.store $0 + local.get $0 + local.get $3 + i32.store $0 offset=1568 + local.get $0 + local.get $1 + call $~lib/rt/tlsf/insertBlock + ) + (func $~lib/rt/tlsf/initialize + (local $0 i32) + (local $1 i32) + memory.size $0 + local.tee $1 + i32.const 0 + i32.le_s + if (result i32) + i32.const 1 + local.get $1 + i32.sub + memory.grow $0 + i32.const 0 + i32.lt_s + else + i32.const 0 + end + if + unreachable + end + i32.const 34304 + i32.const 0 + i32.store $0 + i32.const 35872 + i32.const 0 + i32.store $0 + loop $for-loop|0 + local.get $0 + i32.const 23 + i32.lt_u + if + local.get $0 + i32.const 2 + i32.shl + i32.const 34304 + i32.add + i32.const 0 + i32.store $0 offset=4 + i32.const 0 + local.set $1 + loop $for-loop|1 + local.get $1 + i32.const 16 + i32.lt_u + if + local.get $0 + i32.const 4 + i32.shl + local.get $1 + i32.add + i32.const 2 + i32.shl + i32.const 34304 + i32.add + i32.const 0 + i32.store $0 offset=96 + local.get $1 + i32.const 1 + i32.add + local.set $1 + br $for-loop|1 + end + end + local.get $0 + i32.const 1 + i32.add + local.set $0 + br $for-loop|0 + end + end + i32.const 34304 + i32.const 35876 + memory.size $0 + i64.extend_i32_s + i64.const 16 + i64.shl + call $~lib/rt/tlsf/addMemory + i32.const 34304 + global.set $~lib/rt/tlsf/ROOT + ) + (func $~lib/rt/itcms/step (result i32) + (local $0 i32) + (local $1 i32) + (local $2 i32) + block $break|0 + block $case2|0 + block $case1|0 + block $case0|0 + global.get $~lib/rt/itcms/state + br_table $case0|0 $case1|0 $case2|0 $break|0 + end + i32.const 1 + global.set $~lib/rt/itcms/state + i32.const 0 + global.set $~lib/rt/itcms/visitCount + call $~lib/rt/itcms/visitRoots + global.get $~lib/rt/itcms/toSpace + global.set $~lib/rt/itcms/iter + global.get $~lib/rt/itcms/visitCount + return + end + global.get $~lib/rt/itcms/white + i32.eqz + local.set $1 + global.get $~lib/rt/itcms/iter + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + loop $while-continue|1 + local.get $0 + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $0 + global.set $~lib/rt/itcms/iter + local.get $1 + local.get $0 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.ne + if + local.get $0 + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.get $1 + i32.or + i32.store $0 offset=4 + i32.const 0 + global.set $~lib/rt/itcms/visitCount + local.get $0 + i32.const 20 + i32.add + call $~lib/rt/__visit_members + global.get $~lib/rt/itcms/visitCount + return + end + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + br $while-continue|1 + end + end + i32.const 0 + global.set $~lib/rt/itcms/visitCount + call $~lib/rt/itcms/visitRoots + global.get $~lib/rt/itcms/toSpace + global.get $~lib/rt/itcms/iter + i32.load $0 offset=4 + i32.const -4 + i32.and + i32.eq + if + global.get $~lib/memory/__stack_pointer + local.set $0 + loop $while-continue|0 + local.get $0 + i32.const 34296 + i32.lt_u + if + local.get $0 + i32.load $0 + local.tee $2 + if + local.get $2 + call $byn-split-outlined-A$~lib/rt/itcms/__visit + end + local.get $0 + i32.const 4 + i32.add + local.set $0 + br $while-continue|0 + end + end + global.get $~lib/rt/itcms/iter + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + loop $while-continue|2 + local.get $0 + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $1 + local.get $0 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.ne + if + local.get $0 + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.get $1 + i32.or + i32.store $0 offset=4 + local.get $0 + i32.const 20 + i32.add + call $~lib/rt/__visit_members + end + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + local.set $0 + br $while-continue|2 + end + end + global.get $~lib/rt/itcms/fromSpace + local.set $0 + global.get $~lib/rt/itcms/toSpace + global.set $~lib/rt/itcms/fromSpace + local.get $0 + global.set $~lib/rt/itcms/toSpace + local.get $1 + global.set $~lib/rt/itcms/white + local.get $0 + i32.load $0 offset=4 + i32.const -4 + i32.and + global.set $~lib/rt/itcms/iter + i32.const 2 + global.set $~lib/rt/itcms/state + end + global.get $~lib/rt/itcms/visitCount + return + end + global.get $~lib/rt/itcms/iter + local.tee $0 + global.get $~lib/rt/itcms/toSpace + i32.ne + if + local.get $0 + i32.load $0 offset=4 + local.tee $1 + i32.const -4 + i32.and + global.set $~lib/rt/itcms/iter + global.get $~lib/rt/itcms/white + i32.eqz + local.get $1 + i32.const 3 + i32.and + i32.ne + if + i32.const 0 + i32.const 1120 + i32.const 229 + i32.const 20 + call $~lib/builtins/abort + unreachable + end + local.get $0 + i32.const 34296 + i32.lt_u + if + local.get $0 + i32.const 0 + i32.store $0 offset=4 + local.get $0 + i32.const 0 + i32.store $0 offset=8 + else + global.get $~lib/rt/itcms/total + local.get $0 + i32.load $0 + i32.const -4 + i32.and + i32.const 4 + i32.add + i32.sub + global.set $~lib/rt/itcms/total + local.get $0 + i32.const 4 + i32.add + local.tee $0 + i32.const 34296 + i32.ge_u + if + global.get $~lib/rt/tlsf/ROOT + i32.eqz + if + call $~lib/rt/tlsf/initialize + end + global.get $~lib/rt/tlsf/ROOT + local.set $1 + local.get $0 + i32.const 4 + i32.sub + local.set $2 + local.get $0 + i32.const 15 + i32.and + i32.const 1 + local.get $0 + select + if (result i32) + i32.const 1 + else + local.get $2 + i32.load $0 + i32.const 1 + i32.and + end + if + i32.const 0 + i32.const 1392 + i32.const 562 + i32.const 3 + call $~lib/builtins/abort + unreachable + end + local.get $2 + local.get $2 + i32.load $0 + i32.const 1 + i32.or + i32.store $0 + local.get $1 + local.get $2 + call $~lib/rt/tlsf/insertBlock + end + end + i32.const 10 + return + end + global.get $~lib/rt/itcms/toSpace + local.tee $0 + local.get $0 + i32.store $0 offset=4 + local.get $0 + local.get $0 + i32.store $0 offset=8 + i32.const 0 + global.set $~lib/rt/itcms/state + end + i32.const 0 + ) + (func $~lib/rt/tlsf/searchBlock (param $0 i32) (param $1 i32) (result i32) + (local $2 i32) + (local $3 i32) + local.get $1 + i32.const 256 + i32.lt_u + if (result i32) + local.get $1 + i32.const 4 + i32.shr_u + else + i32.const 31 + local.get $1 + i32.const 1 + i32.const 27 + local.get $1 + i32.clz + i32.sub + i32.shl + i32.add + i32.const 1 + i32.sub + local.get $1 + local.get $1 + i32.const 536870910 + i32.lt_u + select + local.tee $1 + i32.clz + i32.sub + local.tee $3 + i32.const 7 + i32.sub + local.set $2 + local.get $1 + local.get $3 + i32.const 4 + i32.sub + i32.shr_u + i32.const 16 + i32.xor + end + local.tee $1 + i32.const 16 + i32.lt_u + local.get $2 + i32.const 23 + i32.lt_u + i32.and + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 334 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $0 + local.get $2 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + i32.const -1 + local.get $1 + i32.shl + i32.and + local.tee $1 + if (result i32) + local.get $0 + local.get $1 + i32.ctz + local.get $2 + i32.const 4 + i32.shl + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + else + local.get $0 + i32.load $0 + i32.const -1 + local.get $2 + i32.const 1 + i32.add + i32.shl + i32.and + local.tee $1 + if (result i32) + local.get $0 + local.get $1 + i32.ctz + local.tee $1 + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=4 + local.tee $2 + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 347 + i32.const 18 + call $~lib/builtins/abort + unreachable + end + local.get $0 + local.get $2 + i32.ctz + local.get $1 + i32.const 4 + i32.shl + i32.add + i32.const 2 + i32.shl + i32.add + i32.load $0 offset=96 + else + i32.const 0 + end + end + ) + (func $~lib/rt/itcms/__new (param $0 i32) (param $1 i32) (result i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + local.get $0 + i32.const 1073741804 + i32.ge_u + if + i32.const 1056 + i32.const 1120 + i32.const 261 + i32.const 31 + call $~lib/builtins/abort + unreachable + end + global.get $~lib/rt/itcms/total + global.get $~lib/rt/itcms/threshold + i32.ge_u + if + block $__inlined_func$~lib/rt/itcms/interrupt + i32.const 2048 + local.set $2 + loop $do-loop|0 + local.get $2 + call $~lib/rt/itcms/step + i32.sub + local.set $2 + global.get $~lib/rt/itcms/state + i32.eqz + if + global.get $~lib/rt/itcms/total + i64.extend_i32_u + i64.const 200 + i64.mul + i64.const 100 + i64.div_u + i32.wrap_i64 + i32.const 1024 + i32.add + global.set $~lib/rt/itcms/threshold + br $__inlined_func$~lib/rt/itcms/interrupt + end + local.get $2 + i32.const 0 + i32.gt_s + br_if $do-loop|0 + end + global.get $~lib/rt/itcms/total + local.tee $2 + local.get $2 + global.get $~lib/rt/itcms/threshold + i32.sub + i32.const 1024 + i32.lt_u + i32.const 10 + i32.shl + i32.add + global.set $~lib/rt/itcms/threshold + end + end + global.get $~lib/rt/tlsf/ROOT + i32.eqz + if + call $~lib/rt/tlsf/initialize + end + global.get $~lib/rt/tlsf/ROOT + local.set $4 + local.get $0 + i32.const 16 + i32.add + local.tee $2 + i32.const 1073741820 + i32.gt_u + if + i32.const 1056 + i32.const 1392 + i32.const 461 + i32.const 29 + call $~lib/builtins/abort + unreachable + end + local.get $4 + i32.const 12 + local.get $2 + i32.const 19 + i32.add + i32.const -16 + i32.and + i32.const 4 + i32.sub + local.get $2 + i32.const 12 + i32.le_u + select + local.tee $5 + call $~lib/rt/tlsf/searchBlock + local.tee $2 + i32.eqz + if + memory.size $0 + local.tee $2 + local.get $5 + i32.const 256 + i32.ge_u + if (result i32) + local.get $5 + i32.const 1 + i32.const 27 + local.get $5 + i32.clz + i32.sub + i32.shl + i32.add + i32.const 1 + i32.sub + local.get $5 + local.get $5 + i32.const 536870910 + i32.lt_u + select + else + local.get $5 + end + i32.const 4 + local.get $4 + i32.load $0 offset=1568 + local.get $2 + i32.const 16 + i32.shl + i32.const 4 + i32.sub + i32.ne + i32.shl + i32.add + i32.const 65535 + i32.add + i32.const -65536 + i32.and + i32.const 16 + i32.shr_u + local.tee $3 + local.get $2 + local.get $3 + i32.gt_s + select + memory.grow $0 + i32.const 0 + i32.lt_s + if + local.get $3 + memory.grow $0 + i32.const 0 + i32.lt_s + if + unreachable + end + end + local.get $4 + local.get $2 + i32.const 16 + i32.shl + memory.size $0 + i64.extend_i32_s + i64.const 16 + i64.shl + call $~lib/rt/tlsf/addMemory + local.get $4 + local.get $5 + call $~lib/rt/tlsf/searchBlock + local.tee $2 + i32.eqz + if + i32.const 0 + i32.const 1392 + i32.const 499 + i32.const 16 + call $~lib/builtins/abort + unreachable + end + end + local.get $5 + local.get $2 + i32.load $0 + i32.const -4 + i32.and + i32.gt_u + if + i32.const 0 + i32.const 1392 + i32.const 501 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $4 + local.get $2 + call $~lib/rt/tlsf/removeBlock + local.get $2 + i32.load $0 + local.set $3 + local.get $5 + i32.const 4 + i32.add + i32.const 15 + i32.and + if + i32.const 0 + i32.const 1392 + i32.const 361 + i32.const 14 + call $~lib/builtins/abort + unreachable + end + local.get $3 + i32.const -4 + i32.and + local.get $5 + i32.sub + local.tee $6 + i32.const 16 + i32.ge_u + if + local.get $2 + local.get $5 + local.get $3 + i32.const 2 + i32.and + i32.or + i32.store $0 + local.get $2 + i32.const 4 + i32.add + local.get $5 + i32.add + local.tee $3 + local.get $6 + i32.const 4 + i32.sub + i32.const 1 + i32.or + i32.store $0 + local.get $4 + local.get $3 + call $~lib/rt/tlsf/insertBlock + else + local.get $2 + local.get $3 + i32.const -2 + i32.and + i32.store $0 + local.get $2 + i32.const 4 + i32.add + local.get $2 + i32.load $0 + i32.const -4 + i32.and + i32.add + local.tee $3 + local.get $3 + i32.load $0 + i32.const -3 + i32.and + i32.store $0 + end + local.get $2 + local.get $1 + i32.store $0 offset=12 + local.get $2 + local.get $0 + i32.store $0 offset=16 + global.get $~lib/rt/itcms/fromSpace + local.tee $1 + i32.load $0 offset=8 + local.set $3 + local.get $2 + local.get $1 + global.get $~lib/rt/itcms/white + i32.or + i32.store $0 offset=4 + local.get $2 + local.get $3 + i32.store $0 offset=8 + local.get $3 + local.get $2 + local.get $3 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.or + i32.store $0 offset=4 + local.get $1 + local.get $2 + i32.store $0 offset=8 + global.get $~lib/rt/itcms/total + local.get $2 + i32.load $0 + i32.const -4 + i32.and + i32.const 4 + i32.add + i32.add + global.set $~lib/rt/itcms/total + local.get $2 + i32.const 20 + i32.add + local.tee $1 + i32.const 0 + local.get $0 + memory.fill $0 + local.get $1 + ) + (func $~lib/rt/__visit_members (param $0 i32) + block $invalid + block $rt/issue-2719/issue2719_T + block $~lib/arraybuffer/ArrayBufferView + block $~lib/string/String + block $~lib/arraybuffer/ArrayBuffer + block $~lib/object/Object + local.get $0 + i32.const 8 + i32.sub + i32.load $0 + br_table $~lib/object/Object $~lib/arraybuffer/ArrayBuffer $~lib/string/String $~lib/arraybuffer/ArrayBufferView $rt/issue-2719/issue2719_T $invalid + end + return + end + return + end + return + end + local.get $0 + i32.load $0 + local.tee $0 + if + local.get $0 + call $byn-split-outlined-A$~lib/rt/itcms/__visit + end + return + end + return + end + unreachable + ) + (func $~start + (local $0 i32) + (local $1 i32) + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + block $folding-inner0 + global.get $~lib/memory/__stack_pointer + i32.const 1528 + i32.lt_s + br_if $folding-inner0 + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 + memory.size $0 + i32.const 16 + i32.shl + i32.const 34296 + i32.sub + i32.const 1 + i32.shr_u + global.set $~lib/rt/itcms/threshold + i32.const 1172 + i32.const 1168 + i32.store $0 + i32.const 1176 + i32.const 1168 + i32.store $0 + i32.const 1168 + global.set $~lib/rt/itcms/pinSpace + i32.const 1204 + i32.const 1200 + i32.store $0 + i32.const 1208 + i32.const 1200 + i32.store $0 + i32.const 1200 + global.set $~lib/rt/itcms/toSpace + i32.const 1348 + i32.const 1344 + i32.store $0 + i32.const 1352 + i32.const 1344 + i32.store $0 + i32.const 1344 + global.set $~lib/rt/itcms/fromSpace + call $rt/issue-2719/issue2719_T#constructor + local.set $0 + global.get $~lib/memory/__stack_pointer + local.get $0 + i32.store $0 + call $rt/issue-2719/issue2719_T#constructor + local.set $1 + global.get $~lib/memory/__stack_pointer + local.get $1 + i32.store $0 offset=4 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + global.get $~lib/memory/__stack_pointer + i32.const 1528 + i32.lt_s + br_if $folding-inner0 + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 + global.get $~lib/rt/itcms/state + i32.const 0 + i32.gt_s + if + loop $while-continue|0 + global.get $~lib/rt/itcms/state + if + call $~lib/rt/itcms/step + drop + br $while-continue|0 + end + end + end + call $~lib/rt/itcms/step + drop + loop $while-continue|1 + global.get $~lib/rt/itcms/state + if + call $~lib/rt/itcms/step + drop + br $while-continue|1 + end + end + global.get $~lib/rt/itcms/total + i64.extend_i32_u + i64.const 200 + i64.mul + i64.const 100 + i64.div_u + i32.wrap_i64 + i32.const 1024 + i32.add + global.set $~lib/rt/itcms/threshold + global.get $~lib/memory/__stack_pointer + call $rt/issue-2719/issue2719_T#constructor + local.tee $1 + i32.store $0 + global.get $~lib/memory/__stack_pointer + local.get $1 + i32.store $0 offset=4 + local.get $1 + i32.const 100 + i32.store $0 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.sub + global.set $~lib/memory/__stack_pointer + global.get $~lib/memory/__stack_pointer + i32.const 1528 + i32.lt_s + br_if $folding-inner0 + global.get $~lib/memory/__stack_pointer + local.tee $1 + i32.const 0 + i32.store $0 + local.get $1 + local.get $0 + i32.store $0 + local.get $0 + i32.load $0 + if + i32.const 0 + i32.const 1456 + i32.const 6 + i32.const 3 + call $~lib/builtins/abort + unreachable + end + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.add + global.set $~lib/memory/__stack_pointer + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + return + end + i32.const 34320 + i32.const 34368 + i32.const 1 + i32.const 1 + call $~lib/builtins/abort + unreachable + ) + (func $rt/issue-2719/issue2719_T#constructor (result i32) + (local $0 i32) + (local $1 i32) + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.sub + global.set $~lib/memory/__stack_pointer + block $folding-inner0 + global.get $~lib/memory/__stack_pointer + i32.const 1528 + i32.lt_s + br_if $folding-inner0 + global.get $~lib/memory/__stack_pointer + local.tee $0 + i64.const 0 + i64.store $0 + local.get $0 + i32.const 4 + i32.const 4 + call $~lib/rt/itcms/__new + local.tee $0 + i32.store $0 + global.get $~lib/memory/__stack_pointer + local.tee $1 + local.get $0 + i32.store $0 offset=4 + local.get $1 + i32.const 4 + i32.sub + global.set $~lib/memory/__stack_pointer + global.get $~lib/memory/__stack_pointer + i32.const 1528 + i32.lt_s + br_if $folding-inner0 + global.get $~lib/memory/__stack_pointer + i32.const 0 + i32.store $0 + local.get $0 + i32.eqz + if + global.get $~lib/memory/__stack_pointer + i32.const 0 + i32.const 0 + call $~lib/rt/itcms/__new + local.tee $0 + i32.store $0 + end + global.get $~lib/memory/__stack_pointer + i32.const 4 + i32.add + global.set $~lib/memory/__stack_pointer + local.get $1 + local.get $0 + i32.store $0 + global.get $~lib/memory/__stack_pointer + local.get $0 + i32.store $0 offset=4 + local.get $0 + i32.const 0 + i32.store $0 + global.get $~lib/memory/__stack_pointer + i32.const 8 + i32.add + global.set $~lib/memory/__stack_pointer + local.get $0 + return + end + i32.const 34320 + i32.const 34368 + i32.const 1 + i32.const 1 + call $~lib/builtins/abort + unreachable + ) + (func $byn-split-outlined-A$~lib/rt/itcms/__visit (param $0 i32) + global.get $~lib/rt/itcms/white + local.get $0 + i32.const 20 + i32.sub + local.tee $0 + i32.load $0 offset=4 + i32.const 3 + i32.and + i32.eq + if + local.get $0 + call $~lib/rt/itcms/Object#makeGray + global.get $~lib/rt/itcms/visitCount + i32.const 1 + i32.add + global.set $~lib/rt/itcms/visitCount + end + ) +) diff --git a/tests/compiler/rt/issue-2719.ts b/tests/compiler/rt/issue-2719.ts new file mode 100644 index 0000000000..be369ee568 --- /dev/null +++ b/tests/compiler/rt/issue-2719.ts @@ -0,0 +1,17 @@ +class issue2719_T { + v: i32 = 0; +} + +function issue2719_f1(a: i32, t: issue2719_T, b: i32): void { + assert(t.v == 0); +} + +function issue2719_f2(t: issue2719_T): i32 { + __collect(); // gc will recover the second argument issue2719_T in issue2719_f1 + let c = new issue2719_T(); + c.v = 100; + return 1; +} + +issue2719_f1(1, new issue2719_T(), issue2719_f2(new issue2719_T())); + diff --git a/tests/compiler/std/array.debug.wat b/tests/compiler/std/array.debug.wat index 07ca4f9cd1..1cf71a8daa 100644 --- a/tests/compiler/std/array.debug.wat +++ b/tests/compiler/std/array.debug.wat @@ -14218,16 +14218,13 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 i32.const 0 local.set $i local.get $this @@ -14260,7 +14257,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $6 call $~lib/array/Array#get:dataStart local.get $i @@ -14273,7 +14270,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=4 + i32.store $0 local.get $6 i32.const 3 global.set $~argumentsLength @@ -14284,7 +14281,7 @@ local.get $i local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14300,7 +14297,7 @@ i32.const -1 local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14369,16 +14366,13 @@ (local $i i32) (local $3 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $this local.set $3 global.get $~lib/memory/__stack_pointer @@ -14398,7 +14392,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $3 call $~lib/array/Array#get:dataStart local.get $i @@ -14411,7 +14405,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=4 + i32.store $0 local.get $3 i32.const 3 global.set $~argumentsLength @@ -14422,7 +14416,7 @@ local.get $i local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -14438,7 +14432,7 @@ i32.const -1 local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -14480,16 +14474,13 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 i32.const 0 local.set $i local.get $this @@ -14522,7 +14513,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $6 call $~lib/array/Array#get:dataStart local.get $i @@ -14535,7 +14526,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=4 + i32.store $0 local.get $6 i32.const 3 global.set $~argumentsLength @@ -14547,7 +14538,7 @@ i32.const 0 local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14563,7 +14554,7 @@ i32.const 1 local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14635,16 +14626,13 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 i32.const 0 local.set $i local.get $this @@ -14677,7 +14665,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $6 call $~lib/array/Array#get:dataStart local.get $i @@ -14690,7 +14678,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=4 + i32.store $0 local.get $6 i32.const 3 global.set $~argumentsLength @@ -14701,7 +14689,7 @@ i32.const 1 local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14717,7 +14705,7 @@ i32.const 0 local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -14789,16 +14777,13 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 i32.const 0 local.set $i local.get $this @@ -14831,7 +14816,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $6 call $~lib/array/Array#get:dataStart local.get $i @@ -14844,7 +14829,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=4 + i32.store $0 local.get $6 i32.const 3 global.set $~argumentsLength @@ -14859,7 +14844,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer ) @@ -15063,14 +15048,16 @@ (local $result i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.const 20 - memory.fill $0 + i64.const 0 + i64.store $0 + global.get $~lib/memory/__stack_pointer + i64.const 0 + i64.store $0 offset=8 local.get $this local.set $9 global.get $~lib/memory/__stack_pointer @@ -15120,7 +15107,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 call $~lib/array/Array#get:dataStart local.get $i @@ -15133,7 +15120,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=8 + i32.store $0 local.get $9 i32.const 3 global.set $~argumentsLength @@ -15141,7 +15128,7 @@ i32.load $0 call_indirect $0 (type $i32_i32_i32_=>_i32) local.tee $result - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $outStart local.get $i i32.const 2 @@ -15165,7 +15152,7 @@ local.get $out local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -15181,7 +15168,7 @@ (local $result f32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -15189,8 +15176,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $this local.set $9 global.get $~lib/memory/__stack_pointer @@ -15239,7 +15226,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 call $~lib/array/Array#get:dataStart local.get $i @@ -15252,7 +15239,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=8 + i32.store $0 local.get $9 i32.const 3 global.set $~argumentsLength @@ -15279,7 +15266,7 @@ local.get $out local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -15327,7 +15314,7 @@ (local $result i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -15335,8 +15322,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $this local.set $9 global.get $~lib/memory/__stack_pointer @@ -15385,7 +15372,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 call $~lib/array/Array#get:dataStart local.get $i @@ -15398,7 +15385,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=8 + i32.store $0 local.get $9 i32.const 3 global.set $~argumentsLength @@ -15425,7 +15412,7 @@ local.get $out local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -15471,7 +15458,7 @@ (local $value i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -15480,9 +15467,6 @@ i64.store $0 global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 - global.get $~lib/memory/__stack_pointer - i32.const 0 i32.const 2 i32.const 4 i32.const 0 @@ -15536,7 +15520,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $8 i32.const 3 global.set $~argumentsLength @@ -15564,7 +15548,7 @@ local.get $result local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -15645,16 +15629,13 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $initialValue local.set $acc i32.const 0 @@ -15690,7 +15671,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $8 call $~lib/array/Array#get:dataStart local.get $i @@ -15703,7 +15684,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 i32.const 4 global.set $~argumentsLength @@ -15721,7 +15702,7 @@ local.get $acc local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -15735,16 +15716,13 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $initialValue local.set $acc i32.const 0 @@ -15780,7 +15758,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $8 call $~lib/array/Array#get:dataStart local.get $i @@ -15793,7 +15771,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 i32.const 4 global.set $~argumentsLength @@ -15811,7 +15789,7 @@ local.get $acc local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -15881,16 +15859,13 @@ (local $i i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $initialValue local.set $acc local.get $this @@ -15913,7 +15888,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $5 call $~lib/array/Array#get:dataStart local.get $i @@ -15926,7 +15901,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 local.get $5 i32.const 4 global.set $~argumentsLength @@ -15944,7 +15919,7 @@ local.get $acc local.set $5 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -15955,16 +15930,13 @@ (local $i i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $initialValue local.set $acc local.get $this @@ -15987,7 +15959,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $5 call $~lib/array/Array#get:dataStart local.get $i @@ -16000,7 +15972,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 local.get $5 i32.const 4 global.set $~argumentsLength @@ -16018,7 +15990,7 @@ local.get $acc local.set $5 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -16244,16 +16216,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -16263,7 +16232,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16369,7 +16338,7 @@ select f32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16388,7 +16357,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16455,7 +16424,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -16510,7 +16479,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -16590,7 +16559,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -16667,7 +16636,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -16683,7 +16652,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -16818,16 +16787,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -16837,7 +16803,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16943,7 +16909,7 @@ select f64.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16962,7 +16928,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -17029,7 +16995,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -17084,7 +17050,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -17164,7 +17130,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -17241,7 +17207,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -17257,7 +17223,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -17663,16 +17629,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -17682,7 +17645,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -17788,7 +17751,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -17807,7 +17770,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -17874,7 +17837,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -17929,7 +17892,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -18009,7 +17972,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -18086,7 +18049,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -18102,7 +18065,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -18235,16 +18198,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -18254,7 +18214,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -18360,7 +18320,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -18379,7 +18339,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -18446,7 +18406,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -18501,7 +18461,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -18581,7 +18541,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -18658,7 +18618,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -18674,7 +18634,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -19940,13 +19900,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 local.get $len i32.const 48 @@ -19957,7 +19917,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -20105,7 +20065,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -20120,11 +20080,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -20191,7 +20151,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -20222,7 +20182,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort end @@ -20246,7 +20206,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -20281,7 +20241,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort end @@ -20326,7 +20286,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -20403,7 +20363,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns end @@ -20419,7 +20379,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -21677,13 +21637,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 local.get $len i32.const 48 @@ -21694,7 +21654,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -21842,7 +21802,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -21857,11 +21817,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/array/Array> global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -21928,7 +21888,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/array/Array> local.set $endA @@ -21959,7 +21919,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/array/Array> end @@ -21983,7 +21943,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/array/Array> local.set $endB @@ -22018,7 +21978,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/array/Array> end @@ -22063,7 +22023,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/array/Array> local.get $start @@ -22140,7 +22100,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/array/Array> end @@ -22156,7 +22116,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -23432,13 +23392,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 local.get $len i32.const 48 @@ -23449,7 +23409,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -23597,7 +23557,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -23612,11 +23572,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort> global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -23683,7 +23643,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight> local.set $endA @@ -23714,7 +23674,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort> end @@ -23738,7 +23698,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight> local.set $endB @@ -23773,7 +23733,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort> end @@ -23818,7 +23778,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns> local.get $start @@ -23895,7 +23855,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns> end @@ -23911,7 +23871,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -24844,13 +24804,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 local.get $len i32.const 48 @@ -24861,7 +24821,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -25009,7 +24969,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -25024,11 +24984,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String|null> global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -25095,7 +25055,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/string/String|null> local.set $endA @@ -25126,7 +25086,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String|null> end @@ -25150,7 +25110,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/string/String|null> local.set $endB @@ -25185,7 +25145,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String|null> end @@ -25230,7 +25190,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/string/String|null> local.get $start @@ -25307,7 +25267,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/string/String|null> end @@ -25323,7 +25283,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -27198,13 +27158,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 local.get $len i32.const 48 @@ -27215,7 +27175,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -27363,7 +27323,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -27378,11 +27338,11 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String> global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return @@ -27449,7 +27409,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/string/String> local.set $endA @@ -27480,7 +27440,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String> end @@ -27504,7 +27464,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/extendRunRight<~lib/string/String> local.set $endB @@ -27539,7 +27499,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/insertionSort<~lib/string/String> end @@ -27584,7 +27544,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/string/String> local.get $start @@ -27661,7 +27621,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $34 call $~lib/util/sort/mergeRuns<~lib/string/String> end @@ -27677,7 +27637,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -28495,13 +28455,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -28526,12 +28486,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinBooleanArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -28721,13 +28681,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -28754,12 +28714,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -28949,13 +28909,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -28982,12 +28942,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -29167,13 +29127,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -29202,12 +29162,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinFloatArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -29448,13 +29408,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -29489,12 +29449,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinStringArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -29694,13 +29654,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -29737,12 +29697,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -29942,13 +29902,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -29985,12 +29945,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -30211,13 +30171,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -30244,12 +30204,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -30470,13 +30430,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -30503,12 +30463,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -30729,13 +30689,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -30762,12 +30722,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -30988,13 +30948,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -31021,12 +30981,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -31249,13 +31209,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -31282,12 +31242,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -31549,13 +31509,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -31592,12 +31552,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray<~lib/array/Array> local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -31891,13 +31851,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -31924,12 +31884,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinIntegerArray local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -32160,13 +32120,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -32203,12 +32163,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray<~lib/array/Array> local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -32616,13 +32576,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -32659,12 +32619,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray<~lib/array/Array> local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -32895,13 +32855,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $4 global.get $~lib/memory/__stack_pointer @@ -32938,12 +32898,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 call $~lib/util/string/joinReferenceArray<~lib/array/Array<~lib/array/Array>> local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -33490,16 +33450,14 @@ (local $result i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.const 20 + memory.fill $0 local.get $this local.set $9 global.get $~lib/memory/__stack_pointer @@ -33549,7 +33507,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $9 call $~lib/array/Array<~lib/array/Array>#get:dataStart local.get $i @@ -33575,7 +33533,7 @@ i32.load $0 call_indirect $0 (type $i32_i32_i32_=>_i32) local.tee $result - i32.store $0 offset=12 + i32.store $0 offset=16 local.get $outStart local.get $i i32.const 2 @@ -33599,7 +33557,7 @@ local.get $out local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $9 diff --git a/tests/compiler/std/array.release.wat b/tests/compiler/std/array.release.wat index bfbd7b033c..80194460d7 100644 --- a/tests/compiler/std/array.release.wat +++ b/tests/compiler/std/array.release.wat @@ -9754,7 +9754,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -9773,9 +9773,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 local.get $0 i32.store $0 local.get $0 @@ -9799,7 +9796,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $2 @@ -9810,7 +9807,7 @@ local.set $5 local.get $4 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $5 @@ -9821,7 +9818,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -9835,7 +9832,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const -1 @@ -9913,7 +9910,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -9932,9 +9929,6 @@ i64.const 0 i64.store $0 local.get $2 - i32.const 0 - i32.store $0 offset=8 - local.get $2 local.get $0 i32.store $0 local.get $0 @@ -9950,7 +9944,7 @@ global.get $~lib/memory/__stack_pointer local.tee $3 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $2 @@ -9961,7 +9955,7 @@ local.set $4 local.get $3 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -9972,7 +9966,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -9986,7 +9980,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const -1 @@ -9997,7 +9991,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10016,9 +10010,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 local.get $0 i32.store $0 local.get $0 @@ -10042,7 +10033,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $2 @@ -10053,7 +10044,7 @@ local.set $5 local.get $4 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $5 @@ -10065,7 +10056,7 @@ i32.eqz if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const 0 @@ -10079,7 +10070,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const 1 @@ -10158,7 +10149,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10177,9 +10168,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 local.get $0 i32.store $0 local.get $0 @@ -10203,7 +10191,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $2 @@ -10214,7 +10202,7 @@ local.set $5 local.get $4 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $5 @@ -10225,7 +10213,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const 1 @@ -10239,7 +10227,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer i32.const 0 @@ -10318,7 +10306,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10337,9 +10325,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 local.get $0 i32.store $0 local.get $0 @@ -10363,7 +10348,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $2 @@ -10374,7 +10359,7 @@ local.set $5 local.get $4 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $5 @@ -10391,7 +10376,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer ) @@ -10635,7 +10620,7 @@ (local $6 i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10654,8 +10639,8 @@ i64.const 0 i64.store $0 local.get $3 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $3 local.get $0 i32.store $0 @@ -10693,7 +10678,7 @@ global.get $~lib/memory/__stack_pointer local.tee $6 local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $2 i32.const 2 i32.shl @@ -10705,7 +10690,7 @@ local.set $3 local.get $6 local.get $0 - i32.store $0 offset=8 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $5 @@ -10726,7 +10711,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -10773,7 +10758,7 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10793,9 +10778,6 @@ i64.store $0 local.get $3 i32.const 0 - i32.store $0 offset=8 - local.get $3 - i32.const 0 i32.const 2 i32.const 4 i32.const 0 @@ -10837,7 +10819,7 @@ local.set $6 local.get $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 i32.const 3 global.set $~argumentsLength local.get $6 @@ -10862,7 +10844,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -10949,7 +10931,7 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -10968,9 +10950,6 @@ i64.const 0 i64.store $0 local.get $4 - i32.const 0 - i32.store $0 offset=8 - local.get $4 local.get $0 i32.store $0 local.get $0 @@ -10994,7 +10973,7 @@ global.get $~lib/memory/__stack_pointer local.tee $5 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $3 @@ -11005,7 +10984,7 @@ local.set $6 local.get $5 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 4 global.set $~argumentsLength local.get $2 @@ -11024,7 +11003,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -11102,7 +11081,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -11121,9 +11100,6 @@ i64.const 0 i64.store $0 local.get $3 - i32.const 0 - i32.store $0 offset=8 - local.get $3 local.get $0 i32.store $0 local.get $0 @@ -11139,7 +11115,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $0 i32.load $0 offset=4 local.get $3 @@ -11150,7 +11126,7 @@ local.set $5 local.get $4 local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 4 global.set $~argumentsLength local.get $2 @@ -11169,7 +11145,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -11271,7 +11247,7 @@ (local $16 f32) (local $17 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -11286,12 +11262,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -11464,7 +11436,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -11507,7 +11479,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -11597,7 +11569,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -11666,7 +11638,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -11687,13 +11659,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -11803,7 +11775,7 @@ (local $16 f64) (local $17 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -11818,12 +11790,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -11996,7 +11964,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -12039,7 +12007,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -12129,7 +12097,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -12198,7 +12166,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -12219,13 +12187,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -12298,7 +12266,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -12313,12 +12281,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -12491,7 +12455,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -12534,7 +12498,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -12624,7 +12588,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -12693,7 +12657,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -12714,13 +12678,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -12786,7 +12750,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -12801,12 +12765,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -12979,7 +12939,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -13022,7 +12982,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -13112,7 +13072,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -13181,7 +13141,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -13202,13 +13162,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -14131,7 +14091,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -14147,7 +14107,7 @@ end global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 24 memory.fill $0 block $folding-inner0 local.get $1 @@ -14284,7 +14244,7 @@ end global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $0 i32.const 0 local.get $1 @@ -14354,7 +14314,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $0 i32.const 0 local.get $1 @@ -14372,7 +14332,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $0 i32.const 0 i32.const 31 @@ -14397,7 +14357,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=28 + i32.store $0 offset=8 local.get $0 local.get $5 i32.const 1 @@ -14417,7 +14377,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=24 + i32.store $0 offset=8 local.get $0 local.get $6 local.get $9 @@ -14487,7 +14447,7 @@ local.set $1 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $0 local.get $8 local.get $1 @@ -14556,7 +14516,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=32 + i32.store $0 offset=8 local.get $0 local.get $1 local.get $3 @@ -14577,13 +14537,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -15664,7 +15624,7 @@ (local $6 i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -15674,8 +15634,8 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer local.tee $5 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $5 local.get $0 i32.store $0 @@ -15690,7 +15650,7 @@ local.set $0 local.get $5 local.get $1 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinIntegerArray (result i32) local.get $5 i32.const 8 @@ -15838,7 +15798,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -15859,7 +15819,7 @@ (local $6 i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -15869,8 +15829,8 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer local.tee $5 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $5 local.get $0 i32.store $0 @@ -15885,7 +15845,7 @@ local.set $0 local.get $5 local.get $1 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinIntegerArray (result i32) local.get $5 i32.const 8 @@ -16033,7 +15993,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -16501,7 +16461,7 @@ (local $2 i32) (local $3 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -16517,8 +16477,8 @@ end global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -16533,14 +16493,14 @@ local.set $0 local.get $2 local.get $1 - i32.store $0 offset=4 + i32.store $0 local.get $3 local.get $0 local.get $1 call $~lib/util/string/joinStringArray local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -16553,7 +16513,7 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner0 @@ -16563,8 +16523,8 @@ br_if $folding-inner0 global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -16579,7 +16539,7 @@ local.set $0 local.get $2 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinReferenceArray (result i32) local.get $2 i32.const 20 @@ -16738,7 +16698,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -16815,7 +16775,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $3 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -16824,8 +16784,8 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer local.tee $4 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $4 local.get $0 i32.store $0 @@ -16840,7 +16800,7 @@ local.set $0 local.get $4 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinIntegerArray (result i32) local.get $4 i32.const 8 @@ -16982,7 +16942,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17375,7 +17335,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $3 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17384,8 +17344,8 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer local.tee $4 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $4 local.get $0 i32.store $0 @@ -17400,7 +17360,7 @@ local.set $0 local.get $4 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinIntegerArray (result i32) local.get $4 i32.const 8 @@ -17542,7 +17502,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17623,7 +17583,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $2 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17632,8 +17592,8 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer local.tee $3 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $3 local.get $0 i32.store $0 @@ -17648,7 +17608,7 @@ local.set $0 local.get $3 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 block $__inlined_func$~lib/util/string/joinReferenceArray<~lib/array/Array> (result i32) local.get $3 i32.const 20 @@ -17814,7 +17774,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -24907,7 +24867,7 @@ i32.const 9296 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 16 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -24916,9 +24876,11 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $1 - i32.const 0 - i32.const 20 - memory.fill $0 + i64.const 0 + i64.store $0 + local.get $1 + i64.const 0 + i64.store $0 offset=8 local.get $1 local.get $3 i32.store $0 @@ -24958,7 +24920,7 @@ global.get $~lib/memory/__stack_pointer local.tee $10 local.get $3 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $1 i32.const 2 i32.shl @@ -24970,7 +24932,7 @@ local.set $12 local.get $10 local.get $3 - i32.store $0 offset=8 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $10 @@ -24981,7 +24943,7 @@ i32.load $0 call_indirect $0 (type $i32_i32_i32_=>_i32) local.tee $10 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $9 local.get $11 i32.add @@ -25002,7 +24964,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 16 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -25018,7 +24980,7 @@ i32.const 9328 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -25030,8 +24992,8 @@ i64.const 0 i64.store $0 local.get $1 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $1 local.get $3 i32.store $0 @@ -25071,7 +25033,7 @@ global.get $~lib/memory/__stack_pointer local.tee $10 local.get $3 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $1 i32.const 2 i32.shl @@ -25083,7 +25045,7 @@ local.set $12 local.get $10 local.get $3 - i32.store $0 offset=8 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $9 @@ -25104,7 +25066,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -28347,7 +28309,7 @@ i32.const 11856 i32.store $0 offset=352 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -28356,8 +28318,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $3 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $3 local.get $0 i32.store $0 @@ -28372,7 +28334,7 @@ local.set $0 local.get $3 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $2 i32.const 0 @@ -28544,7 +28506,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -28684,7 +28646,7 @@ i32.const 12288 i32.store $0 offset=352 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -28693,8 +28655,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $1 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $1 local.get $0 i32.store $0 @@ -28709,13 +28671,13 @@ local.set $0 local.get $1 i32.const 12288 - i32.store $0 offset=4 + i32.store $0 local.get $2 local.get $0 call $~lib/util/string/joinFloatArray local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29098,7 +29060,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29107,8 +29069,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -29123,7 +29085,7 @@ local.set $3 local.get $2 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $0 i32.const 0 @@ -29271,7 +29233,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29325,7 +29287,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29334,8 +29296,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -29350,7 +29312,7 @@ local.set $3 local.get $2 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $0 i32.const 0 @@ -29498,7 +29460,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29582,7 +29544,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29591,8 +29553,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $1 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $1 local.get $0 i32.store $0 @@ -29607,13 +29569,13 @@ local.set $0 local.get $1 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 local.get $2 local.get $0 call $~lib/util/string/joinIntegerArray local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29667,7 +29629,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -29676,8 +29638,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -29692,7 +29654,7 @@ local.set $3 local.get $2 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $0 i32.const 0 @@ -30023,7 +29985,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30164,7 +30126,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $0 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30173,8 +30135,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $0 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $0 local.get $1 i32.store $0 @@ -30189,7 +30151,7 @@ local.set $3 local.get $0 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $1 local.get $0 @@ -30355,7 +30317,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30434,7 +30396,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $0 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30443,8 +30405,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $0 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $0 local.get $1 i32.store $0 @@ -30459,7 +30421,7 @@ local.set $3 local.get $0 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $1 local.get $0 @@ -30625,7 +30587,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30712,7 +30674,7 @@ i32.const 11856 i32.store $0 offset=4 local.get $0 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -30721,8 +30683,8 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $0 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $0 local.get $1 i32.store $0 @@ -30737,7 +30699,7 @@ local.set $3 local.get $0 i32.const 11856 - i32.store $0 offset=4 + i32.store $0 i32.const 0 local.set $1 local.get $0 @@ -30903,7 +30865,7 @@ global.set $~lib/memory/__stack_pointer end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -31414,7 +31376,7 @@ i32.const 15984 i32.store $0 offset=52 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -31423,11 +31385,9 @@ br_if $folding-inner2 global.get $~lib/memory/__stack_pointer local.tee $1 - i64.const 0 - i64.store $0 - local.get $1 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.const 20 + memory.fill $0 local.get $1 local.get $2 i32.store $0 @@ -31467,7 +31427,7 @@ global.get $~lib/memory/__stack_pointer local.tee $9 local.get $2 - i32.store $0 offset=8 + i32.store $0 offset=12 local.get $9 local.get $1 i32.const 2 @@ -31492,7 +31452,7 @@ i32.load $0 call_indirect $0 (type $i32_i32_i32_=>_i32) local.tee $9 - i32.store $0 offset=12 + i32.store $0 offset=16 local.get $8 local.get $10 i32.add @@ -31513,7 +31473,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer diff --git a/tests/compiler/std/arraybuffer.debug.wat b/tests/compiler/std/arraybuffer.debug.wat index 2021918c55..8a91cfb438 100644 --- a/tests/compiler/std/arraybuffer.debug.wat +++ b/tests/compiler/std/arraybuffer.debug.wat @@ -3376,13 +3376,13 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 20 + i32.const 24 memory.fill $0 memory.size $0 i32.const 16 @@ -3827,7 +3827,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=16 + i32.store $0 offset=20 local.get $5 call $~lib/arraybuffer/ArrayBufferView#get:buffer local.set $5 @@ -3859,7 +3859,7 @@ global.set $~lib/memory/__stack_pointer call $~lib/rt/itcms/__collect global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/std/arraybuffer.release.wat b/tests/compiler/std/arraybuffer.release.wat index 9080c7e14f..deba42487f 100644 --- a/tests/compiler/std/arraybuffer.release.wat +++ b/tests/compiler/std/arraybuffer.release.wat @@ -1852,7 +1852,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -1863,7 +1863,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 i32.const 0 - i32.const 20 + i32.const 24 memory.fill $0 memory.size $0 i32.const 16 @@ -2352,7 +2352,7 @@ i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=16 + i32.store $0 offset=20 global.get $~lib/memory/__stack_pointer local.get $3 i32.load $0 @@ -2534,7 +2534,7 @@ i32.add global.set $~lib/rt/itcms/threshold global.get $~lib/memory/__stack_pointer - i32.const 20 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer return diff --git a/tests/compiler/std/console.debug.wat b/tests/compiler/std/console.debug.wat index e39c7486b3..42f358de18 100644 --- a/tests/compiler/std/console.debug.wat +++ b/tests/compiler/std/console.debug.wat @@ -255,13 +255,13 @@ (func $start:std/console (local $0 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 i32.const 32 local.set $0 @@ -282,116 +282,116 @@ local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.log i32.const 144 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.debug i32.const 192 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.info i32.const 240 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.warn i32.const 288 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.error i32.const 336 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.time i32.const 336 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.timeLog i32.const 336 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.timeEnd i32.const 384 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.timeLog i32.const 384 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.timeEnd i32.const 432 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.time i32.const 432 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.time i32.const 480 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.log i32.const 512 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.log i32.const 544 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.log i32.const 576 local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 local.get $0 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/std/console.release.wat b/tests/compiler/std/console.release.wat index ce34d94bb7..17a3804d41 100644 --- a/tests/compiler/std/console.release.wat +++ b/tests/compiler/std/console.release.wat @@ -48,7 +48,7 @@ (func $~start (local $0 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner0 @@ -58,8 +58,8 @@ br_if $folding-inner0 global.get $~lib/memory/__stack_pointer local.tee $0 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $0 i32.const 1056 i32.store $0 @@ -74,12 +74,12 @@ call $~lib/console/console.assert global.get $~lib/memory/__stack_pointer i32.const 1120 - i32.store $0 offset=4 + i32.store $0 i32.const 1120 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer i32.const 1168 - i32.store $0 offset=4 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 4 i32.sub @@ -103,7 +103,7 @@ global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer i32.const 1216 - i32.store $0 offset=4 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 4 i32.sub @@ -127,7 +127,7 @@ global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer i32.const 1264 - i32.store $0 offset=4 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 4 i32.sub @@ -151,7 +151,7 @@ global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer i32.const 1312 - i32.store $0 offset=4 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 4 i32.sub @@ -175,61 +175,61 @@ global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer i32.const 1360 - i32.store $0 offset=4 + i32.store $0 i32.const 1360 call $~lib/console/console.time global.get $~lib/memory/__stack_pointer i32.const 1360 - i32.store $0 offset=4 + i32.store $0 i32.const 1360 call $~lib/console/console.timeLog global.get $~lib/memory/__stack_pointer i32.const 1360 - i32.store $0 offset=4 + i32.store $0 i32.const 1360 call $~lib/console/console.timeEnd global.get $~lib/memory/__stack_pointer i32.const 1408 - i32.store $0 offset=4 + i32.store $0 i32.const 1408 call $~lib/console/console.timeLog global.get $~lib/memory/__stack_pointer i32.const 1408 - i32.store $0 offset=4 + i32.store $0 i32.const 1408 call $~lib/console/console.timeEnd global.get $~lib/memory/__stack_pointer i32.const 1456 - i32.store $0 offset=4 + i32.store $0 i32.const 1456 call $~lib/console/console.time global.get $~lib/memory/__stack_pointer i32.const 1456 - i32.store $0 offset=4 + i32.store $0 i32.const 1456 call $~lib/console/console.time global.get $~lib/memory/__stack_pointer i32.const 1504 - i32.store $0 offset=4 + i32.store $0 i32.const 1504 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer i32.const 1536 - i32.store $0 offset=4 + i32.store $0 i32.const 1536 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer i32.const 1568 - i32.store $0 offset=4 + i32.store $0 i32.const 1568 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer i32.const 1600 - i32.store $0 offset=4 + i32.store $0 i32.const 1600 call $~lib/console/console.log global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return diff --git a/tests/compiler/std/dataview.debug.wat b/tests/compiler/std/dataview.debug.wat index 129a593460..1fd092614d 100644 --- a/tests/compiler/std/dataview.debug.wat +++ b/tests/compiler/std/dataview.debug.wat @@ -4342,7 +4342,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $2 local.get $0 local.set $2 @@ -6541,7 +6541,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $2 i32.const 0 i32.const 1 diff --git a/tests/compiler/std/dataview.release.wat b/tests/compiler/std/dataview.release.wat index 5d6b455034..b660db363b 100644 --- a/tests/compiler/std/dataview.release.wat +++ b/tests/compiler/std/dataview.release.wat @@ -3308,7 +3308,7 @@ local.get $2 i32.load $0 local.tee $3 - i32.store $0 offset=8 + i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer local.get $2 i32.store $0 offset=8 @@ -5232,7 +5232,7 @@ local.get $2 i32.load $0 local.tee $2 - i32.store $0 offset=8 + i32.store $0 offset=4 i32.const 1 global.set $~argumentsLength local.get $0 diff --git a/tests/compiler/std/date.debug.wat b/tests/compiler/std/date.debug.wat index bcef75a417..3557776ad2 100644 --- a/tests/compiler/std/date.debug.wat +++ b/tests/compiler/std/date.debug.wat @@ -5143,13 +5143,13 @@ (local $18 i32) (local $19 i32) global.get $~lib/memory/__stack_pointer - i32.const 68 + i32.const 64 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 68 + i32.const 64 memory.fill $0 local.get $this local.set $19 @@ -5319,7 +5319,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5333,7 +5333,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5347,7 +5347,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5361,7 +5361,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5375,7 +5375,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5389,7 +5389,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5403,7 +5403,7 @@ local.set $19 global.get $~lib/memory/__stack_pointer local.get $19 - i32.store $0 offset=64 + i32.store $0 offset=4 local.get $19 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2592 @@ -5421,7 +5421,7 @@ call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $19 global.get $~lib/memory/__stack_pointer - i32.const 68 + i32.const 64 i32.add global.set $~lib/memory/__stack_pointer local.get $19 @@ -5545,13 +5545,13 @@ (local $19 i32) (local $20 i32) global.get $~lib/memory/__stack_pointer - i32.const 56 + i32.const 52 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 56 + i32.const 52 memory.fill $0 global.get $~lib/memory/__stack_pointer i32.const 28 @@ -5747,12 +5747,12 @@ local.set $20 global.get $~lib/memory/__stack_pointer local.get $20 - i32.store $0 offset=52 + i32.store $0 offset=48 local.get $20 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $20 global.get $~lib/memory/__stack_pointer - i32.const 56 + i32.const 52 i32.add global.set $~lib/memory/__stack_pointer local.get $20 @@ -5767,13 +5767,13 @@ (local $6 i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 32 memory.fill $0 global.get $~lib/memory/__stack_pointer local.get $this @@ -5875,12 +5875,12 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=32 + i32.store $0 offset=28 local.get $7 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -5914,13 +5914,13 @@ (local $25 i32) (local $26 i32) global.get $~lib/memory/__stack_pointer - i32.const 80 + i32.const 76 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 80 + i32.const 76 memory.fill $0 global.get $~lib/memory/__stack_pointer i32.const 28 @@ -6206,12 +6206,12 @@ local.set $26 global.get $~lib/memory/__stack_pointer local.get $26 - i32.store $0 offset=76 + i32.store $0 offset=72 local.get $26 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $26 global.get $~lib/memory/__stack_pointer - i32.const 80 + i32.const 76 i32.add global.set $~lib/memory/__stack_pointer local.get $26 diff --git a/tests/compiler/std/date.release.wat b/tests/compiler/std/date.release.wat index 51c30d67aa..ecc147d17d 100644 --- a/tests/compiler/std/date.release.wat +++ b/tests/compiler/std/date.release.wat @@ -3651,8 +3651,8 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 68 - i32.sub + i32.const -64 + i32.add global.set $~lib/memory/__stack_pointer block $folding-inner0 global.get $~lib/memory/__stack_pointer @@ -3662,7 +3662,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 68 + i32.const 64 memory.fill $0 local.get $2 local.get $0 @@ -3885,7 +3885,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 0 local.get $1 @@ -3895,7 +3895,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 2 local.get $2 @@ -3905,7 +3905,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 4 local.get $3 @@ -3915,7 +3915,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 6 local.get $4 @@ -3925,7 +3925,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 8 local.get $5 @@ -3935,7 +3935,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 10 local.get $6 @@ -3945,7 +3945,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=64 + i32.store $0 offset=4 i32.const 3616 i32.const 12 local.get $0 @@ -3960,8 +3960,8 @@ call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 68 - i32.add + i32.const -64 + i32.sub global.set $~lib/memory/__stack_pointer local.get $0 return @@ -4071,7 +4071,7 @@ (local $6 i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 56 + i32.const 52 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4088,7 +4088,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 i32.const 0 - i32.const 56 + i32.const 52 memory.fill $0 i32.const 28 i32.const 5 @@ -4305,12 +4305,12 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer i32.const 3456 - i32.store $0 offset=52 + i32.store $0 offset=48 i32.const 5152 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 56 + i32.const 52 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -4319,7 +4319,7 @@ (local $1 i32) (local $2 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4336,7 +4336,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 i32.const 0 - i32.const 36 + i32.const 32 memory.fill $0 local.get $1 local.get $0 @@ -4412,12 +4412,12 @@ i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 3456 - i32.store $0 offset=32 + i32.store $0 offset=28 i32.const 5456 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -4432,7 +4432,7 @@ (local $7 i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 80 + i32.const 76 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4449,7 +4449,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 i32.const 0 - i32.const 80 + i32.const 76 memory.fill $0 i32.const 28 i32.const 5 @@ -4735,12 +4735,12 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer i32.const 3456 - i32.store $0 offset=76 + i32.store $0 offset=72 i32.const 6368 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 80 + i32.const 76 i32.add global.set $~lib/memory/__stack_pointer local.get $0 diff --git a/tests/compiler/std/staticarray.debug.wat b/tests/compiler/std/staticarray.debug.wat index 46165bea4d..46375ecaea 100644 --- a/tests/compiler/std/staticarray.debug.wat +++ b/tests/compiler/std/staticarray.debug.wat @@ -5972,16 +5972,13 @@ (local $result i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 local.get $this local.set $7 global.get $~lib/memory/__stack_pointer @@ -6024,7 +6021,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=8 + i32.store $0 local.get $7 i32.const 3 global.set $~argumentsLength @@ -6051,7 +6048,7 @@ local.get $out local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -6062,13 +6059,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $i local.get $this @@ -6095,7 +6092,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 i32.const 3 global.set $~argumentsLength @@ -6110,7 +6107,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -6301,7 +6298,7 @@ (local $value i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -6310,9 +6307,6 @@ i64.store $0 global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 - global.get $~lib/memory/__stack_pointer - i32.const 0 i32.const 2 i32.const 7 i32.const 0 @@ -6347,7 +6341,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $6 i32.const 3 global.set $~argumentsLength @@ -6375,7 +6369,7 @@ local.get $result local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -6387,13 +6381,13 @@ (local $len i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $initialValue local.set $acc i32.const 0 @@ -6423,7 +6417,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=4 + i32.store $0 local.get $6 i32.const 4 global.set $~argumentsLength @@ -6441,7 +6435,7 @@ local.get $acc local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -6452,13 +6446,13 @@ (local $i i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $initialValue local.set $acc local.get $this @@ -6488,7 +6482,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 local.get $5 i32.const 4 global.set $~argumentsLength @@ -6506,7 +6500,7 @@ local.get $acc local.set $5 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -6517,13 +6511,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $i local.get $this @@ -6550,7 +6544,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 i32.const 3 global.set $~argumentsLength @@ -6561,7 +6555,7 @@ i32.const 1 local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6577,7 +6571,7 @@ i32.const 0 local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6588,13 +6582,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $i local.get $this @@ -6621,7 +6615,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 i32.const 3 global.set $~argumentsLength @@ -6633,7 +6627,7 @@ i32.const 0 local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6649,7 +6643,7 @@ i32.const 1 local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6660,13 +6654,13 @@ (local $len i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $i local.get $this @@ -6693,7 +6687,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=4 + i32.store $0 local.get $4 i32.const 3 global.set $~argumentsLength @@ -6704,7 +6698,7 @@ local.get $i local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6720,7 +6714,7 @@ i32.const -1 local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6730,13 +6724,13 @@ (local $i i32) (local $3 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $this local.set $3 global.get $~lib/memory/__stack_pointer @@ -6763,7 +6757,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=4 + i32.store $0 local.get $3 i32.const 3 global.set $~argumentsLength @@ -6774,7 +6768,7 @@ local.get $i local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -6790,7 +6784,7 @@ i32.const -1 local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -6830,16 +6824,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -6849,7 +6840,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -6955,7 +6946,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -6974,7 +6965,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -7041,7 +7032,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -7096,7 +7087,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -7176,7 +7167,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -7253,7 +7244,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -7269,7 +7260,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/std/staticarray.release.wat b/tests/compiler/std/staticarray.release.wat index e074cbf905..47b2b837b5 100644 --- a/tests/compiler/std/staticarray.release.wat +++ b/tests/compiler/std/staticarray.release.wat @@ -3990,7 +3990,7 @@ (local $9 i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -4004,9 +4004,6 @@ i64.store $0 local.get $1 i32.const 0 - i32.store $0 offset=8 - local.get $1 - i32.const 0 i32.const 7 i32.const 0 call $~lib/rt/__newArray @@ -4036,7 +4033,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=4 i32.const 3 global.set $~argumentsLength local.get $9 @@ -4227,7 +4224,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -4245,7 +4242,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4261,8 +4258,8 @@ end global.get $~lib/memory/__stack_pointer local.tee $3 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $3 local.get $0 i32.store $0 @@ -4287,7 +4284,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -4298,7 +4295,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const 1 @@ -4312,7 +4309,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const 0 @@ -4322,7 +4319,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4338,8 +4335,8 @@ end global.get $~lib/memory/__stack_pointer local.tee $3 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $3 local.get $0 i32.store $0 @@ -4364,7 +4361,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -4376,7 +4373,7 @@ i32.eqz if global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const 0 @@ -4390,7 +4387,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const 1 @@ -4400,7 +4397,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4416,8 +4413,8 @@ end global.get $~lib/memory/__stack_pointer local.tee $3 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $3 local.get $0 i32.store $0 @@ -4442,7 +4439,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -4453,7 +4450,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -4467,7 +4464,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const -1 @@ -4476,7 +4473,7 @@ (local $2 i32) (local $3 i32) global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4492,8 +4489,8 @@ end global.get $~lib/memory/__stack_pointer local.tee $2 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $2 local.get $0 i32.store $0 @@ -4520,7 +4517,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $3 @@ -4531,7 +4528,7 @@ call_indirect $0 (type $i32_i32_i32_=>_i32) if global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -4545,7 +4542,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer i32.const -1 @@ -4564,7 +4561,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4579,12 +4576,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -4757,7 +4750,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -4800,7 +4793,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -4890,7 +4883,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -4959,7 +4952,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -4980,13 +4973,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -7342,7 +7335,7 @@ i32.const 3248 i32.store $0 offset=24 local.get $0 - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -7354,9 +7347,6 @@ i64.const 0 i64.store $0 local.get $0 - i32.const 0 - i32.store $0 offset=8 - local.get $0 local.get $5 i32.store $0 local.get $0 @@ -7395,7 +7385,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=8 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -7416,7 +7406,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -7478,7 +7468,7 @@ i32.const 3280 i32.store $0 offset=24 local.get $0 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -7487,8 +7477,8 @@ br_if $folding-inner0 global.get $~lib/memory/__stack_pointer local.tee $1 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $0 local.get $1 @@ -7515,7 +7505,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 i32.const 3 global.set $~argumentsLength local.get $4 @@ -7532,7 +7522,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer global.get $std/staticarray/maxVal @@ -7615,7 +7605,7 @@ i32.const 0 local.set $0 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -7624,8 +7614,8 @@ br_if $folding-inner0 global.get $~lib/memory/__stack_pointer local.tee $4 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 i32.const 0 local.set $1 local.get $4 @@ -7652,7 +7642,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 i32.const 4 global.set $~argumentsLength local.get $0 @@ -7671,7 +7661,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -7695,7 +7685,7 @@ i32.const 0 local.set $0 local.get $1 - i32.const 8 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -7704,8 +7694,8 @@ br_if $folding-inner0 global.get $~lib/memory/__stack_pointer local.tee $1 - i64.const 0 - i64.store $0 + i32.const 0 + i32.store $0 local.get $1 local.get $5 i32.store $0 @@ -7732,7 +7722,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $5 - i32.store $0 offset=4 + i32.store $0 i32.const 4 global.set $~argumentsLength local.get $0 @@ -7751,7 +7741,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 8 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer local.get $0 diff --git a/tests/compiler/std/string.debug.wat b/tests/compiler/std/string.debug.wat index 594709c44f..5e90c52111 100644 --- a/tests/compiler/std/string.debug.wat +++ b/tests/compiler/std/string.debug.wat @@ -12855,7 +12855,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -12890,7 +12890,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -12925,7 +12925,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -12960,7 +12960,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -12995,7 +12995,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -13030,7 +13030,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -13065,7 +13065,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -13100,7 +13100,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padStart local.set $55 @@ -13135,7 +13135,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13170,7 +13170,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13205,7 +13205,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13240,7 +13240,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13275,7 +13275,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13310,7 +13310,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13345,7 +13345,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -13380,7 +13380,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $55 call $~lib/string/String#padEnd local.set $55 @@ -14539,7 +14539,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2128 local.tee $6 - i32.store $0 offset=20 + i32.store $0 offset=16 local.get $6 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14566,7 +14566,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2176 local.tee $7 - i32.store $0 offset=24 + i32.store $0 offset=20 local.get $7 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14593,7 +14593,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2224 local.tee $8 - i32.store $0 offset=28 + i32.store $0 offset=24 local.get $8 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14620,7 +14620,7 @@ global.get $~lib/memory/__stack_pointer i32.const 688 local.tee $9 - i32.store $0 offset=32 + i32.store $0 offset=28 local.get $9 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14647,7 +14647,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2272 local.tee $10 - i32.store $0 offset=36 + i32.store $0 offset=32 local.get $10 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14674,7 +14674,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2304 local.tee $11 - i32.store $0 offset=40 + i32.store $0 offset=36 local.get $11 local.set $55 global.get $~lib/memory/__stack_pointer @@ -14701,7 +14701,7 @@ global.get $~lib/memory/__stack_pointer i32.const 2336 local.tee $12 - i32.store $0 offset=44 + i32.store $0 offset=40 local.get $12 local.set $55 global.get $~lib/memory/__stack_pointer @@ -15511,7 +15511,7 @@ global.get $~lib/memory/__stack_pointer i32.const 3632 local.tee $22 - i32.store $0 offset=48 + i32.store $0 offset=44 local.get $22 local.set $55 global.get $~lib/memory/__stack_pointer @@ -15538,7 +15538,7 @@ global.get $~lib/memory/__stack_pointer i32.const 3632 local.tee $24 - i32.store $0 offset=52 + i32.store $0 offset=48 local.get $24 local.set $55 global.get $~lib/memory/__stack_pointer @@ -15583,7 +15583,7 @@ global.get $~lib/memory/__stack_pointer i32.const 3856 local.tee $26 - i32.store $0 offset=56 + i32.store $0 offset=52 i32.const 0 local.set $27 local.get $26 @@ -15630,7 +15630,7 @@ global.get $~lib/memory/__stack_pointer i32.const 3904 local.tee $28 - i32.store $0 offset=60 + i32.store $0 offset=56 i32.const 0 local.set $29 local.get $28 @@ -17898,7 +17898,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String.__concat local.set $55 @@ -19838,7 +19838,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -19878,7 +19878,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -19918,7 +19918,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -19958,7 +19958,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -19998,7 +19998,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20038,7 +20038,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20078,7 +20078,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20118,7 +20118,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20158,7 +20158,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20198,7 +20198,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20238,7 +20238,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20278,7 +20278,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20318,7 +20318,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replace local.set $55 @@ -20358,7 +20358,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20398,7 +20398,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20438,7 +20438,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20478,7 +20478,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20518,7 +20518,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20558,7 +20558,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20598,7 +20598,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20638,7 +20638,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20678,7 +20678,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20718,7 +20718,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20758,7 +20758,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20798,7 +20798,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20838,7 +20838,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20878,7 +20878,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20918,7 +20918,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20958,7 +20958,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -20998,7 +20998,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21038,7 +21038,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21078,7 +21078,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21118,7 +21118,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21158,7 +21158,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21198,7 +21198,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21238,7 +21238,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21278,7 +21278,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 @@ -21318,7 +21318,7 @@ local.set $55 global.get $~lib/memory/__stack_pointer local.get $55 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $55 call $~lib/string/String#replaceAll local.set $55 diff --git a/tests/compiler/std/string.release.wat b/tests/compiler/std/string.release.wat index db65c7ba36..15345f5036 100644 --- a/tests/compiler/std/string.release.wat +++ b/tests/compiler/std/string.release.wat @@ -11132,7 +11132,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $1 i32.const 0 i32.const 2272 @@ -11164,7 +11164,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $1 i32.const 15 i32.const 2272 @@ -11195,7 +11195,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1712 i32.const 3 i32.const 2272 @@ -11225,7 +11225,7 @@ i32.store $0 offset=8 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1712 i32.const 10 i32.const 1712 @@ -11255,7 +11255,7 @@ i32.store $0 offset=8 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1808 i32.const 100 i32.const 1712 @@ -11285,7 +11285,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 5 i32.const 2272 @@ -11315,7 +11315,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2400 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 6 i32.const 2400 @@ -11345,7 +11345,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2400 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 8 i32.const 2400 @@ -11376,7 +11376,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $1 i32.const 0 i32.const 2272 @@ -11408,7 +11408,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 local.get $1 i32.const 15 i32.const 2272 @@ -11439,7 +11439,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1712 i32.const 3 i32.const 2272 @@ -11469,7 +11469,7 @@ i32.store $0 offset=8 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1712 i32.const 10 i32.const 1712 @@ -11499,7 +11499,7 @@ i32.store $0 offset=8 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 1808 i32.const 100 i32.const 1712 @@ -11529,7 +11529,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2272 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 5 i32.const 2272 @@ -11559,7 +11559,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2336 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 6 i32.const 2336 @@ -11589,7 +11589,7 @@ i32.store $0 offset=8 local.get $0 i32.const 2336 - i32.store $0 offset=16 + i32.store $0 offset=12 i32.const 2336 i32.const 8 i32.const 2336 @@ -12570,7 +12570,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3152 - i32.store $0 offset=20 + i32.store $0 offset=16 local.get $0 i32.const 3152 i32.store $0 @@ -12588,7 +12588,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3200 - i32.store $0 offset=24 + i32.store $0 offset=20 local.get $0 i32.const 3200 i32.store $0 @@ -12606,7 +12606,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3248 - i32.store $0 offset=28 + i32.store $0 offset=24 local.get $0 i32.const 3248 i32.store $0 @@ -12623,7 +12623,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 1712 - i32.store $0 offset=32 + i32.store $0 offset=28 local.get $0 i32.const 1712 i32.store $0 @@ -12640,7 +12640,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3296 - i32.store $0 offset=36 + i32.store $0 offset=32 local.get $0 i32.const 3296 i32.store $0 @@ -12657,7 +12657,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3328 - i32.store $0 offset=40 + i32.store $0 offset=36 local.get $0 i32.const 3328 i32.store $0 @@ -12674,7 +12674,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 3360 - i32.store $0 offset=44 + i32.store $0 offset=40 local.get $0 i32.const 3360 i32.store $0 @@ -13368,7 +13368,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 4656 - i32.store $0 offset=48 + i32.store $0 offset=44 local.get $0 i32.const 4656 i32.store $0 @@ -13389,7 +13389,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 4656 - i32.store $0 offset=52 + i32.store $0 offset=48 local.get $0 i32.const 4656 i32.store $0 @@ -13445,7 +13445,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 4880 - i32.store $0 offset=56 + i32.store $0 offset=52 local.get $0 i32.const 4880 i32.store $0 @@ -13499,7 +13499,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 4928 - i32.store $0 offset=60 + i32.store $0 offset=56 local.get $0 i32.const 4928 i32.store $0 @@ -15396,7 +15396,7 @@ i32.store $0 offset=12 global.get $~lib/memory/__stack_pointer i32.const 10288 - i32.store $0 offset=16 + i32.store $0 offset=60 local.get $0 i32.const 10288 call $~lib/string/String.__concat @@ -17040,7 +17040,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 1712 i32.const 1712 i32.const 1712 @@ -17073,7 +17073,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 1712 i32.const 1712 i32.const 4592 @@ -17106,7 +17106,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 4592 i32.const 4592 i32.const 1712 @@ -17139,7 +17139,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 4592 i32.const 1712 i32.const 1712 @@ -17172,7 +17172,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 4560 i32.const 4592 @@ -17205,7 +17205,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 2336 i32.const 4592 @@ -17238,7 +17238,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 2912 i32.const 4592 @@ -17271,7 +17271,7 @@ i32.store $0 offset=12 local.get $0 i32.const 13392 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 13392 i32.const 13392 @@ -17304,7 +17304,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14304 i32.const 4560 i32.const 4592 @@ -17337,7 +17337,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 1712 i32.const 4592 @@ -17370,7 +17370,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14400 i32.const 14432 i32.const 4592 @@ -17403,7 +17403,7 @@ i32.store $0 offset=12 local.get $0 i32.const 14496 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 14464 i32.const 14496 @@ -17436,7 +17436,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 14464 i32.const 1712 @@ -17469,7 +17469,7 @@ i32.store $0 offset=12 local.get $0 i32.const 2336 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 1712 i32.const 1712 i32.const 2336 @@ -17502,7 +17502,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 4560 i32.const 4592 @@ -17535,7 +17535,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2544 i32.const 2336 i32.const 4592 @@ -17568,7 +17568,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14560 i32.const 2336 i32.const 4592 @@ -17601,7 +17601,7 @@ i32.store $0 offset=12 local.get $0 i32.const 13392 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2544 i32.const 13392 i32.const 13392 @@ -17634,7 +17634,7 @@ i32.store $0 offset=12 local.get $0 i32.const 14608 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14640 i32.const 1808 i32.const 14608 @@ -17667,7 +17667,7 @@ i32.store $0 offset=12 local.get $0 i32.const 14496 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2544 i32.const 13392 i32.const 14496 @@ -17700,7 +17700,7 @@ i32.store $0 offset=12 local.get $0 i32.const 14496 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14768 i32.const 14800 i32.const 14496 @@ -17733,7 +17733,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 2912 i32.const 4592 @@ -17766,7 +17766,7 @@ i32.store $0 offset=12 local.get $0 i32.const 14496 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2912 i32.const 14864 i32.const 14496 @@ -17799,7 +17799,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 14896 i32.const 4592 @@ -17832,7 +17832,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 13392 i32.const 13392 i32.const 4592 @@ -17865,7 +17865,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14304 i32.const 4560 i32.const 4592 @@ -17898,7 +17898,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 1712 i32.const 1712 i32.const 1712 @@ -17931,7 +17931,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 1712 i32.const 1712 i32.const 4592 @@ -17964,7 +17964,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 4592 i32.const 4592 i32.const 1712 @@ -17997,7 +17997,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 4592 i32.const 1712 i32.const 1712 @@ -18030,7 +18030,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4560 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 2336 i32.const 4560 @@ -18063,7 +18063,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4560 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 2816 i32.const 4560 @@ -18096,7 +18096,7 @@ i32.store $0 offset=12 local.get $0 i32.const 4592 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 1712 i32.const 4592 @@ -18129,7 +18129,7 @@ i32.store $0 offset=12 local.get $0 i32.const 1712 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 2336 i32.const 1712 i32.const 1712 @@ -18162,7 +18162,7 @@ i32.store $0 offset=12 local.get $0 i32.const 15072 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 15040 i32.const 1808 i32.const 15072 @@ -18195,7 +18195,7 @@ i32.store $0 offset=12 local.get $0 i32.const 15152 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 13392 i32.const 13392 i32.const 15152 @@ -18228,7 +18228,7 @@ i32.store $0 offset=12 local.get $0 i32.const 15184 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14112 i32.const 1808 i32.const 15184 @@ -18261,7 +18261,7 @@ i32.store $0 offset=12 local.get $0 i32.const 15072 - i32.store $0 offset=16 + i32.store $0 offset=60 i32.const 14112 i32.const 13840 i32.const 15072 diff --git a/tests/compiler/std/symbol.debug.wat b/tests/compiler/std/symbol.debug.wat index 38d21d35f4..5fdd3c6a22 100644 --- a/tests/compiler/std/symbol.debug.wat +++ b/tests/compiler/std/symbol.debug.wat @@ -3661,7 +3661,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=16 + i32.store $0 offset=8 local.get $14 call $~lib/map/MapEntry<~lib/string/String,usize>#set:key local.get $newEntry @@ -3924,7 +3924,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 call $~lib/map/MapEntry<~lib/string/String,usize>#set:key i32.const 1 @@ -4278,7 +4278,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $14 call $~lib/map/MapEntry#set:value local.get $oldEntryKey @@ -4416,7 +4416,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 call $~lib/map/MapEntry#set:value i32.const 1 @@ -4536,7 +4536,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=4 + i32.store $0 local.get $8 call $~lib/map/MapEntry#set:value i32.const 1 @@ -4603,16 +4603,13 @@ (local $id i32) (local $3 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i64.const 0 i64.store $0 - global.get $~lib/memory/__stack_pointer - i32.const 0 - i32.store $0 offset=8 global.get $~lib/symbol/stringToId local.set $3 global.get $~lib/memory/__stack_pointer @@ -4642,7 +4639,7 @@ call $~lib/map/Map<~lib/string/String,usize>#get local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -4686,14 +4683,14 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $3 call $~lib/map/Map#set drop local.get $id local.set $3 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $3 diff --git a/tests/compiler/std/symbol.release.wat b/tests/compiler/std/symbol.release.wat index daa6a5d421..1c79687c29 100644 --- a/tests/compiler/std/symbol.release.wat +++ b/tests/compiler/std/symbol.release.wat @@ -2457,7 +2457,7 @@ i32.store $0 offset=12 local.get $11 local.get $10 - i32.store $0 offset=16 + i32.store $0 offset=8 local.get $2 local.get $10 i32.store $0 @@ -2581,7 +2581,7 @@ i32.store $0 offset=16 local.get $2 i32.const 1056 - i32.store $0 offset=4 + i32.store $0 local.get $3 local.get $4 i32.const 12 @@ -2792,7 +2792,7 @@ if global.get $~lib/memory/__stack_pointer i32.const 1056 - i32.store $0 offset=4 + i32.store $0 local.get $2 i32.const 1056 i32.store $0 offset=4 @@ -2930,7 +2930,7 @@ local.get $4 i32.load $0 offset=4 local.tee $11 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $2 local.get $11 i32.store $0 offset=4 @@ -3081,7 +3081,7 @@ i32.store $0 local.get $2 i32.const 1056 - i32.store $0 offset=4 + i32.store $0 local.get $3 i32.const 1056 i32.store $0 offset=4 @@ -3145,7 +3145,7 @@ (local $1 i32) (local $2 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -3159,9 +3159,6 @@ i64.const 0 i64.store $0 local.get $0 - i32.const 0 - i32.store $0 offset=8 - local.get $0 global.get $~lib/symbol/stringToId local.tee $1 i32.store $0 @@ -3287,7 +3284,7 @@ i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 1056 - i32.store $0 offset=8 + i32.store $0 offset=4 local.get $1 local.get $0 call $~lib/map/Map#set @@ -3301,7 +3298,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 8 i32.add global.set $~lib/memory/__stack_pointer local.get $0 diff --git a/tests/compiler/std/typedarray.debug.wat b/tests/compiler/std/typedarray.debug.wat index 1f99d1139c..aa7cf73198 100644 --- a/tests/compiler/std/typedarray.debug.wat +++ b/tests/compiler/std/typedarray.debug.wat @@ -16406,16 +16406,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -16425,7 +16422,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16531,7 +16528,7 @@ select f64.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16550,7 +16547,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -16617,7 +16614,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -16672,7 +16669,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -16752,7 +16749,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -16829,7 +16826,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -16845,7 +16842,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -18267,7 +18264,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -18275,8 +18272,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Int8Array,i8,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -18323,7 +18320,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -18343,7 +18340,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -18482,7 +18479,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -18490,8 +18487,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Uint8Array,u8,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -18538,7 +18535,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -18558,7 +18555,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -18655,7 +18652,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -18663,8 +18660,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Uint8ClampedArray,u8,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -18711,7 +18708,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -18731,7 +18728,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -18875,7 +18872,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -18883,8 +18880,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Int16Array,i16,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -18931,7 +18928,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -18951,7 +18948,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -19094,7 +19091,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -19102,8 +19099,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Uint16Array,u16,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -19150,7 +19147,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -19170,7 +19167,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -19267,7 +19264,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -19275,8 +19272,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Int32Array,i32,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -19323,7 +19320,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -19343,7 +19340,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -19485,7 +19482,7 @@ (local $k i32) (local $9 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -19493,8 +19490,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Uint32Array,u32,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -19541,7 +19538,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -19561,7 +19558,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -19704,7 +19701,7 @@ (local $9 i32) (local $10 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -19712,8 +19709,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Int64Array,i64,i64>|inlined.0 (result i64) global.get $~lib/memory/__stack_pointer local.get $this @@ -19760,7 +19757,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -19780,7 +19777,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -19923,7 +19920,7 @@ (local $9 i32) (local $10 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -19931,8 +19928,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Uint64Array,u64,u64>|inlined.0 (result i64) global.get $~lib/memory/__stack_pointer local.get $this @@ -19979,7 +19976,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -19999,7 +19996,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -20142,7 +20139,7 @@ (local $9 i32) (local $10 f32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -20150,8 +20147,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Float32Array,f32,f32>|inlined.0 (result f32) global.get $~lib/memory/__stack_pointer local.get $this @@ -20198,7 +20195,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -20218,7 +20215,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -20314,7 +20311,7 @@ (local $9 i32) (local $10 f64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -20322,8 +20319,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE<~lib/typedarray/Float64Array,f64,f64>|inlined.0 (result f64) global.get $~lib/memory/__stack_pointer local.get $this @@ -20370,7 +20367,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $9 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $9 i32.const 4 global.set $~argumentsLength @@ -20390,7 +20387,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -22313,7 +22310,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -22321,8 +22318,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Int8Array,i8,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -22369,7 +22366,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -22389,7 +22386,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -22484,7 +22481,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -22492,8 +22489,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Uint8Array,u8,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -22540,7 +22537,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -22560,7 +22557,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -22656,7 +22653,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -22664,8 +22661,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Uint8ClampedArray,u8,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -22712,7 +22709,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -22732,7 +22729,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -22828,7 +22825,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -22836,8 +22833,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Int16Array,i16,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -22884,7 +22881,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -22904,7 +22901,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -22999,7 +22996,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23007,8 +23004,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Uint16Array,u16,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -23055,7 +23052,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23075,7 +23072,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -23171,7 +23168,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23179,8 +23176,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Int32Array,i32,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -23227,7 +23224,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23247,7 +23244,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -23341,7 +23338,7 @@ (local $i i32) (local $8 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23349,8 +23346,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Uint32Array,u32,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -23397,7 +23394,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23417,7 +23414,7 @@ end local.set $8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $8 @@ -23512,7 +23509,7 @@ (local $8 i32) (local $9 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23520,8 +23517,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Int64Array,i64,i64>|inlined.0 (result i64) global.get $~lib/memory/__stack_pointer local.get $this @@ -23568,7 +23565,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23588,7 +23585,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -23683,7 +23680,7 @@ (local $8 i32) (local $9 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23691,8 +23688,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Uint64Array,u64,u64>|inlined.0 (result i64) global.get $~lib/memory/__stack_pointer local.get $this @@ -23739,7 +23736,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23759,7 +23756,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -23854,7 +23851,7 @@ (local $8 i32) (local $9 f32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -23862,8 +23859,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Float32Array,f32,f32>|inlined.0 (result f32) global.get $~lib/memory/__stack_pointer local.get $this @@ -23910,7 +23907,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -23930,7 +23927,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -24025,7 +24022,7 @@ (local $8 i32) (local $9 f64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -24033,8 +24030,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/REDUCE_RIGHT<~lib/typedarray/Float64Array,f64,f64>|inlined.0 (result f64) global.get $~lib/memory/__stack_pointer local.get $this @@ -24081,7 +24078,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $8 i32.const 4 global.set $~argumentsLength @@ -24101,7 +24098,7 @@ end local.set $9 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $9 @@ -24198,13 +24195,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -24270,7 +24267,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -24303,7 +24300,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -24446,13 +24443,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -24518,7 +24515,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -24551,7 +24548,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -24739,13 +24736,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -24811,7 +24808,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -24844,7 +24841,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -24987,13 +24984,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -25059,7 +25056,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -25092,7 +25089,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -25284,13 +25281,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -25356,7 +25353,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -25389,7 +25386,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -25581,13 +25578,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -25653,7 +25650,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -25686,7 +25683,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -25829,13 +25826,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -25901,7 +25898,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -25934,7 +25931,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -26126,13 +26123,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -26198,7 +26195,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -26231,7 +26228,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -26424,13 +26421,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -26496,7 +26493,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -26529,7 +26526,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -26722,13 +26719,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -26794,7 +26791,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -26827,7 +26824,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -27020,13 +27017,13 @@ (local $i i32) (local $10 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/MAP<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -27092,7 +27089,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $10 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $10 i32.const 3 global.set $~argumentsLength @@ -27125,7 +27122,7 @@ end local.set $10 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $10 @@ -27272,13 +27269,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -27341,7 +27338,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -27395,7 +27392,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -27596,13 +27593,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -27665,7 +27662,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -27719,7 +27716,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -27920,13 +27917,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -27989,7 +27986,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -28043,7 +28040,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -28244,13 +28241,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -28313,7 +28310,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -28367,7 +28364,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -28568,13 +28565,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -28637,7 +28634,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -28691,7 +28688,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -28892,13 +28889,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -28961,7 +28958,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -29015,7 +29012,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -29216,13 +29213,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -29285,7 +29282,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -29339,7 +29336,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -29540,13 +29537,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -29609,7 +29606,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -29663,7 +29660,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -29864,13 +29861,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -29933,7 +29930,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -29987,7 +29984,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -30188,13 +30185,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -30257,7 +30254,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -30311,7 +30308,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -30512,13 +30509,13 @@ (local $data i32) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 block $~lib/typedarray/FILTER<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer @@ -30581,7 +30578,7 @@ local.set $14 global.get $~lib/memory/__stack_pointer local.get $14 - i32.store $0 offset=20 + i32.store $0 offset=8 local.get $14 i32.const 3 global.set $~argumentsLength @@ -30635,7 +30632,7 @@ end local.set $14 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $14 @@ -30829,7 +30826,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -30837,8 +30834,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -30882,7 +30879,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -30905,7 +30902,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31024,7 +31021,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -31032,8 +31029,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -31077,7 +31074,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -31100,7 +31097,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31219,7 +31216,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -31227,8 +31224,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -31272,7 +31269,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -31295,7 +31292,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31414,7 +31411,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -31422,8 +31419,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -31467,7 +31464,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -31490,7 +31487,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31609,7 +31606,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -31617,8 +31614,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -31662,7 +31659,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -31685,7 +31682,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31804,7 +31801,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -31812,8 +31809,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -31857,7 +31854,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -31880,7 +31877,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -31999,7 +31996,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32007,8 +32004,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -32052,7 +32049,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -32075,7 +32072,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -32194,7 +32191,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32202,8 +32199,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -32247,7 +32244,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -32270,7 +32267,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -32389,7 +32386,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32397,8 +32394,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -32442,7 +32439,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -32465,7 +32462,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -32584,7 +32581,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32592,8 +32589,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -32637,7 +32634,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -32660,7 +32657,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -32779,7 +32776,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32787,8 +32784,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -32832,7 +32829,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -32855,7 +32852,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -32974,7 +32971,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -32982,8 +32979,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -33027,7 +33024,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -33050,7 +33047,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -33170,7 +33167,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -33178,8 +33175,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -33223,7 +33220,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -33246,7 +33243,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -33366,7 +33363,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -33374,8 +33371,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -33419,7 +33416,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -33442,7 +33439,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -33562,7 +33559,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -33570,8 +33567,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -33615,7 +33612,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -33638,7 +33635,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -33758,7 +33755,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -33766,8 +33763,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -33811,7 +33808,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -33834,7 +33831,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -33954,7 +33951,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -33962,8 +33959,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34007,7 +34004,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -34030,7 +34027,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -34150,7 +34147,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -34158,8 +34155,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34203,7 +34200,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -34226,7 +34223,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -34346,7 +34343,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -34354,8 +34351,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34399,7 +34396,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -34422,7 +34419,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -34542,7 +34539,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -34550,8 +34547,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34595,7 +34592,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -34618,7 +34615,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -34738,7 +34735,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -34746,8 +34743,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34791,7 +34788,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -34814,7 +34811,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -34934,7 +34931,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -34942,8 +34939,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_INDEX<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -34987,7 +34984,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -35010,7 +35007,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -35129,7 +35126,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -35137,8 +35134,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -35182,7 +35179,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -35205,7 +35202,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -35324,7 +35321,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -35332,8 +35329,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -35377,7 +35374,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -35400,7 +35397,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -35519,7 +35516,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -35527,8 +35524,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -35572,7 +35569,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -35595,7 +35592,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -35714,7 +35711,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -35722,8 +35719,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -35767,7 +35764,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -35790,7 +35787,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -35909,7 +35906,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -35917,8 +35914,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -35962,7 +35959,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -35985,7 +35982,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -36104,7 +36101,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -36112,8 +36109,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -36157,7 +36154,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -36180,7 +36177,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -36299,7 +36296,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -36307,8 +36304,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -36352,7 +36349,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -36375,7 +36372,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -36494,7 +36491,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -36502,8 +36499,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -36547,7 +36544,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -36570,7 +36567,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -36689,7 +36686,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -36697,8 +36694,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -36742,7 +36739,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -36765,7 +36762,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -36884,7 +36881,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -36892,8 +36889,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -36937,7 +36934,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -36960,7 +36957,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -37079,7 +37076,7 @@ (local $i i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -37087,8 +37084,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/FIND_LAST_INDEX<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -37132,7 +37129,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $6 i32.const 3 global.set $~argumentsLength @@ -37155,7 +37152,7 @@ end local.set $6 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $6 @@ -37275,7 +37272,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -37283,8 +37280,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -37329,7 +37326,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -37354,7 +37351,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -37473,7 +37470,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -37481,8 +37478,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -37527,7 +37524,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -37552,7 +37549,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -37671,7 +37668,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -37679,8 +37676,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint8ClampedArray,u8>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -37725,7 +37722,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -37750,7 +37747,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -37869,7 +37866,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -37877,8 +37874,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -37923,7 +37920,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -37948,7 +37945,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -38067,7 +38064,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -38075,8 +38072,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -38121,7 +38118,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -38146,7 +38143,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -38265,7 +38262,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -38273,8 +38270,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -38319,7 +38316,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -38344,7 +38341,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -38463,7 +38460,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -38471,8 +38468,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -38517,7 +38514,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -38542,7 +38539,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -38661,7 +38658,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -38669,8 +38666,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -38715,7 +38712,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -38740,7 +38737,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -38859,7 +38856,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -38867,8 +38864,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -38913,7 +38910,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -38938,7 +38935,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -39057,7 +39054,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -39065,8 +39062,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -39111,7 +39108,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -39136,7 +39133,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -39255,7 +39252,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -39263,8 +39260,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) global.get $~lib/memory/__stack_pointer local.get $this @@ -39309,7 +39306,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -39334,7 +39331,7 @@ end local.set $7 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $7 @@ -39520,7 +39517,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -39528,8 +39525,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -39572,7 +39569,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -39587,7 +39584,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -39773,7 +39770,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -39781,8 +39778,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -39825,7 +39822,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -39840,7 +39837,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -40029,7 +40026,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -40037,8 +40034,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -40081,7 +40078,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -40096,7 +40093,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -40283,7 +40280,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -40291,8 +40288,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -40335,7 +40332,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -40350,7 +40347,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -40536,7 +40533,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -40544,8 +40541,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -40588,7 +40585,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -40603,7 +40600,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -40788,7 +40785,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -40796,8 +40793,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -40840,7 +40837,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -40855,7 +40852,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -41034,7 +41031,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -41042,8 +41039,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -41086,7 +41083,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -41101,7 +41098,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -41281,7 +41278,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -41289,8 +41286,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -41333,7 +41330,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -41348,7 +41345,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -41531,7 +41528,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -41539,8 +41536,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -41583,7 +41580,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -41598,7 +41595,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -41781,7 +41778,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -41789,8 +41786,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -41833,7 +41830,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -41848,7 +41845,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -42031,7 +42028,7 @@ (local $k i32) (local $7 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check @@ -42039,8 +42036,8 @@ i64.const 0 i64.store $0 global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $this local.tee $array @@ -42083,7 +42080,7 @@ local.set $7 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=12 + i32.store $0 offset=8 local.get $7 i32.const 3 global.set $~argumentsLength @@ -42098,7 +42095,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -80659,16 +80656,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -80678,7 +80672,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -80784,7 +80778,7 @@ select i32.store8 $0 offset=1 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -80803,7 +80797,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -80870,7 +80864,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -80925,7 +80919,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -81005,7 +80999,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -81082,7 +81076,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -81098,7 +81092,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -81425,16 +81419,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -81444,7 +81435,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -81550,7 +81541,7 @@ select i32.store8 $0 offset=1 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -81569,7 +81560,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -81636,7 +81627,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -81691,7 +81682,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -81771,7 +81762,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -81848,7 +81839,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -81864,7 +81855,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -82476,16 +82467,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -82495,7 +82483,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -82601,7 +82589,7 @@ select i32.store16 $0 offset=2 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -82620,7 +82608,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -82687,7 +82675,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -82742,7 +82730,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -82822,7 +82810,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -82899,7 +82887,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -82915,7 +82903,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -83242,16 +83230,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -83261,7 +83246,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -83367,7 +83352,7 @@ select i32.store16 $0 offset=2 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -83386,7 +83371,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -83453,7 +83438,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -83508,7 +83493,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -83588,7 +83573,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -83665,7 +83650,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -83681,7 +83666,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -84006,16 +83991,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -84025,7 +84007,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84131,7 +84113,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84150,7 +84132,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84217,7 +84199,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -84272,7 +84254,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -84352,7 +84334,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -84429,7 +84411,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -84445,7 +84427,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -84772,16 +84754,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -84791,7 +84770,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84897,7 +84876,7 @@ select i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84916,7 +84895,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -84983,7 +84962,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -85038,7 +85017,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -85118,7 +85097,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -85195,7 +85174,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -85211,7 +85190,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -85536,16 +85515,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -85555,7 +85531,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -85661,7 +85637,7 @@ select i64.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -85680,7 +85656,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -85747,7 +85723,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -85802,7 +85778,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -85882,7 +85858,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -85959,7 +85935,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -85975,7 +85951,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -86302,16 +86278,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -86321,7 +86294,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -86427,7 +86400,7 @@ select i64.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -86446,7 +86419,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -86513,7 +86486,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -86568,7 +86541,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -86648,7 +86621,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -86725,7 +86698,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -86741,7 +86714,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -87066,16 +87039,13 @@ (local $start|33 i32) (local $34 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer - i64.const 0 - i64.store $0 - global.get $~lib/memory/__stack_pointer i32.const 0 - i32.store $0 offset=8 + i32.store $0 local.get $len i32.const 48 i32.le_s @@ -87085,7 +87055,7 @@ i32.le_s if global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -87191,7 +87161,7 @@ select f32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -87210,7 +87180,7 @@ local.get $34 call $~lib/util/sort/insertionSort global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return @@ -87277,7 +87247,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endA @@ -87332,7 +87302,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=4 + i32.store $0 local.get $34 call $~lib/util/sort/extendRunRight local.set $endB @@ -87412,7 +87382,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns local.get $start @@ -87489,7 +87459,7 @@ local.set $34 global.get $~lib/memory/__stack_pointer local.get $34 - i32.store $0 offset=8 + i32.store $0 local.get $34 call $~lib/util/sort/mergeRuns end @@ -87505,7 +87475,7 @@ local.get $leftRunStartBuf call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) diff --git a/tests/compiler/std/typedarray.release.wat b/tests/compiler/std/typedarray.release.wat index 2cf1a259c5..8ec89852f3 100644 --- a/tests/compiler/std/typedarray.release.wat +++ b/tests/compiler/std/typedarray.release.wat @@ -11197,7 +11197,7 @@ (local $16 f64) (local $17 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -11212,12 +11212,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -11390,7 +11386,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -11433,7 +11429,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -11523,7 +11519,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -11592,7 +11588,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -11613,13 +11609,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -13120,7 +13116,7 @@ (local $5 i32) (local $6 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -13139,8 +13135,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $5 local.get $0 i32.store $0 @@ -13171,7 +13167,7 @@ local.set $6 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -13190,7 +13186,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -14238,7 +14234,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -14257,8 +14253,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -14291,7 +14287,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -14310,7 +14306,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -14375,7 +14371,7 @@ i32.const 3600 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -14385,7 +14381,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $6 @@ -14429,7 +14425,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $0 @@ -14465,7 +14461,7 @@ local.get $7 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -14644,7 +14640,7 @@ i32.const 3632 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -14654,7 +14650,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $6 @@ -14698,7 +14694,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $0 @@ -14734,7 +14730,7 @@ local.get $7 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -14861,7 +14857,7 @@ i32.const 3664 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -14871,7 +14867,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $6 @@ -14915,7 +14911,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $0 @@ -14951,7 +14947,7 @@ local.get $7 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -15136,7 +15132,7 @@ i32.const 3696 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -15146,7 +15142,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -15196,7 +15192,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -15232,7 +15228,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -15417,7 +15413,7 @@ i32.const 3728 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -15427,7 +15423,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -15477,7 +15473,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -15513,7 +15509,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -15642,7 +15638,7 @@ i32.const 3760 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -15652,7 +15648,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -15702,7 +15698,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -15738,7 +15734,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -15923,7 +15919,7 @@ i32.const 3792 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -15933,7 +15929,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -15983,7 +15979,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -16019,7 +16015,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -16205,7 +16201,7 @@ i32.const 3824 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -16215,7 +16211,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -16265,7 +16261,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -16301,7 +16297,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -16487,7 +16483,7 @@ i32.const 3856 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -16497,7 +16493,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -16547,7 +16543,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -16583,7 +16579,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -16769,7 +16765,7 @@ i32.const 3888 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -16779,7 +16775,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -16829,7 +16825,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -16865,7 +16861,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -16994,7 +16990,7 @@ i32.const 3920 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17004,7 +17000,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $8 @@ -17054,7 +17050,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $8 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -17090,7 +17086,7 @@ local.get $3 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -17232,7 +17228,7 @@ i32.const 3952 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17242,7 +17238,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -17286,7 +17282,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $3 @@ -17332,7 +17328,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -17502,7 +17498,7 @@ i32.const 3984 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17512,7 +17508,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -17556,7 +17552,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $3 @@ -17602,7 +17598,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -17772,7 +17768,7 @@ i32.const 4016 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -17782,7 +17778,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -17826,7 +17822,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $3 @@ -17872,7 +17868,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -18042,7 +18038,7 @@ i32.const 4048 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -18052,7 +18048,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -18100,7 +18096,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -18151,7 +18147,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -18321,7 +18317,7 @@ i32.const 4080 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -18331,7 +18327,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -18379,7 +18375,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -18430,7 +18426,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -18600,7 +18596,7 @@ i32.const 4112 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -18610,7 +18606,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -18658,7 +18654,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -18709,7 +18705,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -18879,7 +18875,7 @@ i32.const 4144 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -18889,7 +18885,7 @@ global.get $~lib/memory/__stack_pointer local.tee $2 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $2 local.get $7 @@ -18937,7 +18933,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -18988,7 +18984,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -19158,7 +19154,7 @@ i32.const 4176 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -19168,7 +19164,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $4 local.get $7 @@ -19216,7 +19212,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -19267,7 +19263,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -19437,7 +19433,7 @@ i32.const 4208 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -19447,7 +19443,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $4 local.get $7 @@ -19495,7 +19491,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -19546,7 +19542,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -19716,7 +19712,7 @@ i32.const 4240 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -19726,7 +19722,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $4 local.get $7 @@ -19774,7 +19770,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -19825,7 +19821,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -19995,7 +19991,7 @@ i32.const 4272 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20005,7 +20001,7 @@ global.get $~lib/memory/__stack_pointer local.tee $4 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $4 local.get $7 @@ -20053,7 +20049,7 @@ local.set $2 global.get $~lib/memory/__stack_pointer local.get $7 - i32.store $0 offset=20 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $2 @@ -20104,7 +20100,7 @@ local.get $1 i32.store $0 offset=4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -20205,7 +20201,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20224,8 +20220,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20257,7 +20253,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20280,7 +20276,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20291,7 +20287,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20310,8 +20306,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20343,7 +20339,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20366,7 +20362,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20377,7 +20373,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20396,8 +20392,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20431,7 +20427,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20454,7 +20450,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20465,7 +20461,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20484,8 +20480,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20519,7 +20515,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20542,7 +20538,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20553,7 +20549,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20572,8 +20568,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20607,7 +20603,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20630,7 +20626,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20641,7 +20637,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20660,8 +20656,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) local.get $4 local.get $0 @@ -20695,7 +20691,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20718,7 +20714,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20729,7 +20725,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20748,8 +20744,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -20783,7 +20779,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20806,7 +20802,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20817,7 +20813,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20836,8 +20832,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -20871,7 +20867,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20894,7 +20890,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20905,7 +20901,7 @@ (local $4 f32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -20924,8 +20920,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) local.get $5 local.get $0 @@ -20959,7 +20955,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -20982,7 +20978,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -20993,7 +20989,7 @@ (local $4 f64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21012,8 +21008,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/SOME<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -21047,7 +21043,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 1 @@ -21070,7 +21066,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -21081,7 +21077,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21100,8 +21096,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21133,7 +21129,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21154,7 +21150,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21165,7 +21161,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21184,8 +21180,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21217,7 +21213,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21238,7 +21234,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21249,7 +21245,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21268,8 +21264,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21303,7 +21299,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21324,7 +21320,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21335,7 +21331,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21354,8 +21350,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21389,7 +21385,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21410,7 +21406,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21421,7 +21417,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21440,8 +21436,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21475,7 +21471,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21496,7 +21492,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21507,7 +21503,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21526,8 +21522,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -21561,7 +21557,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -21582,7 +21578,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21593,7 +21589,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21612,8 +21608,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $5 local.get $0 i32.store $0 @@ -21647,7 +21643,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -21668,7 +21664,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21679,7 +21675,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21698,8 +21694,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $5 local.get $0 i32.store $0 @@ -21733,7 +21729,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -21754,7 +21750,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21765,7 +21761,7 @@ (local $4 f32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21784,8 +21780,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $5 local.get $0 i32.store $0 @@ -21819,7 +21815,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -21840,7 +21836,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21851,7 +21847,7 @@ (local $4 f64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21870,8 +21866,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $5 local.get $0 i32.store $0 @@ -21905,7 +21901,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -21926,7 +21922,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -21936,7 +21932,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -21955,8 +21951,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -21990,7 +21986,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22011,7 +22007,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22021,7 +22017,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22040,8 +22036,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22075,7 +22071,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22096,7 +22092,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22106,7 +22102,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22125,8 +22121,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22162,7 +22158,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22183,7 +22179,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22193,7 +22189,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22212,8 +22208,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22249,7 +22245,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22270,7 +22266,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22280,7 +22276,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22299,8 +22295,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22336,7 +22332,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22357,7 +22353,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22367,7 +22363,7 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22386,8 +22382,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22423,7 +22419,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22444,7 +22440,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22454,7 +22450,7 @@ (local $3 i32) (local $4 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22473,8 +22469,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22510,7 +22506,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22531,7 +22527,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22541,7 +22537,7 @@ (local $3 i32) (local $4 i64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22560,8 +22556,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22597,7 +22593,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22618,7 +22614,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22628,7 +22624,7 @@ (local $3 i32) (local $4 f32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22647,8 +22643,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22684,7 +22680,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22705,7 +22701,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22715,7 +22711,7 @@ (local $3 i32) (local $4 f64) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22734,8 +22730,8 @@ i64.const 0 i64.store $0 local.get $2 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $2 local.get $0 i32.store $0 @@ -22771,7 +22767,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -22792,7 +22788,7 @@ local.set $2 end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $2 @@ -22803,7 +22799,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22822,8 +22818,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int8Array,i8>|inlined.0 (result i32) local.get $4 local.get $0 @@ -22855,7 +22851,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -22879,7 +22875,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -22890,7 +22886,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22909,8 +22905,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint8Array,u8>|inlined.0 (result i32) local.get $4 local.get $0 @@ -22942,7 +22938,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -22966,7 +22962,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -22977,7 +22973,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -22996,8 +22992,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int16Array,i16>|inlined.0 (result i32) local.get $4 local.get $0 @@ -23031,7 +23027,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23055,7 +23051,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23066,7 +23062,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23085,8 +23081,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint16Array,u16>|inlined.0 (result i32) local.get $4 local.get $0 @@ -23120,7 +23116,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23144,7 +23140,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23155,7 +23151,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23174,8 +23170,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int32Array,i32>|inlined.0 (result i32) local.get $4 local.get $0 @@ -23209,7 +23205,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23233,7 +23229,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23244,7 +23240,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23263,8 +23259,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint32Array,u32>|inlined.0 (result i32) local.get $4 local.get $0 @@ -23298,7 +23294,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23322,7 +23318,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23333,7 +23329,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23352,8 +23348,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Int64Array,i64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -23387,7 +23383,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23411,7 +23407,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23422,7 +23418,7 @@ (local $4 i64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23441,8 +23437,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Uint64Array,u64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -23476,7 +23472,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23500,7 +23496,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23511,7 +23507,7 @@ (local $4 f32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23530,8 +23526,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Float32Array,f32>|inlined.0 (result i32) local.get $5 local.get $0 @@ -23565,7 +23561,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23589,7 +23585,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23600,7 +23596,7 @@ (local $4 f64) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23619,8 +23615,8 @@ i64.const 0 i64.store $0 local.get $5 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 block $~lib/typedarray/EVERY<~lib/typedarray/Float64Array,f64>|inlined.0 (result i32) local.get $5 local.get $0 @@ -23654,7 +23650,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength i32.const 0 @@ -23678,7 +23674,7 @@ end local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -23761,7 +23757,7 @@ (local $4 i32) (local $5 i32) global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -23780,8 +23776,8 @@ i64.const 0 i64.store $0 local.get $4 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $4 local.get $0 i32.store $0 @@ -23812,7 +23808,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -23829,7 +23825,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer ) @@ -50708,7 +50704,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -50723,12 +50719,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -50899,7 +50891,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -50942,7 +50934,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -51032,7 +51024,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -51101,7 +51093,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -51122,13 +51114,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -51414,7 +51406,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -51429,12 +51421,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -51605,7 +51593,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -51648,7 +51636,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -51738,7 +51726,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -51807,7 +51795,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -51828,13 +51816,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -52341,7 +52329,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -52356,12 +52344,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -52534,7 +52518,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -52577,7 +52561,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -52667,7 +52651,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -52736,7 +52720,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -52757,13 +52741,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -53049,7 +53033,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -53064,12 +53048,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -53242,7 +53222,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -53285,7 +53265,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -53375,7 +53355,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -53444,7 +53424,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -53465,13 +53445,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -53757,7 +53737,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -53772,12 +53752,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -53950,7 +53926,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -53993,7 +53969,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -54083,7 +54059,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -54152,7 +54128,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -54173,13 +54149,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -54465,7 +54441,7 @@ (local $13 i64) (local $14 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -54480,12 +54456,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -54658,7 +54630,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -54701,7 +54673,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -54791,7 +54763,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -54860,7 +54832,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -54881,13 +54853,13 @@ local.get $10 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -55175,7 +55147,7 @@ (local $15 i64) (local $16 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -55190,12 +55162,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -55368,7 +55336,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -55411,7 +55379,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -55501,7 +55469,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -55570,7 +55538,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -55591,13 +55559,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -55885,7 +55853,7 @@ (local $15 i64) (local $16 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -55900,12 +55868,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -56078,7 +56042,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -56121,7 +56085,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -56211,7 +56175,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -56280,7 +56244,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -56301,13 +56265,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -56596,7 +56560,7 @@ (local $16 f32) (local $17 i32) global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -56611,12 +56575,8 @@ unreachable end global.get $~lib/memory/__stack_pointer - local.tee $4 - i64.const 0 - i64.store $0 - local.get $4 i32.const 0 - i32.store $0 offset=8 + i32.store $0 block $folding-inner0 local.get $1 i32.const 48 @@ -56789,7 +56749,7 @@ local.set $13 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 i32.const 0 local.get $1 @@ -56832,7 +56792,7 @@ if global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=4 + i32.store $0 local.get $0 local.get $4 i32.const 1 @@ -56922,7 +56882,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $8 local.get $3 @@ -56991,7 +56951,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $2 - i32.store $0 offset=8 + i32.store $0 local.get $0 local.get $3 local.get $4 @@ -57012,13 +56972,13 @@ local.get $11 call $~lib/rt/tlsf/__free global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer return end global.get $~lib/memory/__stack_pointer - i32.const 12 + i32.const 4 i32.add global.set $~lib/memory/__stack_pointer ) @@ -59660,7 +59620,7 @@ i32.const 2896 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -59672,8 +59632,8 @@ i64.const 0 i64.store $0 local.get $7 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $7 local.get $6 i32.store $0 @@ -59704,7 +59664,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $0 @@ -59723,7 +59683,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -59904,7 +59864,7 @@ i32.const 2992 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -59916,8 +59876,8 @@ i64.const 0 i64.store $0 local.get $7 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $7 local.get $6 i32.store $0 @@ -59952,7 +59912,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $0 @@ -59971,7 +59931,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -60034,7 +59994,7 @@ i32.const 3024 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60046,8 +60006,8 @@ i64.const 0 i64.store $0 local.get $7 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $7 local.get $6 i32.store $0 @@ -60082,7 +60042,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $0 @@ -60101,7 +60061,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -60164,7 +60124,7 @@ i32.const 3056 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60176,8 +60136,8 @@ i64.const 0 i64.store $0 local.get $7 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $7 local.get $6 i32.store $0 @@ -60212,7 +60172,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $0 @@ -60231,7 +60191,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -60292,7 +60252,7 @@ i32.const 3088 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60304,8 +60264,8 @@ i64.const 0 i64.store $0 local.get $7 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $7 local.get $6 i32.store $0 @@ -60340,7 +60300,7 @@ local.set $9 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $0 @@ -60359,7 +60319,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -60420,7 +60380,7 @@ i32.const 3120 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60432,8 +60392,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -60466,7 +60426,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -60485,7 +60445,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -60548,7 +60508,7 @@ i32.const 3152 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60560,8 +60520,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -60594,7 +60554,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -60613,7 +60573,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -60674,7 +60634,7 @@ i32.const 3184 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60686,8 +60646,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -60720,7 +60680,7 @@ local.set $11 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $4 @@ -60739,7 +60699,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -60800,7 +60760,7 @@ i32.const 3216 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -60812,8 +60772,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -60846,7 +60806,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $5 @@ -60865,7 +60825,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -61683,7 +61643,7 @@ i32.const 3248 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -61695,8 +61655,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $6 i32.store $0 @@ -61731,7 +61691,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $1 @@ -61750,7 +61710,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -61929,7 +61889,7 @@ i32.const 3344 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -61941,8 +61901,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $6 i32.store $0 @@ -61979,7 +61939,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $1 @@ -61998,7 +61958,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -62059,7 +62019,7 @@ i32.const 3376 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62071,8 +62031,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $6 i32.store $0 @@ -62109,7 +62069,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $1 @@ -62128,7 +62088,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -62189,7 +62149,7 @@ i32.const 3408 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62201,8 +62161,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $6 i32.store $0 @@ -62239,7 +62199,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $1 @@ -62258,7 +62218,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -62317,7 +62277,7 @@ i32.const 3440 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62329,8 +62289,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $6 i32.store $0 @@ -62367,7 +62327,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $6 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $1 @@ -62386,7 +62346,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $1 @@ -62447,7 +62407,7 @@ i32.const 3472 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62459,8 +62419,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $1 i32.store $0 @@ -62495,7 +62455,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -62514,7 +62474,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -62575,7 +62535,7 @@ i32.const 3504 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62587,8 +62547,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $1 i32.store $0 @@ -62623,7 +62583,7 @@ local.set $10 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $3 @@ -62642,7 +62602,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $3 @@ -62703,7 +62663,7 @@ i32.const 3536 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62715,8 +62675,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $1 i32.store $0 @@ -62751,7 +62711,7 @@ local.set $11 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $4 @@ -62770,7 +62730,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -62831,7 +62791,7 @@ i32.const 3568 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -62843,8 +62803,8 @@ i64.const 0 i64.store $0 local.get $0 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $0 local.get $1 i32.store $0 @@ -62879,7 +62839,7 @@ local.set $12 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 4 global.set $~argumentsLength local.get $5 @@ -62898,7 +62858,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer local.get $5 @@ -66017,7 +65977,7 @@ i32.const 7200 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66029,8 +65989,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66061,7 +66021,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $8 @@ -66078,7 +66038,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -66327,7 +66287,7 @@ i32.const 7296 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66339,8 +66299,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66373,7 +66333,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $8 @@ -66390,7 +66350,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -66476,7 +66436,7 @@ i32.const 7328 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66488,8 +66448,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66522,7 +66482,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $8 @@ -66539,7 +66499,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -66619,7 +66579,7 @@ i32.const 7360 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66631,8 +66591,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66665,7 +66625,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $8 @@ -66682,7 +66642,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -66762,7 +66722,7 @@ i32.const 7392 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66774,8 +66734,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66808,7 +66768,7 @@ local.set $8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $8 @@ -66825,7 +66785,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -66908,7 +66868,7 @@ i32.const 7424 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -66920,8 +66880,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -66954,7 +66914,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $3 @@ -66971,7 +66931,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -67054,7 +67014,7 @@ i32.const 7456 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -67066,8 +67026,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -67100,7 +67060,7 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $3 @@ -67117,7 +67077,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -67200,7 +67160,7 @@ i32.const 7488 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -67212,8 +67172,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -67246,7 +67206,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $4 @@ -67263,7 +67223,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount @@ -67346,7 +67306,7 @@ i32.const 7520 i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -67358,8 +67318,8 @@ i64.const 0 i64.store $0 local.get $6 - i64.const 0 - i64.store $0 offset=8 + i32.const 0 + i32.store $0 offset=8 local.get $6 local.get $0 i32.store $0 @@ -67392,7 +67352,7 @@ local.set $5 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=12 + i32.store $0 offset=8 i32.const 3 global.set $~argumentsLength local.get $5 @@ -67409,7 +67369,7 @@ end end global.get $~lib/memory/__stack_pointer - i32.const 16 + i32.const 12 i32.add global.set $~lib/memory/__stack_pointer global.get $std/typedarray/forEachCallCount diff --git a/tests/compiler/templateliteral.debug.wat b/tests/compiler/templateliteral.debug.wat index 75092f31b9..d725adb848 100644 --- a/tests/compiler/templateliteral.debug.wat +++ b/tests/compiler/templateliteral.debug.wat @@ -4929,13 +4929,13 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 36 + i32.const 32 memory.fill $0 global.get $~lib/memory/__stack_pointer i32.const 32 @@ -5020,7 +5020,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=32 + i32.store $0 offset=20 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 720 @@ -5034,7 +5034,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=32 + i32.store $0 offset=20 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 720 @@ -5072,7 +5072,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.add global.set $~lib/memory/__stack_pointer ) @@ -5083,13 +5083,13 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 28 + i32.const 24 memory.fill $0 i32.const 1 local.set $a @@ -5180,7 +5180,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=12 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2656 @@ -5194,7 +5194,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=12 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 2656 @@ -5232,7 +5232,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -5243,13 +5243,13 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 28 + i32.const 24 memory.fill $0 f64.const 1 local.set $a @@ -5340,7 +5340,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=12 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 3952 @@ -5354,7 +5354,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=12 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 3952 @@ -5392,7 +5392,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer ) @@ -5883,7 +5883,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=20 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 4416 @@ -5897,7 +5897,7 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=24 + i32.store $0 offset=20 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#__uset i32.const 4416 @@ -6002,13 +6002,13 @@ (local $3 i32) (local $4 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer call $~stack_check global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 global.get $~lib/memory/__stack_pointer local.get $this @@ -6032,7 +6032,7 @@ call $templateliteral/RecursiveObject#get:key local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6096,12 +6096,12 @@ local.set $4 global.get $~lib/memory/__stack_pointer local.get $4 - i32.store $0 offset=20 + i32.store $0 offset=16 local.get $4 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $4 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $4 @@ -6171,19 +6171,19 @@ local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=8 + i32.store $0 offset=20 local.get $3 call $templateliteral/RecursiveObject#toString local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 offset=20 + i32.store $0 local.get $3 i32.const 4624 local.set $3 global.get $~lib/memory/__stack_pointer local.get $3 - i32.store $0 + i32.store $0 offset=8 local.get $3 call $~lib/string/String.__eq i32.eqz diff --git a/tests/compiler/templateliteral.release.wat b/tests/compiler/templateliteral.release.wat index 4f4a8d016b..0048219b20 100644 --- a/tests/compiler/templateliteral.release.wat +++ b/tests/compiler/templateliteral.release.wat @@ -3007,7 +3007,7 @@ i32.const 1504 global.set $~lib/rt/itcms/fromSpace global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.sub global.set $~lib/memory/__stack_pointer block $folding-inner1 @@ -3018,7 +3018,7 @@ global.get $~lib/memory/__stack_pointer local.tee $0 i32.const 0 - i32.const 36 + i32.const 32 memory.fill $0 local.get $0 i32.const 1056 @@ -3085,7 +3085,7 @@ i32.store $0 offset=16 local.get $0 i32.const 1056 - i32.store $0 offset=32 + i32.store $0 offset=20 i32.const 1744 i32.const 1 i32.const 1056 @@ -3095,7 +3095,7 @@ i32.store $0 offset=16 global.get $~lib/memory/__stack_pointer i32.const 1088 - i32.store $0 offset=32 + i32.store $0 offset=20 i32.const 1744 i32.const 3 i32.const 1088 @@ -3128,11 +3128,11 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 36 + i32.const 32 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -3141,7 +3141,7 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 28 + i32.const 24 memory.fill $0 i32.const 1 call $~lib/number/I32#toString @@ -3213,7 +3213,7 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=24 + i32.store $0 offset=12 i32.const 3680 i32.const 1 local.get $0 @@ -3223,7 +3223,7 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=24 + i32.store $0 offset=12 i32.const 3680 i32.const 3 local.get $1 @@ -3256,11 +3256,11 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -3269,7 +3269,7 @@ br_if $folding-inner1 global.get $~lib/memory/__stack_pointer i32.const 0 - i32.const 28 + i32.const 24 memory.fill $0 f64.const 1 call $~lib/number/F64#toString @@ -3341,7 +3341,7 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=24 + i32.store $0 offset=12 i32.const 4976 i32.const 1 local.get $0 @@ -3351,7 +3351,7 @@ i32.store $0 offset=8 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=24 + i32.store $0 offset=12 i32.const 4976 i32.const 3 local.get $1 @@ -3384,7 +3384,7 @@ unreachable end global.get $~lib/memory/__stack_pointer - i32.const 28 + i32.const 24 i32.add global.set $~lib/memory/__stack_pointer call $templateliteral/test_fast_paths_string @@ -3497,7 +3497,7 @@ i32.store $0 offset=16 global.get $~lib/memory/__stack_pointer local.get $1 - i32.store $0 offset=24 + i32.store $0 offset=20 i32.const 5440 i32.const 1 local.get $1 @@ -3507,7 +3507,7 @@ i32.store $0 offset=16 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=24 + i32.store $0 offset=20 i32.const 5440 i32.const 3 local.get $0 @@ -3591,16 +3591,16 @@ i32.store $0 offset=16 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=8 + i32.store $0 offset=20 local.get $0 call $templateliteral/RecursiveObject#toString local.set $0 global.get $~lib/memory/__stack_pointer local.get $0 - i32.store $0 offset=20 + i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 5648 - i32.store $0 + i32.store $0 offset=8 local.get $0 i32.const 5648 call $~lib/string/String.__eq @@ -4627,7 +4627,7 @@ (local $1 i32) (local $2 i32) global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.sub global.set $~lib/memory/__stack_pointer global.get $~lib/memory/__stack_pointer @@ -4644,7 +4644,7 @@ global.get $~lib/memory/__stack_pointer local.tee $1 i32.const 0 - i32.const 24 + i32.const 20 memory.fill $0 local.get $1 local.get $0 @@ -4665,7 +4665,7 @@ i32.load $0 local.set $0 local.get $1 - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $0 @@ -4713,12 +4713,12 @@ i32.store $0 global.get $~lib/memory/__stack_pointer i32.const 1184 - i32.store $0 offset=20 + i32.store $0 offset=16 i32.const 5616 call $~lib/staticarray/StaticArray<~lib/string/String>#join local.set $0 global.get $~lib/memory/__stack_pointer - i32.const 24 + i32.const 20 i32.add global.set $~lib/memory/__stack_pointer local.get $0