diff --git a/src/compiler.ts b/src/compiler.ts index a6301298de..cac03776d5 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -1592,9 +1592,9 @@ export class Compiler extends DiagnosticEmitter { var bufferAddress32 = i64_low(bufferSegment.offset) + runtimeHeaderSize; assert(!program.options.isWasm64); // TODO - assert(arrayInstance.writeField("data", bufferAddress32, buf, runtimeHeaderSize)); + assert(arrayInstance.writeField("buffer", bufferAddress32, buf, runtimeHeaderSize)); assert(arrayInstance.writeField("dataStart", bufferAddress32, buf, runtimeHeaderSize)); - assert(arrayInstance.writeField("dataLength", bufferLength, buf, runtimeHeaderSize)); + assert(arrayInstance.writeField("byteLength", bufferLength, buf, runtimeHeaderSize)); assert(arrayInstance.writeField("length_", arrayLength, buf, runtimeHeaderSize)); return this.addMemorySegment(buf); diff --git a/std/assembly/array.ts b/std/assembly/array.ts index 6ff7bc99a7..0c221b5061 100644 --- a/std/assembly/array.ts +++ b/std/assembly/array.ts @@ -2,25 +2,25 @@ import { BLOCK_MAXSIZE } from "./rt/common"; import { COMPARATOR, SORT } from "./util/sort"; -import { ArrayBuffer, ArrayBufferView } from "./arraybuffer"; +import { ArrayBufferView } from "./arraybuffer"; import { joinBooleanArray, joinIntegerArray, joinFloatArray, joinStringArray, joinArrays, joinObjectArray } from "./util/string"; import { idof, isArray as builtin_isArray } from "./builtins"; import { E_INDEXOUTOFRANGE, E_INVALIDLENGTH, E_EMPTYARRAY, E_HOLEYARRAY } from "./util/error"; /** Ensures that the given array has _at least_ the specified backing size. */ function ensureSize(array: usize, minSize: usize, alignLog2: u32): void { - var oldCapacity = changetype(array).dataLength; - if (minSize > oldCapacity >>> alignLog2) { + var oldCapacity = changetype(array).byteLength; + if (minSize > oldCapacity >>> alignLog2) { if (minSize > BLOCK_MAXSIZE >>> alignLog2) throw new RangeError(E_INVALIDLENGTH); - let oldData = changetype(changetype(array).data); + let oldData = changetype(changetype(array).buffer); let newCapacity = minSize << alignLog2; let newData = __realloc(oldData, newCapacity); memory.fill(newData + oldCapacity, 0, newCapacity - oldCapacity); if (newData !== oldData) { // oldData has been free'd - store(changetype(array), __retain(newData), offsetof("data")); - changetype(array).dataStart = newData; + store(array, __retain(newData), offsetof("buffer")); + store(array, newData, offsetof("dataStart")); } - changetype(array).dataLength = newCapacity; + store(array, newCapacity, offsetof("byteLength")); } } @@ -53,10 +53,6 @@ export class Array extends ArrayBufferView { this.length_ = length; } - @unsafe get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.length_; } @@ -492,6 +488,6 @@ export class Array extends ArrayBufferView { cur += sizeof(); } } - // automatically visits ArrayBufferView (.data) next + // automatically visits ArrayBufferView (.buffer) next } } diff --git a/std/assembly/arraybuffer.ts b/std/assembly/arraybuffer.ts index ea44f6c6b9..b77e20ea43 100644 --- a/std/assembly/arraybuffer.ts +++ b/std/assembly/arraybuffer.ts @@ -6,31 +6,27 @@ import { E_INVALIDLENGTH } from "./util/error"; export abstract class ArrayBufferView { - @unsafe data: ArrayBuffer; - @unsafe dataStart: usize; - @unsafe dataLength: u32; - - protected constructor(length: i32, alignLog2: i32) { - if (length > BLOCK_MAXSIZE >>> alignLog2) throw new RangeError(E_INVALIDLENGTH); - var buffer = __alloc(length = length << alignLog2, idof()); - memory.fill(buffer, 0, length); - this.data = changetype(buffer); // retains - this.dataStart = buffer; - this.dataLength = length; - } + readonly buffer: ArrayBuffer; + @unsafe readonly dataStart: usize; + readonly byteLength: i32; get byteOffset(): i32 { - return (this.dataStart - changetype(this.data)); - } - - get byteLength(): i32 { - return this.dataLength; + return (this.dataStart - changetype(this.buffer)); } get length(): i32 { ERROR("missing implementation: subclasses must implement ArrayBufferView#length"); return unreachable(); } + + protected constructor(length: i32, alignLog2: i32) { + if (length > BLOCK_MAXSIZE >>> alignLog2) throw new RangeError(E_INVALIDLENGTH); + var buffer = __alloc(length = length << alignLog2, idof()); + memory.fill(buffer, 0, length); + this.buffer = changetype(buffer); // retains + this.dataStart = buffer; + this.byteLength = length; + } } @sealed export class ArrayBuffer { diff --git a/std/assembly/dataview.ts b/std/assembly/dataview.ts index 48e1ed8079..6fb39bda5c 100644 --- a/std/assembly/dataview.ts +++ b/std/assembly/dataview.ts @@ -6,9 +6,13 @@ import { E_INDEXOUTOFRANGE, E_INVALIDLENGTH } from "./util/error"; export class DataView { - private data: ArrayBuffer; - private dataStart: usize; - private dataLength: i32; + readonly buffer: ArrayBuffer; + @unsafe readonly dataStart: usize; + readonly byteLength: i32; + + get byteOffset(): i32 { + return (this.dataStart - changetype(this.buffer)); + } constructor( buffer: ArrayBuffer, @@ -19,28 +23,15 @@ export class DataView { i32(byteLength > BLOCK_MAXSIZE) | i32(byteOffset + byteLength > buffer.byteLength) ) throw new RangeError(E_INVALIDLENGTH); - this.data = buffer; // retains + this.buffer = buffer; // retains var dataStart = changetype(buffer) + byteOffset; this.dataStart = dataStart; - this.dataLength = byteLength; - } - - get buffer(): ArrayBuffer { - return this.data; - } - - get byteOffset(): i32 { - return (this.dataStart - changetype(this.data)); - } - - get byteLength(): i32 { - return this.dataLength; + this.byteLength = byteLength; } getFloat32(byteOffset: i32, littleEndian: boolean = false): f32 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); return littleEndian ? load(this.dataStart + byteOffset) @@ -53,8 +44,7 @@ export class DataView { getFloat64(byteOffset: i32, littleEndian: boolean = false): f64 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); return littleEndian ? load(this.dataStart + byteOffset) @@ -66,14 +56,13 @@ export class DataView { } getInt8(byteOffset: i32): i8 { - if (byteOffset >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (byteOffset >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + byteOffset); } getInt16(byteOffset: i32, littleEndian: boolean = false): i16 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 2 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 2 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result: i16 = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); @@ -81,22 +70,20 @@ export class DataView { getInt32(byteOffset: i32, littleEndian: boolean = false): i32 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result: i32 = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); } getUint8(byteOffset: i32): u8 { - if (byteOffset >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (byteOffset >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + byteOffset); } getUint16(byteOffset: i32, littleEndian: boolean = false): u16 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 2 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 2 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result: u16 = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); @@ -104,8 +91,7 @@ export class DataView { getUint32(byteOffset: i32, littleEndian: boolean = false): u32 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result: u32 = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); @@ -113,8 +99,7 @@ export class DataView { setFloat32(byteOffset: i32, value: f32, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); if (littleEndian) store(this.dataStart + byteOffset, value); else store(this.dataStart + byteOffset, bswap(reinterpret(value))); @@ -122,51 +107,46 @@ export class DataView { setFloat64(byteOffset: i32, value: f64, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); if (littleEndian) store(this.dataStart + byteOffset, value); else store(this.dataStart + byteOffset, bswap(reinterpret(value))); } setInt8(byteOffset: i32, value: i8): void { - if (byteOffset >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (byteOffset >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, value); } setInt16(byteOffset: i32, value: i16, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 2 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 2 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } setInt32(byteOffset: i32, value: i32, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } setUint8(byteOffset: i32, value: u8): void { - if (byteOffset >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (byteOffset >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, value); } setUint16(byteOffset: i32, value: u16, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 2 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 2 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } setUint32(byteOffset: i32, value: u32, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 4 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 4 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } @@ -175,8 +155,7 @@ export class DataView { getInt64(byteOffset: i32, littleEndian: boolean = false): i64 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result: i64 = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); @@ -184,8 +163,7 @@ export class DataView { getUint64(byteOffset: i32, littleEndian: boolean = false): u64 { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); var result = load(this.dataStart + byteOffset); return littleEndian ? result : bswap(result); @@ -193,16 +171,14 @@ export class DataView { setInt64(byteOffset: i32, value: i64, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } setUint64(byteOffset: i32, value: u64, littleEndian: boolean = false): void { if ( - i32(byteOffset < 0) | - i32(byteOffset + 8 > this.dataLength) + (byteOffset >>> 31) | i32(byteOffset + 8 > this.byteLength) ) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + byteOffset, littleEndian ? value : bswap(value)); } diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index c98833861f..cd83a7c7af 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -1154,8 +1154,7 @@ interface ArrayLike { } /** Interface for a typed view on an array buffer. */ -interface ArrayBufferView { - [key: number]: T; +interface ArrayBufferView { /** The {@link ArrayBuffer} referenced by this view. */ readonly buffer: ArrayBuffer; /** The offset in bytes from the start of the referenced {@link ArrayBuffer}. */ @@ -1165,12 +1164,12 @@ interface ArrayBufferView { } /* @internal */ -declare abstract class TypedArray implements ArrayBufferView { +declare abstract class TypedArray implements ArrayBufferView { [key: number]: T; /** Number of bytes per element. */ static readonly BYTES_PER_ELEMENT: usize; /** Wrap an ArrayBuffer */ - static wrap(buffer: ArrayBuffer, byteOffset?: i32, length?: i32): TypedArray; + static wrap(buffer: ArrayBuffer, byteOffset?: i32, length?: i32): ArrayBufferView; /** Constructs a new typed array. */ constructor(length: i32); /** The {@link ArrayBuffer} referenced by this view. */ diff --git a/std/assembly/rt.ts b/std/assembly/rt.ts index de9b855386..ce82dcd28b 100644 --- a/std/assembly/rt.ts +++ b/std/assembly/rt.ts @@ -41,9 +41,9 @@ export function __allocArray(length: i32, alignLog2: usize, id: u32, data: usize var array = __alloc(offsetof(), id); var bufferSize = length << alignLog2; var buffer = __alloc(bufferSize, idof()); - store(array, __retain(buffer), offsetof("data")); - changetype(array).dataStart = buffer; - changetype(array).dataLength = bufferSize; + store(array, __retain(buffer), offsetof("buffer")); + store(array, buffer, offsetof("dataStart")); + store(array, bufferSize, offsetof("byteLength")); store(changetype(array), length, offsetof("length_")); if (data) memory.copy(buffer, data, bufferSize); return array; diff --git a/std/assembly/typedarray.ts b/std/assembly/typedarray.ts index 6330045755..3a8c35e52e 100644 --- a/std/assembly/typedarray.ts +++ b/std/assembly/typedarray.ts @@ -15,17 +15,13 @@ export class Int8Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength; } @operator("[]") private __get(index: i32): i8 { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + index); } @@ -36,7 +32,7 @@ export class Int8Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: native): void { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + index, value); } @@ -143,17 +139,13 @@ export class Uint8Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength; } @operator("[]") private __get(index: i32): u8 { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + index); } @@ -164,7 +156,7 @@ export class Uint8Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: native): void { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + index, value); } @@ -271,17 +263,13 @@ export class Uint8ClampedArray extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength; } @operator("[]") private __get(index: i32): u8 { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + index); } @@ -292,7 +280,7 @@ export class Uint8ClampedArray extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: native): void { - if (index >= this.dataLength) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + index, ~(value >> 31) & (((255 - value) >> 31) | value)); } @@ -399,17 +387,13 @@ export class Int16Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): i16 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -420,7 +404,7 @@ export class Int16Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: native): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -527,17 +511,13 @@ export class Uint16Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): u16 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -548,7 +528,7 @@ export class Uint16Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: native): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -655,17 +635,13 @@ export class Int32Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): i32 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -676,7 +652,7 @@ export class Int32Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: i32): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -783,17 +759,13 @@ export class Uint32Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): u32 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -804,7 +776,7 @@ export class Uint32Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: u32): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -911,17 +883,13 @@ export class Int64Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): i64 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -932,7 +900,7 @@ export class Int64Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: i64): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -1039,17 +1007,13 @@ export class Uint64Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): u64 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -1060,7 +1024,7 @@ export class Uint64Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: u64): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -1167,17 +1131,13 @@ export class Float32Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): f32 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -1188,7 +1148,7 @@ export class Float32Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: f32): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -1295,17 +1255,13 @@ export class Float64Array extends ArrayBufferView { super(length, alignof()); } - get buffer(): ArrayBuffer { - return this.data; - } - get length(): i32 { return this.byteLength >>> alignof(); } @operator("[]") private __get(index: i32): f64 { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); return load(this.dataStart + (index << alignof())); } @@ -1316,7 +1272,7 @@ export class Float64Array extends ArrayBufferView { @operator("[]=") private __set(index: i32, value: f64): void { - if (index >= this.dataLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); + if (index >= this.byteLength >>> alignof()) throw new RangeError(E_INDEXOUTOFRANGE); store(this.dataStart + (index << alignof()), value); } @@ -1487,11 +1443,12 @@ function SUBARRAY( begin = begin < 0 ? max(len + begin, 0) : min(begin, len); end = end < 0 ? max(len + end, 0) : min(end, len); end = max(end, begin); - var out = changetype(__alloc(offsetof(), idof())); // retains - out.data = array.data; // retains - out.dataStart = array.dataStart + (begin << alignof()); - out.dataLength = (end - begin) << alignof(); - return out; + + var out = __alloc(offsetof(), idof()); + store(out, __retain(changetype(array.buffer)), offsetof("buffer")); + store(out, array.dataStart + (begin << alignof()), offsetof("dataStart")); + store(out, (end - begin) << alignof(), offsetof("byteLength")); + return changetype(out); // retains } // @ts-ignore: decorator @@ -1557,19 +1514,18 @@ function MAP( var dataStart = array.dataStart; var byteLength = len << alignof(); - var out = changetype(__alloc(offsetof(), idof())); + var out = __alloc(offsetof(), idof()); var buffer = __alloc(byteLength, idof()); - out.data = changetype(buffer); // retain - out.dataStart = buffer; - out.dataLength = byteLength; - for (let i = 0; i < len; i++) { store( buffer + (i << alignof()), fn(load(dataStart + (i << alignof())), i, array) ); } - return out; + store(out, __retain(buffer), offsetof("buffer")); + store(out, buffer, offsetof("dataStart")); + store(out, byteLength, offsetof("byteLength")); + return changetype(out); // retains } // @ts-ignore: decorator @@ -1579,7 +1535,7 @@ function FILTER( fn: (value: T, index: i32, self: TArray) => bool, ): TArray { var len = array.length; - var out = changetype(__alloc(offsetof(), idof())); + var out = __alloc(offsetof(), idof()); var buffer = __alloc(len << alignof(), idof()); var dataStart = array.dataStart; var j: usize = 0; @@ -1593,12 +1549,12 @@ function FILTER( } } // shrink output buffer - var length = j << alignof(); - var data = __realloc(buffer, length); - out.data = changetype(data); // retain - out.dataStart = data; - out.dataLength = length; - return out; + var byteLength = j << alignof(); + var data = __realloc(buffer, byteLength); + store(out, __retain(data), offsetof("buffer")); + store(out, byteLength, offsetof("byteLength")); + store(out, data, offsetof("dataStart")); + return changetype(out); // retains } // @ts-ignore: decorator @@ -1741,9 +1697,9 @@ function WRAP(buffer: ArrayBuffer, byteOffset if (byteOffset + byteLength > buffer.byteLength) { throw new RangeError(E_INVALIDLENGTH); } - var out = changetype(__alloc(offsetof(), idof())); - out.data = buffer; - out.dataLength = byteLength; - out.dataStart = changetype(buffer) + byteOffset; - return out; + var out = __alloc(offsetof(), idof()); + store(out, __retain(changetype(buffer)), offsetof("buffer")); + store(out, byteLength, offsetof("byteLength")); + store(out, changetype(buffer) + byteOffset, offsetof("dataStart")); + return changetype(out); // retains } diff --git a/tests/compiler/assert-nonnull.optimized.wat b/tests/compiler/assert-nonnull.optimized.wat index e722118b4f..2149cccbed 100644 --- a/tests/compiler/assert-nonnull.optimized.wat +++ b/tests/compiler/assert-nonnull.optimized.wat @@ -64,7 +64,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -76,7 +76,7 @@ if i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -100,7 +100,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/assert-nonnull.untouched.wat b/tests/compiler/assert-nonnull.untouched.wat index e6eeed6976..6b4be00840 100644 --- a/tests/compiler/assert-nonnull.untouched.wat +++ b/tests/compiler/assert-nonnull.untouched.wat @@ -107,7 +107,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -123,7 +123,7 @@ call $~lib/rt/stub/__release i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -168,7 +168,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/builtins.optimized.wat b/tests/compiler/builtins.optimized.wat index cc18c11f31..59ba168f04 100644 --- a/tests/compiler/builtins.optimized.wat +++ b/tests/compiler/builtins.optimized.wat @@ -732,8 +732,8 @@ f64.const 0 f64.const 0 f64.const 12 - f64.const 27 - f64.const 27 + f64.const 25 + f64.const 25 call $~lib/builtins/trace i32.const 176 i32.const 176 diff --git a/tests/compiler/builtins.untouched.wat b/tests/compiler/builtins.untouched.wat index 531613b635..f51c9619ee 100644 --- a/tests/compiler/builtins.untouched.wat +++ b/tests/compiler/builtins.untouched.wat @@ -1340,9 +1340,9 @@ local.set $1 i32.const 12 local.set $4 - i32.const 27 + i32.const 25 local.set $5 - i32.const 27 + i32.const 25 local.set $6 i32.const 104 i32.const 5 diff --git a/tests/compiler/resolve-access.optimized.wat b/tests/compiler/resolve-access.optimized.wat index 4ae0f1c841..d7ea06f1cc 100644 --- a/tests/compiler/resolve-access.optimized.wat +++ b/tests/compiler/resolve-access.optimized.wat @@ -313,7 +313,7 @@ if i32.const 48 i32.const 104 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/resolve-access.untouched.wat b/tests/compiler/resolve-access.untouched.wat index bd61823064..2a3adb026a 100644 --- a/tests/compiler/resolve-access.untouched.wat +++ b/tests/compiler/resolve-access.untouched.wat @@ -1449,7 +1449,7 @@ if i32.const 48 i32.const 104 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/resolve-elementaccess.optimized.wat b/tests/compiler/resolve-elementaccess.optimized.wat index 07ec87fd69..0885bda4bc 100644 --- a/tests/compiler/resolve-elementaccess.optimized.wat +++ b/tests/compiler/resolve-elementaccess.optimized.wat @@ -224,7 +224,7 @@ if i32.const 128 i32.const 184 - i32.const 1191 + i32.const 1151 i32.const 63 call $~lib/builtins/abort unreachable @@ -248,7 +248,7 @@ if i32.const 128 i32.const 184 - i32.const 1180 + i32.const 1140 i32.const 63 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/resolve-elementaccess.untouched.wat b/tests/compiler/resolve-elementaccess.untouched.wat index c193750d5e..d2006b8c2c 100644 --- a/tests/compiler/resolve-elementaccess.untouched.wat +++ b/tests/compiler/resolve-elementaccess.untouched.wat @@ -442,7 +442,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -527,7 +527,7 @@ if i32.const 128 i32.const 184 - i32.const 1191 + i32.const 1151 i32.const 63 call $~lib/builtins/abort unreachable @@ -551,7 +551,7 @@ if i32.const 128 i32.const 184 - i32.const 1180 + i32.const 1140 i32.const 63 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/retain-release-sanity.optimized.wat b/tests/compiler/retain-release-sanity.optimized.wat index 84556e2e72..6dbbd81bf0 100644 --- a/tests/compiler/retain-release-sanity.optimized.wat +++ b/tests/compiler/retain-release-sanity.optimized.wat @@ -1997,7 +1997,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -2298,7 +2298,7 @@ if i32.const 424 i32.const 376 - i32.const 274 + i32.const 270 i32.const 20 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/retain-release-sanity.untouched.wat b/tests/compiler/retain-release-sanity.untouched.wat index 9d2ccd8933..6ee9cd3996 100644 --- a/tests/compiler/retain-release-sanity.untouched.wat +++ b/tests/compiler/retain-release-sanity.untouched.wat @@ -3548,7 +3548,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -3909,7 +3909,7 @@ if i32.const 424 i32.const 376 - i32.const 274 + i32.const 270 i32.const 20 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array-access.optimized.wat b/tests/compiler/std/array-access.optimized.wat index 70f5d67550..837b6ab683 100644 --- a/tests/compiler/std/array-access.optimized.wat +++ b/tests/compiler/std/array-access.optimized.wat @@ -25,7 +25,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -42,7 +42,7 @@ if i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -57,7 +57,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array-access.untouched.wat b/tests/compiler/std/array-access.untouched.wat index 224fcd7c50..a9cae69364 100644 --- a/tests/compiler/std/array-access.untouched.wat +++ b/tests/compiler/std/array-access.untouched.wat @@ -46,7 +46,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -62,7 +62,7 @@ call $~lib/rt/stub/__release i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -87,7 +87,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -136,7 +136,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -152,7 +152,7 @@ call $~lib/rt/stub/__release i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -364,7 +364,7 @@ if i32.const 24 i32.const 80 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -380,7 +380,7 @@ call $~lib/rt/stub/__release i32.const 128 i32.const 80 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array-literal.optimized.wat b/tests/compiler/std/array-literal.optimized.wat index 516e9e2df6..6cdac6da41 100644 --- a/tests/compiler/std/array-literal.optimized.wat +++ b/tests/compiler/std/array-literal.optimized.wat @@ -47,7 +47,7 @@ if i32.const 136 i32.const 192 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -66,7 +66,7 @@ if i32.const 136 i32.const 192 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array-literal.untouched.wat b/tests/compiler/std/array-literal.untouched.wat index 40b963b838..ce577611f0 100644 --- a/tests/compiler/std/array-literal.untouched.wat +++ b/tests/compiler/std/array-literal.untouched.wat @@ -71,7 +71,7 @@ if i32.const 136 i32.const 192 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -104,7 +104,7 @@ if i32.const 136 i32.const 192 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array.optimized.wat b/tests/compiler/std/array.optimized.wat index 17f3638e63..6b3ec8ec03 100644 --- a/tests/compiler/std/array.optimized.wat +++ b/tests/compiler/std/array.optimized.wat @@ -2212,7 +2212,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -2411,7 +2411,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -2563,7 +2563,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -2906,7 +2906,7 @@ if i32.const 872 i32.const 488 - i32.const 274 + i32.const 270 i32.const 20 call $~lib/builtins/abort unreachable @@ -2951,7 +2951,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 488 - i32.const 204 + i32.const 200 i32.const 59 call $~lib/builtins/abort unreachable @@ -3131,7 +3131,7 @@ if i32.const 872 i32.const 488 - i32.const 335 + i32.const 331 i32.const 20 call $~lib/builtins/abort unreachable @@ -3967,7 +3967,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -4910,11 +4910,15 @@ local.get $2 call $~lib/array/Array#__get call $~lib/number/isNaN - local.get $1 - local.get $2 - call $~lib/array/Array#__get - call $~lib/number/isNaN - i32.ne + if (result i32) + local.get $1 + local.get $2 + call $~lib/array/Array#__get + call $~lib/number/isNaN + else + i32.const 0 + end + i32.eqz if local.get $0 local.get $2 @@ -5392,7 +5396,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -5441,11 +5445,15 @@ local.get $2 call $~lib/array/Array#__get call $~lib/number/isNaN - local.get $1 - local.get $2 - call $~lib/array/Array#__get - call $~lib/number/isNaN - i32.ne + if (result i32) + local.get $1 + local.get $2 + call $~lib/array/Array#__get + call $~lib/number/isNaN + else + i32.const 0 + end + i32.eqz if local.get $0 local.get $2 @@ -6375,7 +6383,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -6390,7 +6398,7 @@ call $~lib/rt/pure/__release i32.const 4040 i32.const 488 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -6555,7 +6563,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/array.ts b/tests/compiler/std/array.ts index 61af5d4868..9862498137 100644 --- a/tests/compiler/std/array.ts +++ b/tests/compiler/std/array.ts @@ -5,7 +5,7 @@ import { COMPARATOR } from "util/sort"; function internalCapacity(array: Array): i32 { // the memory region used by the backing buffer might still be larger in that the ArrayBuffer // pre-allocates a power of 2 sized buffer itself and reuses it as long as it isn't exceeded. - var buffer: ArrayBuffer = array.data; + var buffer: ArrayBuffer = array.buffer; return buffer.byteLength >> alignof(); } @@ -18,7 +18,7 @@ function isArraysEqual(a: Array, b: Array, len: i32 = 0): bool { } for (let i = 0; i < len; i++) { if (isFloat()) { - if (isNaN(a[i]) == isNaN(b[i])) continue; + if (isNaN(a[i]) && isNaN(b[i])) continue; } if (a[i] != b[i]) return false; } diff --git a/tests/compiler/std/array.untouched.wat b/tests/compiler/std/array.untouched.wat index 108f78f14d..5bd5954115 100644 --- a/tests/compiler/std/array.untouched.wat +++ b/tests/compiler/std/array.untouched.wat @@ -3747,7 +3747,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -4093,7 +4093,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -4297,7 +4297,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -4710,7 +4710,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -4733,7 +4733,7 @@ if i32.const 872 i32.const 488 - i32.const 274 + i32.const 270 i32.const 20 call $~lib/builtins/abort unreachable @@ -4788,7 +4788,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 488 - i32.const 204 + i32.const 200 i32.const 59 call $~lib/builtins/abort unreachable @@ -5088,7 +5088,7 @@ if i32.const 872 i32.const 488 - i32.const 335 + i32.const 331 i32.const 20 call $~lib/builtins/abort unreachable @@ -6102,7 +6102,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -7459,11 +7459,14 @@ local.get $3 call $~lib/array/Array#__get call $~lib/number/isNaN - local.get $1 - local.get $3 - call $~lib/array/Array#__get - call $~lib/number/isNaN - i32.eq + if (result i32) + local.get $1 + local.get $3 + call $~lib/array/Array#__get + call $~lib/number/isNaN + else + i32.const 0 + end if br $continue|0 end @@ -8030,7 +8033,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -8103,11 +8106,14 @@ local.get $3 call $~lib/array/Array#__get call $~lib/number/isNaN - local.get $1 - local.get $3 - call $~lib/array/Array#__get - call $~lib/number/isNaN - i32.eq + if (result i32) + local.get $1 + local.get $3 + call $~lib/array/Array#__get + call $~lib/number/isNaN + else + i32.const 0 + end if br $continue|0 end @@ -9681,7 +9687,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -9697,7 +9703,7 @@ call $~lib/rt/pure/__release i32.const 4040 i32.const 488 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -10141,7 +10147,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -10157,7 +10163,7 @@ call $~lib/rt/pure/__release i32.const 4040 i32.const 488 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable @@ -10446,7 +10452,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -11433,7 +11439,7 @@ if i32.const 280 i32.const 488 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -11449,7 +11455,7 @@ call $~lib/rt/pure/__release i32.const 4040 i32.const 488 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/arraybuffer.optimized.wat b/tests/compiler/std/arraybuffer.optimized.wat index 6ae8aa7ff8..7cf228091a 100644 --- a/tests/compiler/std/arraybuffer.optimized.wat +++ b/tests/compiler/std/arraybuffer.optimized.wat @@ -2094,7 +2094,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -2196,7 +2196,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 456 - i32.const 21 + i32.const 25 i32.const 6 call $~lib/builtins/abort unreachable @@ -2247,7 +2247,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 8 i32.const 0 call $~lib/rt/tlsf/__alloc @@ -2391,10 +2390,10 @@ i32.const -4 i32.const 42 call $~lib/arraybuffer/ArrayBuffer#slice - local.set $3 + local.set $1 local.get $0 call $~lib/rt/pure/__release - local.get $3 + local.get $1 call $~lib/arraybuffer/ArrayBuffer#get:byteLength i32.const 4 i32.ne @@ -2410,10 +2409,10 @@ i32.const 42 i32.const 1073741808 call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 - local.get $3 - call $~lib/rt/pure/__release + local.set $0 local.get $1 + call $~lib/rt/pure/__release + local.get $0 call $~lib/arraybuffer/ArrayBuffer#get:byteLength if i32.const 0 @@ -2423,7 +2422,7 @@ call $~lib/builtins/abort unreachable end - local.get $1 + local.get $0 i32.eqz if i32.const 0 @@ -2479,7 +2478,7 @@ call $~lib/rt/pure/__retain i32.const 0 call $~lib/arraybuffer/ArrayBufferView#constructor - local.set $3 + local.set $1 call $~lib/rt/__allocArray call $~lib/rt/pure/__retain local.tee $5 @@ -2492,7 +2491,7 @@ call $~lib/builtins/abort unreachable end - local.get $3 + local.get $1 call $~lib/arraybuffer/ArrayBuffer.isView<~lib/typedarray/Uint8Array> i32.eqz if @@ -2509,8 +2508,8 @@ call $~lib/rt/pure/__retain i32.const 2 call $~lib/arraybuffer/ArrayBufferView#constructor - local.tee $0 - local.get $0 + local.tee $3 + local.get $3 call $~lib/arraybuffer/ArrayBuffer.isView<~lib/typedarray/Uint8Array> i32.eqz if @@ -2523,31 +2522,17 @@ end i32.const 1 global.set $~lib/argc - local.get $3 + local.get $1 i32.load - call $~lib/rt/pure/__retain - local.tee $0 - local.set $7 - block $2of2 - block $1of2 - block $outOfRange - global.get $~lib/argc - i32.const 1 - i32.sub - br_table $1of2 $1of2 $2of2 $outOfRange - end - unreachable - end - local.get $0 - call $~lib/arraybuffer/ArrayBuffer#get:byteLength - local.set $4 - end - local.get $0 + local.tee $3 + call $~lib/arraybuffer/ArrayBuffer#get:byteLength + local.set $4 + local.get $3 local.get $4 call $~lib/dataview/DataView#constructor - local.tee $0 + local.tee $3 local.set $4 - local.get $0 + local.get $3 call $~lib/arraybuffer/ArrayBuffer.isView<~lib/typedarray/Uint8Array> i32.eqz if @@ -2560,15 +2545,13 @@ end local.get $2 call $~lib/rt/pure/__release - local.get $1 + local.get $0 call $~lib/rt/pure/__release - local.get $3 + local.get $1 call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release local.get $4 call $~lib/rt/pure/__release ) diff --git a/tests/compiler/std/arraybuffer.untouched.wat b/tests/compiler/std/arraybuffer.untouched.wat index 431e95190e..b6146ac6e0 100644 --- a/tests/compiler/std/arraybuffer.untouched.wat +++ b/tests/compiler/std/arraybuffer.untouched.wat @@ -2034,7 +2034,7 @@ if i32.const 24 i32.const 72 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable @@ -3741,7 +3741,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -3892,7 +3892,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 456 - i32.const 21 + i32.const 25 i32.const 6 call $~lib/builtins/abort unreachable @@ -3946,12 +3946,7 @@ call $~lib/rt/pure/__release local.get $0 ) - (func $~lib/typedarray/Uint8Array#get:buffer (; 45 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/dataview/DataView#constructor|trampoline (; 46 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/dataview/DataView#constructor|trampoline (; 45 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -3976,14 +3971,13 @@ local.get $3 call $~lib/dataview/DataView#constructor ) - (func $start:std/arraybuffer (; 47 ;) (type $FUNCSIG$v) + (func $start:std/arraybuffer (; 46 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) - (local $6 i32) i32.const 0 i32.const 8 call $~lib/arraybuffer/ArrayBuffer#constructor @@ -4308,12 +4302,11 @@ global.set $~lib/argc i32.const 0 local.get $2 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $5 + i32.load i32.const 0 i32.const 0 call $~lib/dataview/DataView#constructor|trampoline - local.tee $6 + local.tee $5 call $~lib/arraybuffer/ArrayBuffer.isView<~lib/dataview/DataView> i32.eqz if @@ -4336,16 +4329,14 @@ call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release - local.get $6 - call $~lib/rt/pure/__release ) - (func $start (; 48 ;) (type $FUNCSIG$v) + (func $start (; 47 ;) (type $FUNCSIG$v) call $start:std/arraybuffer ) - (func $~lib/array/Array#__visit_impl (; 49 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 48 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/rt/pure/__visit (; 50 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/pure/__visit (; 49 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) local.get $0 @@ -4475,7 +4466,7 @@ end end ) - (func $~lib/rt/__visit_members (; 51 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/__visit_members (; 50 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) block $block$4$break block $switch$1$default @@ -4509,6 +4500,6 @@ end return ) - (func $null (; 52 ;) (type $FUNCSIG$v) + (func $null (; 51 ;) (type $FUNCSIG$v) ) ) diff --git a/tests/compiler/std/dataview.optimized.wat b/tests/compiler/std/dataview.optimized.wat index 2398d4006c..3b7d5ba5c0 100644 --- a/tests/compiler/std/dataview.optimized.wat +++ b/tests/compiler/std/dataview.optimized.wat @@ -1884,7 +1884,7 @@ if i32.const 280 i32.const 376 - i32.const 167 + i32.const 159 i32.const 44 call $~lib/builtins/abort unreachable @@ -1923,7 +1923,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 21 + i32.const 25 i32.const 6 call $~lib/builtins/abort unreachable @@ -1968,19 +1968,14 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#get:buffer (; 35 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/arraybuffer/ArrayBufferView#get:byteOffset (; 36 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/arraybuffer/ArrayBufferView#get:byteOffset (; 35 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=4 local.get $0 i32.load i32.sub ) - (func $~lib/polyfills/bswap (; 37 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 36 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const -16711936 i32.and @@ -1993,10 +1988,10 @@ i32.rotr i32.or ) - (func $~lib/dataview/DataView#getFloat32 (; 38 ;) (type $FUNCSIG$fiii) (param $0 i32) (param $1 i32) (param $2 i32) (result f32) + (func $~lib/dataview/DataView#getFloat32 (; 37 ;) (type $FUNCSIG$fiii) (param $0 i32) (param $1 i32) (param $2 i32) (result f32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -2007,7 +2002,7 @@ if i32.const 280 i32.const 432 - i32.const 44 + i32.const 35 i32.const 6 call $~lib/builtins/abort unreachable @@ -2029,7 +2024,7 @@ f32.reinterpret_i32 end ) - (func $~lib/polyfills/bswap (; 39 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) + (func $~lib/polyfills/bswap (; 38 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) local.get $0 i64.const 8 i64.shr_u @@ -2055,7 +2050,7 @@ i64.const 32 i64.rotr ) - (func $~lib/dataview/DataView#getFloat64 (; 40 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64) + (func $~lib/dataview/DataView#getFloat64 (; 39 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64) i32.const 8 local.get $0 i32.load offset=8 @@ -2063,7 +2058,7 @@ if i32.const 280 i32.const 432 - i32.const 58 + i32.const 48 i32.const 7 call $~lib/builtins/abort unreachable @@ -2081,7 +2076,7 @@ f64.reinterpret_i64 end ) - (func $~lib/dataview/DataView#getInt8 (; 41 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/dataview/DataView#getInt8 (; 40 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -2089,7 +2084,7 @@ if i32.const 280 i32.const 432 - i32.const 69 + i32.const 59 i32.const 49 call $~lib/builtins/abort unreachable @@ -2100,7 +2095,7 @@ i32.add i32.load8_s ) - (func $~lib/polyfills/bswap (; 42 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 41 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.shl @@ -2113,10 +2108,10 @@ i32.shl i32.or ) - (func $~lib/dataview/DataView#getInt16 (; 43 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getInt16 (; 42 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -2127,7 +2122,7 @@ if i32.const 280 i32.const 432 - i32.const 77 + i32.const 66 i32.const 7 call $~lib/builtins/abort unreachable @@ -2147,10 +2142,10 @@ end local.get $0 ) - (func $~lib/dataview/DataView#getInt32 (; 44 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getInt32 (; 43 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -2161,7 +2156,7 @@ if i32.const 280 i32.const 432 - i32.const 86 + i32.const 74 i32.const 7 call $~lib/builtins/abort unreachable @@ -2181,7 +2176,7 @@ end local.get $0 ) - (func $~lib/dataview/DataView#getInt64 (; 45 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) + (func $~lib/dataview/DataView#getInt64 (; 44 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) (local $2 i64) i32.const 8 local.get $0 @@ -2190,7 +2185,7 @@ if i32.const 280 i32.const 432 - i32.const 180 + i32.const 159 i32.const 6 call $~lib/builtins/abort unreachable @@ -2207,7 +2202,7 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#getUint8 (; 46 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/dataview/DataView#getUint8 (; 45 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -2215,7 +2210,7 @@ if i32.const 280 i32.const 432 - i32.const 92 + i32.const 80 i32.const 49 call $~lib/builtins/abort unreachable @@ -2226,7 +2221,7 @@ i32.add i32.load8_u ) - (func $~lib/polyfills/bswap (; 47 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 46 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 8 i32.shl @@ -2237,10 +2232,10 @@ i32.shr_u i32.or ) - (func $~lib/dataview/DataView#getUint16 (; 48 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getUint16 (; 47 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -2251,7 +2246,7 @@ if i32.const 280 i32.const 432 - i32.const 100 + i32.const 87 i32.const 6 call $~lib/builtins/abort unreachable @@ -2271,10 +2266,10 @@ end local.get $0 ) - (func $~lib/dataview/DataView#getUint32 (; 49 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getUint32 (; 48 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -2285,7 +2280,7 @@ if i32.const 280 i32.const 432 - i32.const 109 + i32.const 95 i32.const 6 call $~lib/builtins/abort unreachable @@ -2305,7 +2300,7 @@ end local.get $0 ) - (func $~lib/dataview/DataView#getUint64 (; 50 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) + (func $~lib/dataview/DataView#getUint64 (; 49 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) (local $2 i64) i32.const 8 local.get $0 @@ -2314,7 +2309,7 @@ if i32.const 280 i32.const 432 - i32.const 189 + i32.const 167 i32.const 6 call $~lib/builtins/abort unreachable @@ -2331,7 +2326,7 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#setFloat32 (; 51 ;) (type $FUNCSIG$vifi) (param $0 i32) (param $1 f32) (param $2 i32) + (func $~lib/dataview/DataView#setFloat32 (; 50 ;) (type $FUNCSIG$vifi) (param $0 i32) (param $1 f32) (param $2 i32) i32.const 4 local.get $0 i32.load offset=8 @@ -2339,7 +2334,7 @@ if i32.const 280 i32.const 432 - i32.const 118 + i32.const 103 i32.const 6 call $~lib/builtins/abort unreachable @@ -2359,7 +2354,7 @@ i32.store end ) - (func $~lib/dataview/DataView#setFloat64 (; 52 ;) (type $FUNCSIG$vidi) (param $0 i32) (param $1 f64) (param $2 i32) + (func $~lib/dataview/DataView#setFloat64 (; 51 ;) (type $FUNCSIG$vidi) (param $0 i32) (param $1 f64) (param $2 i32) i32.const 8 local.get $0 i32.load offset=8 @@ -2367,7 +2362,7 @@ if i32.const 280 i32.const 432 - i32.const 127 + i32.const 111 i32.const 6 call $~lib/builtins/abort unreachable @@ -2387,7 +2382,7 @@ i64.store end ) - (func $~lib/dataview/DataView#setInt8 (; 53 ;) (type $FUNCSIG$vi) (param $0 i32) + (func $~lib/dataview/DataView#setInt8 (; 52 ;) (type $FUNCSIG$vi) (param $0 i32) i32.const 0 local.get $0 i32.load offset=8 @@ -2395,7 +2390,7 @@ if i32.const 280 i32.const 432 - i32.const 133 + i32.const 117 i32.const 49 call $~lib/builtins/abort unreachable @@ -2405,7 +2400,7 @@ i32.const 108 i32.store8 ) - (func $~lib/dataview/DataView#setInt16 (; 54 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setInt16 (; 53 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) i32.const 2 local.get $0 i32.load offset=8 @@ -2413,7 +2408,7 @@ if i32.const 280 i32.const 432 - i32.const 141 + i32.const 124 i32.const 6 call $~lib/builtins/abort unreachable @@ -2429,7 +2424,7 @@ end i32.store16 ) - (func $~lib/dataview/DataView#setInt32 (; 55 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setInt32 (; 54 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) i32.const 4 local.get $0 i32.load offset=8 @@ -2437,7 +2432,7 @@ if i32.const 280 i32.const 432 - i32.const 149 + i32.const 131 i32.const 6 call $~lib/builtins/abort unreachable @@ -2453,7 +2448,7 @@ end i32.store ) - (func $~lib/dataview/DataView#setInt64 (; 56 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) + (func $~lib/dataview/DataView#setInt64 (; 55 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) i32.const 8 local.get $0 i32.load offset=8 @@ -2461,7 +2456,7 @@ if i32.const 280 i32.const 432 - i32.const 198 + i32.const 175 i32.const 6 call $~lib/builtins/abort unreachable @@ -2477,7 +2472,7 @@ end i64.store ) - (func $~lib/dataview/DataView#setUint8 (; 57 ;) (type $FUNCSIG$vi) (param $0 i32) + (func $~lib/dataview/DataView#setUint8 (; 56 ;) (type $FUNCSIG$vi) (param $0 i32) i32.const 0 local.get $0 i32.load offset=8 @@ -2485,7 +2480,7 @@ if i32.const 280 i32.const 432 - i32.const 154 + i32.const 136 i32.const 49 call $~lib/builtins/abort unreachable @@ -2495,7 +2490,7 @@ i32.const 238 i32.store8 ) - (func $~lib/dataview/DataView#setUint16 (; 58 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setUint16 (; 57 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) i32.const 2 local.get $0 i32.load offset=8 @@ -2503,7 +2498,7 @@ if i32.const 280 i32.const 432 - i32.const 162 + i32.const 143 i32.const 6 call $~lib/builtins/abort unreachable @@ -2519,7 +2514,7 @@ end i32.store16 ) - (func $~lib/dataview/DataView#setUint32 (; 59 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setUint32 (; 58 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) i32.const 4 local.get $0 i32.load offset=8 @@ -2527,7 +2522,7 @@ if i32.const 280 i32.const 432 - i32.const 170 + i32.const 150 i32.const 6 call $~lib/builtins/abort unreachable @@ -2543,7 +2538,7 @@ end i32.store ) - (func $~lib/dataview/DataView#setUint64 (; 60 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) + (func $~lib/dataview/DataView#setUint64 (; 59 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) i32.const 8 local.get $0 i32.load offset=8 @@ -2551,7 +2546,7 @@ if i32.const 280 i32.const 432 - i32.const 206 + i32.const 182 i32.const 6 call $~lib/builtins/abort unreachable @@ -2567,7 +2562,7 @@ end i64.store ) - (func $~lib/dataview/DataView#constructor|trampoline (; 61 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/dataview/DataView#constructor|trampoline (; 60 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) block $2of2 block $1of2 @@ -2588,12 +2583,10 @@ local.get $1 call $~lib/dataview/DataView#constructor ) - (func $start:std/dataview (; 62 ;) (type $FUNCSIG$v) + (func $start:std/dataview (; 61 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) - (local $3 i32) - (local $4 i32) i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc @@ -2632,8 +2625,7 @@ i32.const 95 call $~lib/typedarray/Uint8Array#__set local.get $1 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $3 + i32.load local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $1 @@ -4116,8 +4108,7 @@ i32.const 1 global.set $~lib/argc local.get $1 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $4 + i32.load call $~lib/dataview/DataView#constructor|trampoline local.set $2 local.get $0 @@ -4146,17 +4137,13 @@ end local.get $1 call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release ) - (func $start (; 63 ;) (type $FUNCSIG$v) + (func $start (; 62 ;) (type $FUNCSIG$v) call $start:std/dataview ) - (func $~lib/rt/pure/__visit (; 64 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/pure/__visit (; 63 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) local.get $0 i32.const 556 i32.lt_u @@ -4266,7 +4253,7 @@ unreachable end ) - (func $~lib/rt/__visit_members (; 65 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/__visit_members (; 64 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) block $switch$1$default block $switch$1$case$4 block $switch$1$case$2 @@ -4290,7 +4277,7 @@ end unreachable ) - (func $null (; 66 ;) (type $FUNCSIG$v) + (func $null (; 65 ;) (type $FUNCSIG$v) nop ) ) diff --git a/tests/compiler/std/dataview.untouched.wat b/tests/compiler/std/dataview.untouched.wat index 7ee1aa8ce3..4342b53b52 100644 --- a/tests/compiler/std/dataview.untouched.wat +++ b/tests/compiler/std/dataview.untouched.wat @@ -3553,7 +3553,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -3636,7 +3636,7 @@ if i32.const 280 i32.const 376 - i32.const 167 + i32.const 159 i32.const 44 call $~lib/builtins/abort unreachable @@ -3676,7 +3676,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 21 + i32.const 25 i32.const 6 call $~lib/builtins/abort unreachable @@ -3730,23 +3730,14 @@ call $~lib/rt/pure/__release local.get $0 ) - (func $~lib/typedarray/Uint8Array#get:buffer (; 37 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/arraybuffer/ArrayBufferView#get:byteOffset (; 38 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/arraybuffer/ArrayBufferView#get:byteOffset (; 37 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=4 local.get $0 i32.load i32.sub ) - (func $~lib/arraybuffer/ArrayBufferView#get:byteLength (; 39 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load offset=8 - ) - (func $~lib/polyfills/bswap (; 40 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 38 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const -16711936 i32.and @@ -3760,10 +3751,10 @@ i32.or return ) - (func $~lib/dataview/DataView#getFloat32 (; 41 ;) (type $FUNCSIG$fiii) (param $0 i32) (param $1 i32) (param $2 i32) (result f32) + (func $~lib/dataview/DataView#getFloat32 (; 39 ;) (type $FUNCSIG$fiii) (param $0 i32) (param $1 i32) (param $2 i32) (result f32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -3774,7 +3765,7 @@ if i32.const 280 i32.const 432 - i32.const 44 + i32.const 35 i32.const 6 call $~lib/builtins/abort unreachable @@ -3796,7 +3787,7 @@ f32.reinterpret_i32 end ) - (func $~lib/polyfills/bswap (; 42 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) + (func $~lib/polyfills/bswap (; 40 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) (local $1 i64) (local $2 i64) (local $3 i64) @@ -3835,10 +3826,10 @@ i64.rotr return ) - (func $~lib/dataview/DataView#getFloat64 (; 43 ;) (type $FUNCSIG$diii) (param $0 i32) (param $1 i32) (param $2 i32) (result f64) + (func $~lib/dataview/DataView#getFloat64 (; 41 ;) (type $FUNCSIG$diii) (param $0 i32) (param $1 i32) (param $2 i32) (result f64) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -3849,7 +3840,7 @@ if i32.const 280 i32.const 432 - i32.const 58 + i32.const 48 i32.const 7 call $~lib/builtins/abort unreachable @@ -3871,7 +3862,7 @@ f64.reinterpret_i64 end ) - (func $~lib/dataview/DataView#getInt8 (; 44 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/dataview/DataView#getInt8 (; 42 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -3879,7 +3870,7 @@ if i32.const 280 i32.const 432 - i32.const 69 + i32.const 59 i32.const 49 call $~lib/builtins/abort unreachable @@ -3890,7 +3881,7 @@ i32.add i32.load8_s ) - (func $~lib/polyfills/bswap (; 45 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 43 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 8 i32.shl @@ -3906,11 +3897,11 @@ i32.or return ) - (func $~lib/dataview/DataView#getInt16 (; 46 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getInt16 (; 44 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -3921,7 +3912,7 @@ if i32.const 280 i32.const 432 - i32.const 77 + i32.const 66 i32.const 7 call $~lib/builtins/abort unreachable @@ -3940,7 +3931,7 @@ call $~lib/polyfills/bswap end ) - (func $~lib/polyfills/bswap (; 47 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 45 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const -16711936 i32.and @@ -3954,11 +3945,11 @@ i32.or return ) - (func $~lib/dataview/DataView#getInt32 (; 48 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getInt32 (; 46 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -3969,7 +3960,7 @@ if i32.const 280 i32.const 432 - i32.const 86 + i32.const 74 i32.const 7 call $~lib/builtins/abort unreachable @@ -3988,7 +3979,7 @@ call $~lib/polyfills/bswap end ) - (func $~lib/polyfills/bswap (; 49 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) + (func $~lib/polyfills/bswap (; 47 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64) (local $1 i64) (local $2 i64) (local $3 i64) @@ -4027,11 +4018,11 @@ i64.rotr return ) - (func $~lib/dataview/DataView#getInt64 (; 50 ;) (type $FUNCSIG$jiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i64) + (func $~lib/dataview/DataView#getInt64 (; 48 ;) (type $FUNCSIG$jiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i64) (local $3 i64) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -4042,7 +4033,7 @@ if i32.const 280 i32.const 432 - i32.const 180 + i32.const 159 i32.const 6 call $~lib/builtins/abort unreachable @@ -4061,7 +4052,7 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#getUint8 (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/dataview/DataView#getUint8 (; 49 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -4069,7 +4060,7 @@ if i32.const 280 i32.const 432 - i32.const 92 + i32.const 80 i32.const 49 call $~lib/builtins/abort unreachable @@ -4080,7 +4071,7 @@ i32.add i32.load8_u ) - (func $~lib/polyfills/bswap (; 52 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/polyfills/bswap (; 50 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 8 i32.shl @@ -4094,11 +4085,11 @@ i32.or return ) - (func $~lib/dataview/DataView#getUint16 (; 53 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getUint16 (; 51 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -4109,7 +4100,7 @@ if i32.const 280 i32.const 432 - i32.const 100 + i32.const 87 i32.const 6 call $~lib/builtins/abort unreachable @@ -4128,11 +4119,11 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#getUint32 (; 54 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/dataview/DataView#getUint32 (; 52 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -4143,7 +4134,7 @@ if i32.const 280 i32.const 432 - i32.const 109 + i32.const 95 i32.const 6 call $~lib/builtins/abort unreachable @@ -4162,11 +4153,11 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#getUint64 (; 55 ;) (type $FUNCSIG$jiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i64) + (func $~lib/dataview/DataView#getUint64 (; 53 ;) (type $FUNCSIG$jiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i64) (local $3 i64) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -4177,7 +4168,7 @@ if i32.const 280 i32.const 432 - i32.const 189 + i32.const 167 i32.const 6 call $~lib/builtins/abort unreachable @@ -4196,10 +4187,10 @@ call $~lib/polyfills/bswap end ) - (func $~lib/dataview/DataView#setFloat32 (; 56 ;) (type $FUNCSIG$viifi) (param $0 i32) (param $1 i32) (param $2 f32) (param $3 i32) + (func $~lib/dataview/DataView#setFloat32 (; 54 ;) (type $FUNCSIG$viifi) (param $0 i32) (param $1 i32) (param $2 f32) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -4210,7 +4201,7 @@ if i32.const 280 i32.const 432 - i32.const 118 + i32.const 103 i32.const 6 call $~lib/builtins/abort unreachable @@ -4234,10 +4225,10 @@ i32.store end ) - (func $~lib/dataview/DataView#setFloat64 (; 57 ;) (type $FUNCSIG$viidi) (param $0 i32) (param $1 i32) (param $2 f64) (param $3 i32) + (func $~lib/dataview/DataView#setFloat64 (; 55 ;) (type $FUNCSIG$viidi) (param $0 i32) (param $1 i32) (param $2 f64) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -4248,7 +4239,7 @@ if i32.const 280 i32.const 432 - i32.const 127 + i32.const 111 i32.const 6 call $~lib/builtins/abort unreachable @@ -4272,7 +4263,7 @@ i64.store end ) - (func $~lib/dataview/DataView#setInt8 (; 58 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setInt8 (; 56 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -4280,7 +4271,7 @@ if i32.const 280 i32.const 432 - i32.const 133 + i32.const 117 i32.const 49 call $~lib/builtins/abort unreachable @@ -4292,10 +4283,10 @@ local.get $2 i32.store8 ) - (func $~lib/dataview/DataView#setInt16 (; 59 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) + (func $~lib/dataview/DataView#setInt16 (; 57 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -4306,7 +4297,7 @@ if i32.const 280 i32.const 432 - i32.const 141 + i32.const 124 i32.const 6 call $~lib/builtins/abort unreachable @@ -4324,10 +4315,10 @@ end i32.store16 ) - (func $~lib/dataview/DataView#setInt32 (; 60 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) + (func $~lib/dataview/DataView#setInt32 (; 58 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -4338,7 +4329,7 @@ if i32.const 280 i32.const 432 - i32.const 149 + i32.const 131 i32.const 6 call $~lib/builtins/abort unreachable @@ -4356,10 +4347,10 @@ end i32.store ) - (func $~lib/dataview/DataView#setInt64 (; 61 ;) (type $FUNCSIG$viiji) (param $0 i32) (param $1 i32) (param $2 i64) (param $3 i32) + (func $~lib/dataview/DataView#setInt64 (; 59 ;) (type $FUNCSIG$viiji) (param $0 i32) (param $1 i32) (param $2 i64) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -4370,7 +4361,7 @@ if i32.const 280 i32.const 432 - i32.const 198 + i32.const 175 i32.const 6 call $~lib/builtins/abort unreachable @@ -4388,7 +4379,7 @@ end i64.store ) - (func $~lib/dataview/DataView#setUint8 (; 62 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/dataview/DataView#setUint8 (; 60 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -4396,7 +4387,7 @@ if i32.const 280 i32.const 432 - i32.const 154 + i32.const 136 i32.const 49 call $~lib/builtins/abort unreachable @@ -4408,10 +4399,10 @@ local.get $2 i32.store8 ) - (func $~lib/dataview/DataView#setUint16 (; 63 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) + (func $~lib/dataview/DataView#setUint16 (; 61 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 2 i32.add @@ -4422,7 +4413,7 @@ if i32.const 280 i32.const 432 - i32.const 162 + i32.const 143 i32.const 6 call $~lib/builtins/abort unreachable @@ -4440,10 +4431,10 @@ end i32.store16 ) - (func $~lib/dataview/DataView#setUint32 (; 64 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) + (func $~lib/dataview/DataView#setUint32 (; 62 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 4 i32.add @@ -4454,7 +4445,7 @@ if i32.const 280 i32.const 432 - i32.const 170 + i32.const 150 i32.const 6 call $~lib/builtins/abort unreachable @@ -4472,10 +4463,10 @@ end i32.store ) - (func $~lib/dataview/DataView#setUint64 (; 65 ;) (type $FUNCSIG$viiji) (param $0 i32) (param $1 i32) (param $2 i64) (param $3 i32) + (func $~lib/dataview/DataView#setUint64 (; 63 ;) (type $FUNCSIG$viiji) (param $0 i32) (param $1 i32) (param $2 i64) (param $3 i32) local.get $1 - i32.const 0 - i32.lt_s + i32.const 31 + i32.shr_u local.get $1 i32.const 8 i32.add @@ -4486,7 +4477,7 @@ if i32.const 280 i32.const 432 - i32.const 206 + i32.const 182 i32.const 6 call $~lib/builtins/abort unreachable @@ -4504,7 +4495,7 @@ end i64.store ) - (func $~lib/dataview/DataView#constructor|trampoline (; 66 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/dataview/DataView#constructor|trampoline (; 64 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -4529,23 +4520,17 @@ local.get $3 call $~lib/dataview/DataView#constructor ) - (func $~lib/dataview/DataView#get:byteOffset (; 67 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/dataview/DataView#get:byteOffset (; 65 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=4 local.get $0 i32.load i32.sub ) - (func $~lib/dataview/DataView#get:byteLength (; 68 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load offset=8 - ) - (func $start:std/dataview (; 69 ;) (type $FUNCSIG$v) + (func $start:std/dataview (; 66 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) - (local $3 i32) - (local $4 i32) i32.const 0 i32.const 8 call $~lib/typedarray/Uint8Array#constructor @@ -4584,15 +4569,14 @@ call $~lib/typedarray/Uint8Array#__set i32.const 0 local.get $0 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $1 + i32.load local.get $0 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 call $~lib/dataview/DataView#constructor - local.set $2 - local.get $2 + local.set $1 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -4607,7 +4591,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -4622,7 +4606,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -4637,7 +4621,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -4652,7 +4636,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -4667,7 +4651,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -4682,7 +4666,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -4697,7 +4681,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -4712,7 +4696,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -4727,7 +4711,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -4742,7 +4726,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getFloat64 @@ -4757,7 +4741,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getFloat64 @@ -4772,7 +4756,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 call $~lib/dataview/DataView#getInt8 i32.const -10 @@ -4786,7 +4770,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 call $~lib/dataview/DataView#getInt8 i32.const -32 @@ -4800,7 +4784,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 call $~lib/dataview/DataView#getInt8 i32.const 88 @@ -4814,7 +4798,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 call $~lib/dataview/DataView#getInt8 i32.const -97 @@ -4828,7 +4812,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 call $~lib/dataview/DataView#getInt8 i32.const -126 @@ -4842,7 +4826,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 call $~lib/dataview/DataView#getInt8 i32.const 101 @@ -4856,7 +4840,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 call $~lib/dataview/DataView#getInt8 i32.const 67 @@ -4870,7 +4854,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 7 call $~lib/dataview/DataView#getInt8 i32.const 95 @@ -4884,7 +4868,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4903,7 +4887,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4922,7 +4906,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4941,7 +4925,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4960,7 +4944,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4979,7 +4963,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -4998,7 +4982,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -5017,7 +5001,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5036,7 +5020,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5055,7 +5039,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5074,7 +5058,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5093,7 +5077,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5112,7 +5096,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5131,7 +5115,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -5150,7 +5134,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -5165,7 +5149,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -5180,7 +5164,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -5195,7 +5179,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -5210,7 +5194,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -5225,7 +5209,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -5240,7 +5224,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -5255,7 +5239,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -5270,7 +5254,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -5285,7 +5269,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -5300,7 +5284,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt64 @@ -5315,7 +5299,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt64 @@ -5330,7 +5314,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 call $~lib/dataview/DataView#getUint8 i32.const 246 @@ -5344,7 +5328,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 call $~lib/dataview/DataView#getUint8 i32.const 224 @@ -5358,7 +5342,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 call $~lib/dataview/DataView#getUint8 i32.const 88 @@ -5372,7 +5356,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 call $~lib/dataview/DataView#getUint8 i32.const 159 @@ -5386,7 +5370,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 call $~lib/dataview/DataView#getUint8 i32.const 130 @@ -5400,7 +5384,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 call $~lib/dataview/DataView#getUint8 i32.const 101 @@ -5414,7 +5398,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 call $~lib/dataview/DataView#getUint8 i32.const 67 @@ -5428,7 +5412,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 7 call $~lib/dataview/DataView#getUint8 i32.const 95 @@ -5442,7 +5426,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5459,7 +5443,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5476,7 +5460,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5493,7 +5477,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5510,7 +5494,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5527,7 +5511,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5544,7 +5528,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -5561,7 +5545,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5578,7 +5562,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5595,7 +5579,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5612,7 +5596,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5629,7 +5613,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5646,7 +5630,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 5 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5663,7 +5647,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 6 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -5680,7 +5664,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -5695,7 +5679,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -5710,7 +5694,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -5725,7 +5709,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -5740,7 +5724,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -5755,7 +5739,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -5770,7 +5754,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 1 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -5785,7 +5769,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 2 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -5800,7 +5784,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 3 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -5815,7 +5799,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 4 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -5830,7 +5814,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint64 @@ -5845,7 +5829,7 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint64 @@ -5860,12 +5844,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 f32.const 1.5976661625240943e-18 i32.const 1 call $~lib/dataview/DataView#setFloat32 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getFloat32 @@ -5880,12 +5864,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 f32.const 1976281973381696323584 i32.const 0 call $~lib/dataview/DataView#setFloat32 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getFloat32 @@ -5900,12 +5884,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 f64.const -1094252199637739024055454e124 i32.const 1 call $~lib/dataview/DataView#setFloat64 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getFloat64 @@ -5920,12 +5904,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 f64.const 6.022586634778589e-103 i32.const 0 call $~lib/dataview/DataView#setFloat64 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getFloat64 @@ -5940,11 +5924,11 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 108 call $~lib/dataview/DataView#setInt8 - local.get $2 + local.get $1 i32.const 0 call $~lib/dataview/DataView#getInt8 i32.const 108 @@ -5958,12 +5942,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const -13360 i32.const 1 call $~lib/dataview/DataView#setInt16 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt16 @@ -5982,12 +5966,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 14689 i32.const 0 call $~lib/dataview/DataView#setInt16 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt16 @@ -6006,12 +5990,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 1204680201 i32.const 1 call $~lib/dataview/DataView#setInt32 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt32 @@ -6026,12 +6010,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 660673230 i32.const 0 call $~lib/dataview/DataView#setInt32 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt32 @@ -6046,12 +6030,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i64.const -3290739641816099749 i32.const 1 call $~lib/dataview/DataView#setInt64 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getInt64 @@ -6066,12 +6050,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i64.const 8178932412950708047 i32.const 0 call $~lib/dataview/DataView#setInt64 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getInt64 @@ -6086,11 +6070,11 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 238 call $~lib/dataview/DataView#setUint8 - local.get $2 + local.get $1 i32.const 0 call $~lib/dataview/DataView#getUint8 i32.const 238 @@ -6104,12 +6088,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 58856 i32.const 1 call $~lib/dataview/DataView#setUint16 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint16 @@ -6126,12 +6110,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const 60400 i32.const 0 call $~lib/dataview/DataView#setUint16 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint16 @@ -6148,12 +6132,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const -846805744 i32.const 1 call $~lib/dataview/DataView#setUint32 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint32 @@ -6168,12 +6152,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i32.const -1510791631 i32.const 0 call $~lib/dataview/DataView#setUint32 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint32 @@ -6188,12 +6172,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i64.const 2334704782995986958 i32.const 1 call $~lib/dataview/DataView#setUint64 - local.get $2 + local.get $1 i32.const 0 i32.const 1 call $~lib/dataview/DataView#getUint64 @@ -6208,12 +6192,12 @@ call $~lib/builtins/abort unreachable end - local.get $2 + local.get $1 i32.const 0 i64.const -7123186897289856329 i32.const 0 call $~lib/dataview/DataView#setUint64 - local.get $2 + local.get $1 i32.const 0 i32.const 0 call $~lib/dataview/DataView#getUint64 @@ -6232,17 +6216,16 @@ global.set $~lib/argc i32.const 0 local.get $0 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $3 + i32.load i32.const 0 i32.const 0 call $~lib/dataview/DataView#constructor|trampoline - local.set $4 - local.get $2 - call $~lib/rt/pure/__release - local.get $4 local.set $2 + local.get $1 + call $~lib/rt/pure/__release local.get $2 + local.set $1 + local.get $1 call $~lib/dataview/DataView#get:byteOffset i32.const 0 i32.eq @@ -6255,8 +6238,8 @@ call $~lib/builtins/abort unreachable end - local.get $2 - call $~lib/dataview/DataView#get:byteLength + local.get $1 + i32.load offset=8 i32.const 8 i32.eq i32.eqz @@ -6272,15 +6255,11 @@ call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release - local.get $2 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release ) - (func $start (; 70 ;) (type $FUNCSIG$v) + (func $start (; 67 ;) (type $FUNCSIG$v) call $start:std/dataview ) - (func $~lib/rt/pure/__visit (; 71 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/pure/__visit (; 68 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) local.get $0 @@ -6410,7 +6389,7 @@ end end ) - (func $~lib/rt/__visit_members (; 72 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/__visit_members (; 69 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) block $switch$1$default block $switch$1$case$4 @@ -6435,6 +6414,6 @@ end unreachable ) - (func $null (; 73 ;) (type $FUNCSIG$v) + (func $null (; 70 ;) (type $FUNCSIG$v) ) ) diff --git a/tests/compiler/std/map.optimized.wat b/tests/compiler/std/map.optimized.wat index 2eb7bf149a..266be97c06 100644 --- a/tests/compiler/std/map.optimized.wat +++ b/tests/compiler/std/map.optimized.wat @@ -1609,7 +1609,7 @@ if i32.const 176 i32.const 224 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/map.untouched.wat b/tests/compiler/std/map.untouched.wat index 7e07a48b71..e6212a44c9 100644 --- a/tests/compiler/std/map.untouched.wat +++ b/tests/compiler/std/map.untouched.wat @@ -2042,7 +2042,7 @@ if i32.const 176 i32.const 224 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/set.optimized.wat b/tests/compiler/std/set.optimized.wat index d5aa245a5f..502fb0b536 100644 --- a/tests/compiler/std/set.optimized.wat +++ b/tests/compiler/std/set.optimized.wat @@ -1604,7 +1604,7 @@ if i32.const 176 i32.const 224 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/set.untouched.wat b/tests/compiler/std/set.untouched.wat index cc4e223c60..53eb5fbf05 100644 --- a/tests/compiler/std/set.untouched.wat +++ b/tests/compiler/std/set.untouched.wat @@ -2040,7 +2040,7 @@ if i32.const 176 i32.const 224 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/static-array.optimized.wat b/tests/compiler/std/static-array.optimized.wat index 35e1d38626..423beb38d5 100644 --- a/tests/compiler/std/static-array.optimized.wat +++ b/tests/compiler/std/static-array.optimized.wat @@ -37,7 +37,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -724,7 +724,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -763,7 +763,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -802,7 +802,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/static-array.untouched.wat b/tests/compiler/std/static-array.untouched.wat index c60689f5f3..f56218cec2 100644 --- a/tests/compiler/std/static-array.untouched.wat +++ b/tests/compiler/std/static-array.untouched.wat @@ -60,7 +60,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -1955,7 +1955,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -2021,7 +2021,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -2087,7 +2087,7 @@ if i32.const 320 i32.const 376 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/string.optimized.wat b/tests/compiler/std/string.optimized.wat index 62292d3d0d..5685cc085a 100644 --- a/tests/compiler/std/string.optimized.wat +++ b/tests/compiler/std/string.optimized.wat @@ -6201,7 +6201,7 @@ if i32.const 232 i32.const 10824 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -6221,7 +6221,7 @@ call $~lib/rt/pure/__release i32.const 10872 i32.const 10824 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/string.untouched.wat b/tests/compiler/std/string.untouched.wat index 557e8f3b35..40d61571fe 100644 --- a/tests/compiler/std/string.untouched.wat +++ b/tests/compiler/std/string.untouched.wat @@ -8913,7 +8913,7 @@ if i32.const 232 i32.const 10824 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -8929,7 +8929,7 @@ call $~lib/rt/pure/__release i32.const 10872 i32.const 10824 - i32.const 100 + i32.const 96 i32.const 39 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/symbol.optimized.wat b/tests/compiler/std/symbol.optimized.wat index e51df11398..c6cf2a0cdc 100644 --- a/tests/compiler/std/symbol.optimized.wat +++ b/tests/compiler/std/symbol.optimized.wat @@ -369,7 +369,7 @@ if i32.const 96 i32.const 144 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/symbol.untouched.wat b/tests/compiler/std/symbol.untouched.wat index adfcf7687d..11a1071f16 100644 --- a/tests/compiler/std/symbol.untouched.wat +++ b/tests/compiler/std/symbol.untouched.wat @@ -467,7 +467,7 @@ if i32.const 96 i32.const 144 - i32.const 57 + i32.const 53 i32.const 42 call $~lib/builtins/abort unreachable diff --git a/tests/compiler/std/typedarray.optimized.wat b/tests/compiler/std/typedarray.optimized.wat index a8f757da49..758c0dcd22 100644 --- a/tests/compiler/std/typedarray.optimized.wat +++ b/tests/compiler/std/typedarray.optimized.wat @@ -2107,7 +2107,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -2744,7 +2744,7 @@ if i32.const 280 i32.const 432 - i32.const 679 + i32.const 655 i32.const 63 call $~lib/builtins/abort unreachable @@ -2768,7 +2768,7 @@ if i32.const 280 i32.const 432 - i32.const 668 + i32.const 644 i32.const 63 call $~lib/builtins/abort unreachable @@ -2784,8 +2784,6 @@ (func $~lib/typedarray/Int32Array#subarray (; 50 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) - (local $5 i32) - (local $6 i32) local.get $0 call $~lib/rt/pure/__retain local.tee $4 @@ -2834,35 +2832,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $3 + local.set $1 i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $4 - i32.load local.tee $2 - local.get $1 + local.get $4 i32.load - local.tee $6 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $4 i32.load offset=4 local.get $0 @@ -2870,16 +2849,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $3 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 2 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $4 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Float64Array#__set (; 51 ;) (type $FUNCSIG$viid) (param $0 i32) (param $1 i32) (param $2 f64) local.get $1 @@ -2891,7 +2876,7 @@ if i32.const 280 i32.const 432 - i32.const 1319 + i32.const 1275 i32.const 63 call $~lib/builtins/abort unreachable @@ -2908,8 +2893,6 @@ (func $~lib/typedarray/Float64Array#subarray (; 52 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) - (local $5 i32) - (local $6 i32) local.get $0 call $~lib/rt/pure/__retain local.tee $4 @@ -2958,35 +2941,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $3 + local.set $1 i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $4 - i32.load local.tee $2 - local.get $1 + local.get $4 i32.load - local.tee $6 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $4 i32.load offset=4 local.get $0 @@ -2994,16 +2958,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 + local.get $1 + local.get $0 local.get $1 - local.get $3 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 3 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $4 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/util/sort/insertionSort (; 53 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) @@ -3455,7 +3425,7 @@ if i32.const 280 i32.const 432 - i32.const 1308 + i32.const 1264 i32.const 63 call $~lib/builtins/abort unreachable @@ -3476,7 +3446,7 @@ if i32.const 280 i32.const 432 - i32.const 295 + i32.const 283 i32.const 44 call $~lib/builtins/abort unreachable @@ -3508,7 +3478,7 @@ if i32.const 280 i32.const 432 - i32.const 284 + i32.const 272 i32.const 44 call $~lib/builtins/abort unreachable @@ -3527,7 +3497,7 @@ if i32.const 280 i32.const 432 - i32.const 39 + i32.const 35 i32.const 44 call $~lib/builtins/abort unreachable @@ -3649,7 +3619,7 @@ if i32.const 280 i32.const 432 - i32.const 28 + i32.const 24 i32.const 44 call $~lib/builtins/abort unreachable @@ -3668,7 +3638,7 @@ if i32.const 280 i32.const 512 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -3734,8 +3704,6 @@ (func $~lib/typedarray/Int8Array#subarray (; 66 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) - (local $5 i32) - (local $6 i32) local.get $0 call $~lib/rt/pure/__retain local.tee $4 @@ -3784,48 +3752,35 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $3 + local.set $1 i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $4 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $4 i32.load offset=4 local.get $0 i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $3 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $4 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Int32Array#fill (; 67 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) @@ -3915,7 +3870,7 @@ if i32.const 280 i32.const 512 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -4265,7 +4220,7 @@ if i32.const 280 i32.const 432 - i32.const 167 + i32.const 159 i32.const 44 call $~lib/builtins/abort unreachable @@ -4408,7 +4363,7 @@ if i32.const 280 i32.const 432 - i32.const 423 + i32.const 407 i32.const 63 call $~lib/builtins/abort unreachable @@ -4514,7 +4469,7 @@ if i32.const 280 i32.const 432 - i32.const 551 + i32.const 531 i32.const 63 call $~lib/builtins/abort unreachable @@ -4702,7 +4657,7 @@ if i32.const 280 i32.const 432 - i32.const 807 + i32.const 779 i32.const 63 call $~lib/builtins/abort unreachable @@ -4763,7 +4718,7 @@ if i32.const 280 i32.const 432 - i32.const 935 + i32.const 903 i32.const 63 call $~lib/builtins/abort unreachable @@ -4879,7 +4834,7 @@ if i32.const 280 i32.const 432 - i32.const 1063 + i32.const 1027 i32.const 63 call $~lib/builtins/abort unreachable @@ -4940,7 +4895,7 @@ if i32.const 280 i32.const 432 - i32.const 1191 + i32.const 1151 i32.const 63 call $~lib/builtins/abort unreachable @@ -5905,76 +5860,61 @@ (local $3 i32) (local $4 i32) (local $5 i32) - (local $6 i32) - (local $7 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $2 + local.tee $3 i32.load offset=8 - local.set $3 - local.get $2 + local.set $0 + local.get $3 i32.load offset=4 local.set $5 i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $3 - i32.const 0 - call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $7 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $7 - call $~lib/rt/pure/__release - end + local.set $2 local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $3 - i32.store offset=8 i32.const 0 - local.set $0 + call $~lib/rt/tlsf/__alloc + local.set $4 loop $loop|0 + local.get $1 local.get $0 - local.get $3 i32.lt_s if i32.const 3 global.set $~lib/argc - local.get $0 + local.get $1 local.get $4 i32.add - local.get $0 + local.get $1 local.get $5 i32.add i32.load8_s - local.get $0 - local.get $2 + local.get $1 + local.get $3 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 i32.store8 - local.get $0 + local.get $1 i32.const 1 i32.add - local.set $0 + local.set $1 br $loop|0 end end local.get $2 + local.get $4 + call $~lib/rt/pure/__retain + i32.store + local.get $2 + local.get $4 + i32.store offset=4 + local.get $2 + local.get $0 + i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8> (; 123 ;) (type $FUNCSIG$v) (local $0 i32) @@ -6050,76 +5990,61 @@ (local $3 i32) (local $4 i32) (local $5 i32) - (local $6 i32) - (local $7 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $2 + local.tee $3 i32.load offset=8 - local.set $3 - local.get $2 + local.set $0 + local.get $3 i32.load offset=4 local.set $5 i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $3 - i32.const 0 - call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $7 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $7 - call $~lib/rt/pure/__release - end + local.set $2 local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $3 - i32.store offset=8 i32.const 0 - local.set $0 + call $~lib/rt/tlsf/__alloc + local.set $4 loop $loop|0 + local.get $1 local.get $0 - local.get $3 i32.lt_s if i32.const 3 global.set $~lib/argc - local.get $0 + local.get $1 local.get $4 i32.add - local.get $0 + local.get $1 local.get $5 i32.add i32.load8_u - local.get $0 - local.get $2 + local.get $1 + local.get $3 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 i32.store8 - local.get $0 + local.get $1 i32.const 1 i32.add - local.set $0 + local.set $1 br $loop|0 end end local.get $2 + local.get $4 + call $~lib/rt/pure/__retain + i32.store + local.get $2 + local.get $4 + i32.store offset=4 + local.get $2 + local.get $0 + i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Uint8Array#__get (; 125 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 @@ -6129,7 +6054,7 @@ if i32.const 280 i32.const 432 - i32.const 156 + i32.const 148 i32.const 44 call $~lib/builtins/abort unreachable @@ -6214,76 +6139,61 @@ (local $3 i32) (local $4 i32) (local $5 i32) - (local $6 i32) - (local $7 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $2 + local.tee $3 i32.load offset=8 - local.set $3 - local.get $2 + local.set $0 + local.get $3 i32.load offset=4 local.set $5 i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $3 - i32.const 0 - call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $7 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $7 - call $~lib/rt/pure/__release - end + local.set $2 local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $3 - i32.store offset=8 i32.const 0 - local.set $0 + call $~lib/rt/tlsf/__alloc + local.set $4 loop $loop|0 + local.get $1 local.get $0 - local.get $3 i32.lt_s if i32.const 3 global.set $~lib/argc - local.get $0 + local.get $1 local.get $4 i32.add - local.get $0 + local.get $1 local.get $5 i32.add i32.load8_u - local.get $0 - local.get $2 + local.get $1 + local.get $3 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 i32.store8 - local.get $0 + local.get $1 i32.const 1 i32.add - local.set $0 + local.set $1 br $loop|0 end end local.get $2 + local.get $4 + call $~lib/rt/pure/__retain + i32.store + local.get $2 + local.get $4 + i32.store offset=4 + local.get $2 + local.get $0 + i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8ClampedArray,u8> (; 128 ;) (type $FUNCSIG$v) (local $0 i32) @@ -6366,48 +6276,26 @@ call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int16Array#get:length - local.set $6 + local.set $4 local.get $2 i32.load offset=4 - local.set $7 + local.set $5 i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $6 + local.set $1 + local.get $4 i32.const 1 i32.shl - local.tee $4 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $5 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $5 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $5 - i32.store offset=4 - local.get $1 - local.get $4 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $6 + local.get $4 i32.lt_s if i32.const 3 @@ -6415,18 +6303,18 @@ local.get $0 i32.const 1 i32.shl - local.tee $3 - local.get $7 + local.tee $7 + local.get $5 i32.add i32.load16_s local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 - local.set $4 + local.set $8 local.get $3 - local.get $5 + local.get $7 i32.add - local.get $4 + local.get $8 i32.store16 local.get $0 i32.const 1 @@ -6435,9 +6323,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Int16Array#__get (; 130 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 @@ -6449,7 +6348,7 @@ if i32.const 280 i32.const 432 - i32.const 412 + i32.const 396 i32.const 63 call $~lib/builtins/abort unreachable @@ -6543,48 +6442,26 @@ call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int16Array#get:length - local.set $6 + local.set $4 local.get $2 i32.load offset=4 - local.set $7 + local.set $5 i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $6 + local.set $1 + local.get $4 i32.const 1 i32.shl - local.tee $4 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $5 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $5 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $5 - i32.store offset=4 - local.get $1 - local.get $4 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $6 + local.get $4 i32.lt_s if i32.const 3 @@ -6592,18 +6469,18 @@ local.get $0 i32.const 1 i32.shl - local.tee $3 - local.get $7 + local.tee $7 + local.get $5 i32.add i32.load16_u local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 - local.set $4 + local.set $8 local.get $3 - local.get $5 + local.get $7 i32.add - local.get $4 + local.get $8 i32.store16 local.get $0 i32.const 1 @@ -6612,9 +6489,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Uint16Array#__get (; 133 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 @@ -6626,7 +6514,7 @@ if i32.const 280 i32.const 432 - i32.const 540 + i32.const 520 i32.const 63 call $~lib/builtins/abort unreachable @@ -6720,48 +6608,26 @@ call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int32Array#get:length - local.set $6 + local.set $4 local.get $2 i32.load offset=4 - local.set $7 + local.set $5 i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $6 + local.set $1 + local.get $4 i32.const 2 i32.shl - local.tee $4 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $5 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $5 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $5 - i32.store offset=4 - local.get $1 - local.get $4 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $6 + local.get $4 i32.lt_s if i32.const 3 @@ -6769,18 +6635,18 @@ local.get $0 i32.const 2 i32.shl - local.tee $3 - local.get $7 + local.tee $7 + local.get $5 i32.add i32.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 - local.set $4 + local.set $8 local.get $3 - local.get $5 + local.get $7 i32.add - local.get $4 + local.get $8 i32.store local.get $0 i32.const 1 @@ -6789,9 +6655,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayMap<~lib/typedarray/Int32Array,i32> (; 136 ;) (type $FUNCSIG$v) (local $0 i32) @@ -6874,48 +6751,26 @@ call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int32Array#get:length - local.set $6 + local.set $4 local.get $2 i32.load offset=4 - local.set $7 + local.set $5 i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $6 + local.set $1 + local.get $4 i32.const 2 i32.shl - local.tee $4 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $5 + local.set $3 + i32.const 0 local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $5 - i32.ne - if + loop $loop|0 local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $5 - i32.store offset=4 - local.get $1 - local.get $4 - i32.store offset=8 - i32.const 0 - local.set $0 - loop $loop|0 - local.get $0 - local.get $6 + local.get $4 i32.lt_s if i32.const 3 @@ -6923,18 +6778,18 @@ local.get $0 i32.const 2 i32.shl - local.tee $3 - local.get $7 + local.tee $7 + local.get $5 i32.add i32.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 - local.set $4 + local.set $8 local.get $3 - local.get $5 + local.get $7 i32.add - local.get $4 + local.get $8 i32.store local.get $0 i32.const 1 @@ -6943,9 +6798,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Uint32Array#__get (; 138 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 @@ -6957,7 +6823,7 @@ if i32.const 280 i32.const 432 - i32.const 796 + i32.const 768 i32.const 63 call $~lib/builtins/abort unreachable @@ -7056,54 +6922,31 @@ (local $5 i32) (local $6 i32) (local $7 i32) - (local $8 i32) - (local $9 i64) + (local $8 i64) local.get $0 call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int64Array#get:length - local.set $5 + local.set $4 local.get $2 i32.load offset=4 - local.set $6 + local.set $5 i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $5 + local.set $1 + local.get $4 i32.const 3 i32.shl - local.tee $7 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $7 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $5 + local.get $4 i32.lt_s if i32.const 3 @@ -7111,18 +6954,18 @@ local.get $0 i32.const 3 i32.shl - local.tee $3 - local.get $6 + local.tee $7 + local.get $5 i32.add i64.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64>~anonymous|0 - local.set $9 + local.set $8 local.get $3 - local.get $4 + local.get $7 i32.add - local.get $9 + local.get $8 i64.store local.get $0 i32.const 1 @@ -7131,9 +6974,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Int64Array#__get (; 142 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) local.get $1 @@ -7145,7 +6999,7 @@ if i32.const 280 i32.const 432 - i32.const 924 + i32.const 892 i32.const 63 call $~lib/builtins/abort unreachable @@ -7234,54 +7088,31 @@ (local $5 i32) (local $6 i32) (local $7 i32) - (local $8 i32) - (local $9 i64) + (local $8 i64) local.get $0 call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int64Array#get:length - local.set $5 + local.set $4 local.get $2 i32.load offset=4 - local.set $6 + local.set $5 i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $5 + local.set $1 + local.get $4 i32.const 3 i32.shl - local.tee $7 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $7 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $5 + local.get $4 i32.lt_s if i32.const 3 @@ -7289,18 +7120,18 @@ local.get $0 i32.const 3 i32.shl - local.tee $3 - local.get $6 + local.tee $7 + local.get $5 i32.add i64.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64>~anonymous|0 - local.set $9 + local.set $8 local.get $3 - local.get $4 + local.get $7 i32.add - local.get $9 + local.get $8 i64.store local.get $0 i32.const 1 @@ -7309,9 +7140,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Uint64Array#__get (; 145 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) local.get $1 @@ -7323,7 +7165,7 @@ if i32.const 280 i32.const 432 - i32.const 1052 + i32.const 1016 i32.const 63 call $~lib/builtins/abort unreachable @@ -7422,54 +7264,31 @@ (local $5 i32) (local $6 i32) (local $7 i32) - (local $8 i32) - (local $9 f32) + (local $8 f32) local.get $0 call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int32Array#get:length - local.set $5 + local.set $4 local.get $2 i32.load offset=4 - local.set $6 + local.set $5 i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $5 + local.set $1 + local.get $4 i32.const 2 i32.shl - local.tee $7 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $7 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $5 + local.get $4 i32.lt_s if i32.const 3 @@ -7477,18 +7296,18 @@ local.get $0 i32.const 2 i32.shl - local.tee $3 - local.get $6 + local.tee $7 + local.get $5 i32.add f32.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Float32Array,f32>~anonymous|0 - local.set $9 + local.set $8 local.get $3 - local.get $4 + local.get $7 i32.add - local.get $9 + local.get $8 f32.store local.get $0 i32.const 1 @@ -7497,9 +7316,20 @@ br $loop|0 end end + local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release - local.get $1 ) (func $~lib/typedarray/Float32Array#__get (; 149 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32) local.get $1 @@ -7511,7 +7341,7 @@ if i32.const 280 i32.const 432 - i32.const 1180 + i32.const 1140 i32.const 63 call $~lib/builtins/abort unreachable @@ -7610,54 +7440,31 @@ (local $5 i32) (local $6 i32) (local $7 i32) - (local $8 i32) - (local $9 f64) + (local $8 f64) local.get $0 call $~lib/rt/pure/__retain local.tee $2 call $~lib/typedarray/Int64Array#get:length - local.set $5 + local.set $4 local.get $2 i32.load offset=4 - local.set $6 + local.set $5 i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $5 + local.set $1 + local.get $4 i32.const 3 i32.shl - local.tee $7 + local.tee $6 i32.const 0 call $~lib/rt/tlsf/__alloc - local.tee $4 - local.set $0 - local.get $1 - i32.load - local.tee $8 - local.get $4 - i32.ne - if - local.get $0 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $0 - i32.store - local.get $1 - local.get $4 - i32.store offset=4 - local.get $1 - local.get $7 - i32.store offset=8 + local.set $3 i32.const 0 local.set $0 loop $loop|0 local.get $0 - local.get $5 + local.get $4 i32.lt_s if i32.const 3 @@ -7665,18 +7472,18 @@ local.get $0 i32.const 3 i32.shl - local.tee $3 - local.get $6 + local.tee $7 + local.get $5 i32.add f64.load local.get $0 local.get $2 call $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64>~anonymous|0 - local.set $9 + local.set $8 local.get $3 - local.get $4 + local.get $7 i32.add - local.get $9 + local.get $8 f64.store local.get $0 i32.const 1 @@ -7685,9 +7492,20 @@ br $loop|0 end end - local.get $2 - call $~lib/rt/pure/__release local.get $1 + local.get $3 + call $~lib/rt/pure/__retain + i32.store + local.get $1 + local.get $3 + i32.store offset=4 + local.get $1 + local.get $6 + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain + local.get $2 + call $~lib/rt/pure/__release ) (func $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64> (; 153 ;) (type $FUNCSIG$v) (local $0 i32) @@ -7940,87 +7758,74 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 i32.load offset=8 - local.set $1 + local.set $5 i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $1 + local.set $1 + local.get $5 i32.const 0 call $~lib/rt/tlsf/__alloc - local.set $7 - local.get $5 + local.set $6 + local.get $3 i32.load offset=4 - local.set $3 + local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $4 - local.get $1 + local.get $2 + local.get $5 i32.lt_s if - local.get $3 - local.get $4 + local.get $2 + local.get $8 i32.add i32.load8_s - local.set $8 + local.set $7 i32.const 3 global.set $~lib/argc - local.get $8 - local.get $4 - local.get $5 + local.get $7 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8>~anonymous|0 if local.get $0 - local.tee $6 + local.tee $4 i32.const 1 i32.add local.set $0 + local.get $4 local.get $6 - local.get $7 i32.add - local.get $8 + local.get $7 i32.store8 end - local.get $4 + local.get $2 i32.const 1 i32.add - local.set $4 + local.set $2 br $loop|0 end end - local.get $7 + local.get $1 + local.get $6 local.get $0 call $~lib/rt/tlsf/__realloc - local.tee $3 - local.set $1 - local.get $2 - i32.load - local.tee $6 - local.get $3 - i32.ne - if - local.get $1 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $1 + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 - local.get $3 - i32.store offset=4 - local.get $2 + local.get $1 local.get $0 i32.store offset=8 - local.get $5 + local.get $1 + local.get $4 + i32.store offset=4 + local.get $1 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8> (; 158 ;) (type $FUNCSIG$v) (local $0 i32) @@ -8143,87 +7948,74 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 i32.load offset=8 - local.set $1 + local.set $5 i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $1 + local.set $1 + local.get $5 i32.const 0 call $~lib/rt/tlsf/__alloc - local.set $7 - local.get $5 + local.set $6 + local.get $3 i32.load offset=4 - local.set $3 + local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $4 - local.get $1 + local.get $2 + local.get $5 i32.lt_s if - local.get $3 - local.get $4 + local.get $2 + local.get $8 i32.add i32.load8_u - local.set $8 + local.set $7 i32.const 3 global.set $~lib/argc - local.get $8 - local.get $4 - local.get $5 + local.get $7 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8>~anonymous|0 if local.get $0 - local.tee $6 + local.tee $4 i32.const 1 i32.add local.set $0 + local.get $4 local.get $6 - local.get $7 i32.add - local.get $8 + local.get $7 i32.store8 end - local.get $4 + local.get $2 i32.const 1 i32.add - local.set $4 + local.set $2 br $loop|0 end end - local.get $7 + local.get $1 + local.get $6 local.get $0 call $~lib/rt/tlsf/__realloc - local.tee $3 - local.set $1 - local.get $2 - i32.load - local.tee $6 - local.get $3 - i32.ne - if - local.get $1 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $1 + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 - local.get $3 - i32.store offset=4 - local.get $2 + local.get $1 local.get $0 i32.store offset=8 - local.get $5 + local.get $1 + local.get $4 + i32.store offset=4 + local.get $1 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8> (; 161 ;) (type $FUNCSIG$v) (local $0 i32) @@ -8334,87 +8126,74 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 i32.load offset=8 - local.set $1 + local.set $5 i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $1 + local.set $1 + local.get $5 i32.const 0 call $~lib/rt/tlsf/__alloc - local.set $7 - local.get $5 + local.set $6 + local.get $3 i32.load offset=4 - local.set $3 + local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $4 - local.get $1 + local.get $2 + local.get $5 i32.lt_s if - local.get $3 - local.get $4 + local.get $2 + local.get $8 i32.add i32.load8_u - local.set $8 + local.set $7 i32.const 3 global.set $~lib/argc - local.get $8 - local.get $4 - local.get $5 + local.get $7 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8>~anonymous|0 if local.get $0 - local.tee $6 + local.tee $4 i32.const 1 i32.add local.set $0 + local.get $4 local.get $6 - local.get $7 i32.add - local.get $8 + local.get $7 i32.store8 end - local.get $4 + local.get $2 i32.const 1 i32.add - local.set $4 + local.set $2 br $loop|0 end end - local.get $7 + local.get $1 + local.get $6 local.get $0 call $~lib/rt/tlsf/__realloc - local.tee $3 - local.set $1 - local.get $2 - i32.load - local.tee $6 - local.get $3 - i32.ne - if - local.get $1 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $1 + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 - local.get $3 - i32.store offset=4 - local.get $2 + local.get $1 local.get $0 i32.store offset=8 - local.get $5 + local.get $1 + local.get $4 + i32.store offset=4 + local.get $1 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8ClampedArray,u8> (; 163 ;) (type $FUNCSIG$v) (local $0 i32) @@ -8539,31 +8318,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int16Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 1 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 1 i32.shl local.get $8 @@ -8573,8 +8351,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16>~anonymous|0 if local.get $0 @@ -8590,45 +8368,33 @@ local.get $7 i32.store16 end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 1 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16> (; 166 ;) (type $FUNCSIG$v) (local $0 i32) @@ -8751,31 +8517,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int16Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 1 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 1 i32.shl local.get $8 @@ -8785,8 +8550,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16>~anonymous|0 if local.get $0 @@ -8802,45 +8567,33 @@ local.get $7 i32.store16 end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 1 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16> (; 169 ;) (type $FUNCSIG$v) (local $0 i32) @@ -8961,31 +8714,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int32Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 2 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 2 i32.shl local.get $8 @@ -8995,8 +8747,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32>~anonymous|0 if local.get $0 @@ -9012,45 +8764,33 @@ local.get $7 i32.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 2 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32> (; 172 ;) (type $FUNCSIG$v) (local $0 i32) @@ -9171,31 +8911,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int32Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 2 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 2 i32.shl local.get $8 @@ -9205,8 +8944,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32>~anonymous|0 if local.get $0 @@ -9222,45 +8961,33 @@ local.get $7 i32.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 2 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32> (; 175 ;) (type $FUNCSIG$v) (local $0 i32) @@ -9381,31 +9108,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int64Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 3 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 3 i32.shl local.get $8 @@ -9415,8 +9141,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64>~anonymous|0 if local.get $0 @@ -9432,45 +9158,33 @@ local.get $7 i64.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 3 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 - i32.store offset=4 - local.get $2 - local.get $1 i32.store offset=8 - local.get $5 + local.get $1 + local.get $4 + i32.store offset=4 + local.get $1 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64> (; 178 ;) (type $FUNCSIG$v) (local $0 i32) @@ -9591,31 +9305,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int64Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 3 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 3 i32.shl local.get $8 @@ -9625,8 +9338,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64>~anonymous|0 if local.get $0 @@ -9642,45 +9355,33 @@ local.get $7 i64.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 3 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64> (; 181 ;) (type $FUNCSIG$v) (local $0 i32) @@ -9801,31 +9502,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int32Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 2 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 2 i32.shl local.get $8 @@ -9835,8 +9535,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32>~anonymous|0 if local.get $0 @@ -9852,45 +9552,33 @@ local.get $7 f32.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 2 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32> (; 184 ;) (type $FUNCSIG$v) (local $0 i32) @@ -10011,31 +9699,30 @@ (local $8 i32) local.get $0 call $~lib/rt/pure/__retain - local.tee $5 + local.tee $3 call $~lib/typedarray/Int64Array#get:length - local.set $3 + local.set $5 i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.set $2 - local.get $3 + local.set $1 + local.get $5 i32.const 3 i32.shl i32.const 0 call $~lib/rt/tlsf/__alloc local.set $6 - local.get $5 + local.get $3 i32.load offset=4 local.set $8 i32.const 0 local.set $0 loop $loop|0 - local.get $1 - local.get $3 + local.get $2 + local.get $5 i32.lt_s if - local.get $1 + local.get $2 i32.const 3 i32.shl local.get $8 @@ -10045,8 +9732,8 @@ i32.const 3 global.set $~lib/argc local.get $7 - local.get $1 - local.get $5 + local.get $2 + local.get $3 call $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64>~anonymous|0 if local.get $0 @@ -10062,45 +9749,33 @@ local.get $7 f64.store end - local.get $1 + local.get $2 i32.const 1 i32.add - local.set $1 + local.set $2 br $loop|0 end end + local.get $1 local.get $6 local.get $0 i32.const 3 i32.shl - local.tee $1 - call $~lib/rt/tlsf/__realloc local.tee $0 - local.set $4 - local.get $2 - i32.load - local.tee $3 - local.get $0 - i32.ne - if - local.get $4 - call $~lib/rt/pure/__retain - drop - local.get $3 - call $~lib/rt/pure/__release - end - local.get $2 - local.get $4 + call $~lib/rt/tlsf/__realloc + local.tee $4 + call $~lib/rt/pure/__retain i32.store - local.get $2 + local.get $1 local.get $0 + i32.store offset=8 + local.get $1 + local.get $4 i32.store offset=4 - local.get $2 local.get $1 - i32.store offset=8 - local.get $5 + call $~lib/rt/pure/__retain + local.get $3 call $~lib/rt/pure/__release - local.get $2 ) (func $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64> (; 187 ;) (type $FUNCSIG$v) (local $0 i32) @@ -15100,9 +14775,6 @@ (func $~lib/typedarray/Uint8Array#subarray (; 302 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -15135,48 +14807,35 @@ i32.lt_s select end - local.tee $0 - local.get $2 - local.get $0 - local.get $2 - i32.gt_s - select - local.set $4 + local.set $0 i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $0 - local.get $0 - i32.load - local.tee $6 + local.tee $1 local.get $3 i32.load - local.tee $1 - i32.ne - if - local.get $1 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $1 + call $~lib/rt/pure/__retain i32.store - local.get $0 + local.get $1 local.get $3 i32.load offset=4 local.get $2 i32.add i32.store offset=4 + local.get $1 local.get $0 - local.get $4 + local.get $2 + local.get $0 + local.get $2 + i32.gt_s + select local.get $2 i32.sub i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $0 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8Array,u8> (; 303 ;) (type $FUNCSIG$v) (local $0 i32) @@ -15343,9 +15002,6 @@ (func $~lib/typedarray/Uint8ClampedArray#subarray (; 304 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -15378,48 +15034,35 @@ i32.lt_s select end - local.tee $0 - local.get $2 - local.get $0 - local.get $2 - i32.gt_s - select - local.set $4 + local.set $0 i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $0 - local.get $0 - i32.load - local.tee $6 + local.tee $1 local.get $3 i32.load - local.tee $1 - i32.ne - if - local.get $1 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $1 + call $~lib/rt/pure/__retain i32.store - local.get $0 + local.get $1 local.get $3 i32.load offset=4 local.get $2 i32.add i32.store offset=4 + local.get $1 local.get $0 - local.get $4 local.get $2 - i32.sub - i32.store offset=8 - local.get $3 - call $~lib/rt/pure/__release local.get $0 + local.get $2 + i32.gt_s + select + local.get $2 + i32.sub + i32.store offset=8 + local.get $1 + call $~lib/rt/pure/__retain + local.get $3 + call $~lib/rt/pure/__release ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8ClampedArray,u8> (; 305 ;) (type $FUNCSIG$v) (local $0 i32) @@ -15643,9 +15286,6 @@ (func $~lib/typedarray/Int16Array#subarray (; 307 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -15678,35 +15318,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -15714,16 +15335,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 1 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Int16Array,i16> (; 308 ;) (type $FUNCSIG$v) (local $0 i32) @@ -15953,9 +15580,6 @@ (func $~lib/typedarray/Uint16Array#subarray (; 310 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -15988,35 +15612,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -16024,16 +15629,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 1 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint16Array,u16> (; 311 ;) (type $FUNCSIG$v) (local $0 i32) @@ -16414,9 +16025,6 @@ (func $~lib/typedarray/Uint32Array#subarray (; 314 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -16449,35 +16057,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -16485,16 +16074,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 2 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint32Array,u32> (; 315 ;) (type $FUNCSIG$v) (local $0 i32) @@ -16712,9 +16307,6 @@ (func $~lib/typedarray/Int64Array#subarray (; 317 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -16747,35 +16339,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -16783,16 +16356,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 3 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Int64Array,i64> (; 318 ;) (type $FUNCSIG$v) (local $0 i32) @@ -16956,9 +16535,6 @@ (func $~lib/typedarray/Uint64Array#subarray (; 319 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -16991,35 +16567,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -17027,16 +16584,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 3 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint64Array,u64> (; 320 ;) (type $FUNCSIG$v) (local $0 i32) @@ -17257,9 +16820,6 @@ (func $~lib/typedarray/Float32Array#subarray (; 322 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) i32.const 4 local.get $0 call $~lib/rt/pure/__retain @@ -17292,35 +16852,16 @@ i32.lt_s select end - local.tee $1 - local.get $0 - local.get $1 - local.get $0 - i32.gt_s - select - local.set $4 + local.set $1 i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain - local.tee $1 - local.get $1 - i32.load - local.tee $6 + local.tee $2 local.get $3 i32.load - local.tee $2 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $6 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store - local.get $1 + local.get $2 local.get $3 i32.load offset=4 local.get $0 @@ -17328,16 +16869,22 @@ i32.shl i32.add i32.store offset=4 + local.get $2 local.get $1 - local.get $4 + local.get $0 + local.get $1 + local.get $0 + i32.gt_s + select local.get $0 i32.sub i32.const 2 i32.shl i32.store offset=8 + local.get $2 + call $~lib/rt/pure/__retain local.get $3 call $~lib/rt/pure/__release - local.get $1 ) (func $std/typedarray/testArrayReverse<~lib/typedarray/Float32Array,f32> (; 323 ;) (type $FUNCSIG$v) (local $0 i32) @@ -27384,18 +26931,13 @@ local.get $0 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int8Array#get:buffer (; 412 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/arraybuffer/ArrayBuffer#get:byteLength (; 413 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/arraybuffer/ArrayBuffer#get:byteLength (; 412 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.sub i32.load offset=12 ) - (func $~lib/arraybuffer/ArrayBuffer#slice (; 414 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/arraybuffer/ArrayBuffer#slice (; 413 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $0 call $~lib/arraybuffer/ArrayBuffer#get:byteLength @@ -27463,11 +27005,9 @@ local.get $3 call $~lib/rt/pure/__retain ) - (func $~lib/typedarray/Int8Array.wrap (; 415 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array.wrap (; 414 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -27482,7 +27022,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -27504,7 +27044,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -27517,7 +27057,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -27533,7 +27073,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -27541,21 +27081,9 @@ i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -27563,13 +27091,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int8Array,i8> (; 416 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int8Array,i8> (; 415 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -27577,68 +27106,68 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Int8Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/typedarray/Int8Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Int8Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Int8Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Int8Array#__get i32.ne if @@ -27649,10 +27178,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -27660,22 +27189,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array.wrap (; 417 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array.wrap (; 416 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -27690,7 +27215,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -27712,7 +27237,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -27725,7 +27250,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -27741,7 +27266,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -27749,21 +27274,9 @@ i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -27771,13 +27284,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8Array,u8> (; 418 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8Array,u8> (; 417 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -27785,66 +27299,66 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Uint8Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i32.const 255 i32.and call $~lib/typedarray/Uint8Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Uint8Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Uint8Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Uint8Array#__get i32.ne if @@ -27855,10 +27369,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -27866,22 +27380,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray.wrap (; 419 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray.wrap (; 418 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -27896,7 +27406,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -27918,7 +27428,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -27931,7 +27441,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -27947,7 +27457,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -27955,21 +27465,9 @@ i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -27977,13 +27475,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8ClampedArray,u8> (; 420 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8ClampedArray,u8> (; 419 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -27991,66 +27490,66 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Uint8ClampedArray#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i32.const 255 i32.and call $~lib/typedarray/Uint8ClampedArray#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Uint8ClampedArray.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Uint8ClampedArray#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Uint8ClampedArray#__get i32.ne if @@ -28061,10 +27560,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -28072,22 +27571,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array.wrap (; 421 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array.wrap (; 420 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -28102,7 +27597,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -28124,7 +27619,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -28137,7 +27632,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -28156,7 +27651,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -28164,21 +27659,9 @@ i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -28186,13 +27669,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int16Array,i16> (; 422 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int16Array,i16> (; 421 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -28200,68 +27684,68 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Int16Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 - i32.lt_s + local.get $0 + local.get $3 + i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/typedarray/Int16Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Int16Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Int16Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Int16Array#__get i32.ne if @@ -28272,10 +27756,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -28283,22 +27767,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array.wrap (; 423 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array.wrap (; 422 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -28313,7 +27793,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -28335,7 +27815,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -28348,7 +27828,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -28367,7 +27847,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -28375,21 +27855,9 @@ i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -28397,13 +27865,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint16Array,u16> (; 424 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint16Array,u16> (; 423 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -28411,66 +27880,66 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Uint16Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i32.const 65535 i32.and call $~lib/typedarray/Uint16Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Uint16Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Uint16Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Uint16Array#__get i32.ne if @@ -28481,10 +27950,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -28492,22 +27961,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array.wrap (; 425 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array.wrap (; 424 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -28522,7 +27987,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -28544,7 +28009,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -28557,7 +28022,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -28576,7 +28041,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -28584,21 +28049,9 @@ i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -28606,13 +28059,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int32Array,i32> (; 426 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int32Array,i32> (; 425 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -28620,64 +28074,64 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Int32Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get call $~lib/typedarray/Int32Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Int32Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Int32Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Int32Array#__get i32.ne if @@ -28688,10 +28142,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -28699,22 +28153,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array.wrap (; 427 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array.wrap (; 426 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -28729,7 +28179,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -28751,7 +28201,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -28764,7 +28214,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -28783,7 +28233,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -28791,21 +28241,9 @@ i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -28813,13 +28251,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint32Array,u32> (; 428 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint32Array,u32> (; 427 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -28827,64 +28266,64 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Uint32Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get call $~lib/typedarray/Uint32Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Uint32Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Uint32Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Uint32Array#__get i32.ne if @@ -28895,10 +28334,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -28906,22 +28345,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array.wrap (; 429 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array.wrap (; 428 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -28936,7 +28371,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -28958,7 +28393,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -28971,7 +28406,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -28990,7 +28425,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -28998,21 +28433,9 @@ i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -29020,13 +28443,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int64Array,i64> (; 430 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int64Array,i64> (; 429 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29034,65 +28458,65 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Int64Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i64.extend_i32_s call $~lib/typedarray/Int64Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Int64Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Int64Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Int64Array#__get i64.ne if @@ -29103,10 +28527,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -29114,22 +28538,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array.wrap (; 431 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array.wrap (; 430 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -29144,7 +28564,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -29166,7 +28586,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -29179,7 +28599,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -29198,7 +28618,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -29206,21 +28626,9 @@ i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -29228,13 +28636,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint64Array,u64> (; 432 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint64Array,u64> (; 431 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29242,65 +28651,65 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Uint64Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get i64.extend_i32_s call $~lib/typedarray/Uint64Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Uint64Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Uint64Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Uint64Array#__get i64.ne if @@ -29311,10 +28720,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -29322,22 +28731,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array.wrap (; 433 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array.wrap (; 432 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -29352,7 +28757,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -29374,7 +28779,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -29387,7 +28792,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -29406,7 +28811,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -29414,21 +28819,9 @@ i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -29436,13 +28829,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> (; 434 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> (; 433 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29450,65 +28844,65 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Float32Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get f32.convert_i32_s call $~lib/typedarray/Float32Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Float32Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Float32Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Float32Array#__get f32.ne if @@ -29519,10 +28913,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -29530,22 +28924,18 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float64Array.wrap (; 435 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array.wrap (; 434 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -29560,7 +28950,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -29582,7 +28972,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -29595,7 +28985,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -29614,7 +29004,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -29622,21 +29012,9 @@ i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.tee $3 local.get $2 - local.get $3 - i32.load - local.tee $5 - i32.ne - if - local.get $2 - call $~lib/rt/pure/__retain - drop - local.get $5 - call $~lib/rt/pure/__release - end - local.get $2 + call $~lib/rt/pure/__retain i32.store local.get $3 local.get $1 @@ -29644,13 +29022,14 @@ local.get $3 local.get $2 i32.store offset=4 + local.get $3 + call $~lib/rt/pure/__retain local.get $2 call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release - local.get $3 ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> (; 436 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> (; 435 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29658,65 +29037,65 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) i32.const 3104 call $~lib/rt/pure/__retain - local.tee $3 + local.tee $2 i32.load offset=12 - local.tee $4 + local.tee $3 call $~lib/typedarray/Float64Array#constructor local.tee $6 call $~lib/rt/pure/__retain - local.set $0 + local.set $1 loop $loop|0 - local.get $1 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if - local.get $0 - local.get $1 - local.get $3 local.get $1 + local.get $0 + local.get $2 + local.get $0 call $~lib/array/Array#__get f64.convert_i32_s call $~lib/typedarray/Float64Array#__set - local.get $1 + local.get $0 i32.const 1 i32.add - local.set $1 + local.set $0 br $loop|0 end end - local.get $0 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $7 - local.get $0 + local.get $1 + i32.load + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset - local.get $0 + local.get $1 i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice - local.set $1 + local.set $4 i32.const 1 global.set $~lib/argc - local.get $1 + local.get $4 i32.const -1 call $~lib/typedarray/Float64Array.wrap local.set $5 i32.const 0 call $~lib/rt/pure/__release + i32.const 0 + local.set $0 loop $loop|1 - local.get $2 - local.get $4 + local.get $0 + local.get $3 i32.lt_s if + local.get $1 local.get $0 - local.get $2 call $~lib/typedarray/Float64Array#__get local.get $5 - local.get $2 + local.get $0 call $~lib/typedarray/Float64Array#__get f64.ne if @@ -29727,10 +29106,10 @@ call $~lib/builtins/abort unreachable else - local.get $2 + local.get $0 i32.const 1 i32.add - local.set $2 + local.set $0 br $loop|1 end unreachable @@ -29738,18 +29117,16 @@ end local.get $6 call $~lib/rt/pure/__release - local.get $7 - call $~lib/rt/pure/__release - local.get $3 - call $~lib/rt/pure/__release - local.get $0 + local.get $2 call $~lib/rt/pure/__release local.get $1 call $~lib/rt/pure/__release + local.get $4 + call $~lib/rt/pure/__release local.get $5 call $~lib/rt/pure/__release ) - (func $start:std/typedarray (; 437 ;) (type $FUNCSIG$v) + (func $start:std/typedarray (; 436 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29927,46 +29304,46 @@ call $~lib/rt/pure/__release i32.const 8 call $~lib/typedarray/Float64Array#constructor - local.tee $0 + local.tee $1 i32.const 0 f64.const 1 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 1 f64.const 2 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 2 f64.const 7 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 3 f64.const 6 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 4 f64.const 5 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 5 f64.const 4 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 6 f64.const 3 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 7 f64.const 8 call $~lib/typedarray/Float64Array#__set - local.get $0 + local.get $1 i32.const 2 i32.const 6 call $~lib/typedarray/Float64Array#subarray - local.set $1 - local.get $0 - call $~lib/rt/pure/__release + local.set $0 local.get $1 + call $~lib/rt/pure/__release + local.get $0 call $~lib/typedarray/Int64Array#get:length i32.const 4 i32.ne @@ -29978,7 +29355,7 @@ call $~lib/builtins/abort unreachable end - local.get $1 + local.get $0 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset i32.const 16 i32.ne @@ -29990,7 +29367,7 @@ call $~lib/builtins/abort unreachable end - local.get $1 + local.get $0 i32.load offset=8 i32.const 32 i32.ne @@ -30004,17 +29381,17 @@ end i32.const 0 global.set $~lib/argc - local.get $1 + local.get $0 i32.const 1 call $~lib/typedarray/Float64Array#sort call $~lib/rt/pure/__release - local.get $1 + local.get $0 i32.const 0 call $~lib/typedarray/Float64Array#__get f64.const 4 f64.eq if (result i32) - local.get $1 + local.get $0 i32.const 1 call $~lib/typedarray/Float64Array#__get f64.const 5 @@ -30023,7 +29400,7 @@ i32.const 0 end if (result i32) - local.get $1 + local.get $0 i32.const 2 call $~lib/typedarray/Float64Array#__get f64.const 6 @@ -30032,7 +29409,7 @@ i32.const 0 end if (result i32) - local.get $1 + local.get $0 i32.const 3 call $~lib/typedarray/Float64Array#__get f64.const 7 @@ -30049,7 +29426,7 @@ call $~lib/builtins/abort unreachable end - local.get $1 + local.get $0 call $~lib/rt/pure/__release i32.const 3 call $~lib/typedarray/Uint8ClampedArray#constructor @@ -31067,10 +30444,9 @@ i32.const 0 i32.const 2147483647 call $~lib/typedarray/Int32Array#slice - local.set $0 local.get $1 call $~lib/rt/pure/__release - local.get $0 + local.tee $1 i32.const -4 i32.const -3 i32.const -2 @@ -31097,10 +30473,10 @@ i32.const 0 i32.const 2147483647 call $~lib/typedarray/Int32Array#slice - local.set $1 - local.get $0 - call $~lib/rt/pure/__release + local.set $0 local.get $1 + call $~lib/rt/pure/__release + local.get $0 i32.const -4 i32.const -3 i32.const -1 @@ -31127,15 +30503,15 @@ i32.const 0 i32.const 2147483647 call $~lib/typedarray/Int32Array#slice - local.set $0 - local.get $1 - call $~lib/rt/pure/__release + local.set $1 local.get $0 + call $~lib/rt/pure/__release + local.get $1 i32.const -4 i32.const -3 i32.const 2147483647 call $~lib/typedarray/Int32Array#copyWithin - local.tee $1 + local.tee $0 i32.const 5 i32.const 2 i32.const 15 @@ -31153,7 +30529,7 @@ call $~lib/builtins/abort unreachable end - local.get $0 + local.get $1 call $~lib/rt/pure/__release local.get $2 call $~lib/rt/pure/__release @@ -31201,7 +30577,7 @@ call $~lib/rt/pure/__release local.get $24 call $~lib/rt/pure/__release - local.get $1 + local.get $0 call $~lib/rt/pure/__release local.get $25 call $~lib/rt/pure/__release @@ -31579,7 +30955,7 @@ call $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> call $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> ) - (func $start (; 438 ;) (type $FUNCSIG$v) + (func $start (; 437 ;) (type $FUNCSIG$v) global.get $~lib/started if return @@ -31589,7 +30965,7 @@ end call $start:std/typedarray ) - (func $~lib/rt/pure/__visit (; 439 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/pure/__visit (; 438 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) local.get $0 i32.const 3276 i32.lt_u @@ -31699,7 +31075,7 @@ unreachable end ) - (func $~lib/rt/__visit_members (; 440 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/__visit_members (; 439 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) block $block$4$break block $switch$1$default block $switch$1$case$2 @@ -31722,7 +31098,7 @@ call $~lib/rt/pure/__visit end ) - (func $null (; 441 ;) (type $FUNCSIG$v) + (func $null (; 440 ;) (type $FUNCSIG$v) nop ) ) diff --git a/tests/compiler/std/typedarray.untouched.wat b/tests/compiler/std/typedarray.untouched.wat index d769eac0f5..7b5ce13917 100644 --- a/tests/compiler/std/typedarray.untouched.wat +++ b/tests/compiler/std/typedarray.untouched.wat @@ -3659,7 +3659,7 @@ if i32.const 24 i32.const 72 - i32.const 14 + i32.const 23 i32.const 56 call $~lib/builtins/abort unreachable @@ -3741,15 +3741,11 @@ i32.load i32.sub ) - (func $~lib/arraybuffer/ArrayBufferView#get:byteLength (; 35 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int8Array#get:length (; 35 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=8 ) - (func $~lib/typedarray/Int8Array#get:length (; 36 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength - ) - (func $~lib/typedarray/Uint8Array#constructor (; 37 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#constructor (; 36 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3765,11 +3761,11 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Uint8Array#get:length (; 38 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8Array#get:length (; 37 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 ) - (func $~lib/typedarray/Uint8ClampedArray#constructor (; 39 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#constructor (; 38 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3785,11 +3781,11 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Uint8ClampedArray#get:length (; 40 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#get:length (; 39 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 ) - (func $~lib/typedarray/Int16Array#constructor (; 41 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#constructor (; 40 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3805,13 +3801,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Int16Array#get:length (; 42 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int16Array#get:length (; 41 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 1 i32.shr_u ) - (func $~lib/typedarray/Uint16Array#constructor (; 43 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#constructor (; 42 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3827,13 +3823,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Uint16Array#get:length (; 44 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint16Array#get:length (; 43 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 1 i32.shr_u ) - (func $~lib/typedarray/Int32Array#constructor (; 45 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#constructor (; 44 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3849,13 +3845,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Int32Array#get:length (; 46 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int32Array#get:length (; 45 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 2 i32.shr_u ) - (func $~lib/typedarray/Uint32Array#constructor (; 47 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#constructor (; 46 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3871,13 +3867,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Uint32Array#get:length (; 48 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint32Array#get:length (; 47 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 2 i32.shr_u ) - (func $~lib/typedarray/Int64Array#constructor (; 49 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#constructor (; 48 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3893,13 +3889,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Int64Array#get:length (; 50 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int64Array#get:length (; 49 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 3 i32.shr_u ) - (func $~lib/typedarray/Uint64Array#constructor (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#constructor (; 50 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3915,13 +3911,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Uint64Array#get:length (; 52 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint64Array#get:length (; 51 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 3 i32.shr_u ) - (func $~lib/typedarray/Float32Array#constructor (; 53 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#constructor (; 52 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3937,13 +3933,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Float32Array#get:length (; 54 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float32Array#get:length (; 53 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 2 i32.shr_u ) - (func $~lib/typedarray/Float64Array#constructor (; 55 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#constructor (; 54 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 if (result i32) local.get $0 @@ -3959,13 +3955,13 @@ local.set $0 local.get $0 ) - (func $~lib/typedarray/Float64Array#get:length (; 56 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float64Array#get:length (; 55 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 3 i32.shr_u ) - (func $std/typedarray/testInstantiate (; 57 ;) (type $FUNCSIG$vi) (param $0 i32) + (func $std/typedarray/testInstantiate (; 56 ;) (type $FUNCSIG$vi) (param $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -3995,7 +3991,7 @@ unreachable end local.get $1 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 1 i32.mul @@ -4040,7 +4036,7 @@ unreachable end local.get $2 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 1 i32.mul @@ -4085,7 +4081,7 @@ unreachable end local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 1 i32.mul @@ -4130,7 +4126,7 @@ unreachable end local.get $4 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 2 i32.mul @@ -4175,7 +4171,7 @@ unreachable end local.get $5 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 2 i32.mul @@ -4220,7 +4216,7 @@ unreachable end local.get $6 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 4 i32.mul @@ -4265,7 +4261,7 @@ unreachable end local.get $7 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 4 i32.mul @@ -4310,7 +4306,7 @@ unreachable end local.get $8 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 8 i32.mul @@ -4355,7 +4351,7 @@ unreachable end local.get $9 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 8 i32.mul @@ -4400,7 +4396,7 @@ unreachable end local.get $10 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 4 i32.mul @@ -4445,7 +4441,7 @@ unreachable end local.get $11 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $0 i32.const 8 i32.mul @@ -4495,7 +4491,7 @@ local.get $11 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array#__set (; 58 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Int32Array#__set (; 57 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -4505,7 +4501,7 @@ if i32.const 280 i32.const 432 - i32.const 679 + i32.const 655 i32.const 63 call $~lib/builtins/abort unreachable @@ -4519,7 +4515,7 @@ local.get $2 i32.store ) - (func $~lib/typedarray/Int32Array#__get (; 59 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#__get (; 58 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -4529,7 +4525,7 @@ if i32.const 280 i32.const 432 - i32.const 668 + i32.const 644 i32.const 63 call $~lib/builtins/abort unreachable @@ -4542,14 +4538,13 @@ i32.add i32.load ) - (func $~lib/typedarray/Int32Array#subarray (; 60 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#subarray (; 59 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -4622,25 +4617,11 @@ i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -4658,12 +4639,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $~lib/typedarray/Float64Array#__set (; 61 ;) (type $FUNCSIG$viid) (param $0 i32) (param $1 i32) (param $2 f64) + (func $~lib/typedarray/Float64Array#__set (; 60 ;) (type $FUNCSIG$viid) (param $0 i32) (param $1 i32) (param $2 f64) local.get $1 local.get $0 i32.load offset=8 @@ -4673,7 +4655,7 @@ if i32.const 280 i32.const 432 - i32.const 1319 + i32.const 1275 i32.const 63 call $~lib/builtins/abort unreachable @@ -4687,14 +4669,13 @@ local.get $2 f64.store ) - (func $~lib/typedarray/Float64Array#subarray (; 62 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array#subarray (; 61 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -4767,25 +4748,11 @@ i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -4803,12 +4770,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $~lib/util/sort/insertionSort (; 63 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/util/sort/insertionSort (; 62 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 f64) (local $5 i32) @@ -4896,7 +4864,7 @@ unreachable end ) - (func $~lib/util/sort/weakHeapSort (; 64 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/util/sort/weakHeapSort (; 63 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -5188,7 +5156,7 @@ local.get $10 f64.store ) - (func $~lib/typedarray/Float64Array#sort (; 65 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#sort (; 64 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -5277,7 +5245,7 @@ local.get $3 end ) - (func $~lib/util/sort/COMPARATOR~anonymous|0 (; 66 ;) (type $FUNCSIG$idd) (param $0 f64) (param $1 f64) (result i32) + (func $~lib/util/sort/COMPARATOR~anonymous|0 (; 65 ;) (type $FUNCSIG$idd) (param $0 f64) (param $1 f64) (result i32) (local $2 i64) (local $3 i64) local.get $0 @@ -5310,7 +5278,7 @@ i64.lt_s i32.sub ) - (func $~lib/typedarray/Float64Array#sort|trampoline (; 67 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#sort|trampoline (; 66 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -5329,7 +5297,7 @@ local.get $1 call $~lib/typedarray/Float64Array#sort ) - (func $~lib/typedarray/Float64Array#__get (; 68 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64) + (func $~lib/typedarray/Float64Array#__get (; 67 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64) local.get $1 local.get $0 i32.load offset=8 @@ -5339,7 +5307,7 @@ if i32.const 280 i32.const 432 - i32.const 1308 + i32.const 1264 i32.const 63 call $~lib/builtins/abort unreachable @@ -5352,7 +5320,7 @@ i32.add f64.load ) - (func $~lib/typedarray/Uint8ClampedArray#__set (; 69 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Uint8ClampedArray#__set (; 68 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -5360,7 +5328,7 @@ if i32.const 280 i32.const 432 - i32.const 295 + i32.const 283 i32.const 44 call $~lib/builtins/abort unreachable @@ -5384,7 +5352,7 @@ i32.and i32.store8 ) - (func $~lib/typedarray/Uint8ClampedArray#__get (; 70 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#__get (; 69 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -5392,7 +5360,7 @@ if i32.const 280 i32.const 432 - i32.const 284 + i32.const 272 i32.const 44 call $~lib/builtins/abort unreachable @@ -5403,7 +5371,7 @@ i32.add i32.load8_u ) - (func $~lib/typedarray/Int8Array#__set (; 71 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Int8Array#__set (; 70 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -5411,7 +5379,7 @@ if i32.const 280 i32.const 432 - i32.const 39 + i32.const 35 i32.const 44 call $~lib/builtins/abort unreachable @@ -5423,7 +5391,7 @@ local.get $2 i32.store8 ) - (func $~lib/typedarray/Int8Array#fill (; 72 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/typedarray/Int8Array#fill (; 71 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) (local $5 i32) (local $6 i32) @@ -5512,7 +5480,7 @@ end local.get $7 ) - (func $~lib/rt/__allocArray (; 73 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/rt/__allocArray (; 72 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) (local $5 i32) (local $6 i32) @@ -5550,11 +5518,11 @@ end local.get $4 ) - (func $~lib/array/Array#get:length (; 74 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/array/Array#get:length (; 73 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=12 ) - (func $~lib/typedarray/Int8Array#__get (; 75 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#__get (; 74 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -5562,7 +5530,7 @@ if i32.const 280 i32.const 432 - i32.const 28 + i32.const 24 i32.const 44 call $~lib/builtins/abort unreachable @@ -5573,7 +5541,7 @@ i32.add i32.load8_s ) - (func $~lib/array/Array#__unchecked_get (; 76 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/array/Array#__unchecked_get (; 75 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 i32.load offset=4 local.get $1 @@ -5582,7 +5550,7 @@ i32.add i32.load8_s ) - (func $~lib/array/Array#__get (; 77 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/array/Array#__get (; 76 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 local.get $0 @@ -5591,7 +5559,7 @@ if i32.const 280 i32.const 512 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -5602,7 +5570,7 @@ local.set $2 local.get $2 ) - (func $std/typedarray/isInt8ArrayEqual (; 78 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $std/typedarray/isInt8ArrayEqual (; 77 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -5672,14 +5640,13 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int8Array#subarray (; 79 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#subarray (; 78 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -5752,25 +5719,11 @@ i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -5788,12 +5741,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $~lib/typedarray/Int32Array#fill (; 80 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/typedarray/Int32Array#fill (; 79 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) (local $5 i32) (local $6 i32) @@ -5891,11 +5845,11 @@ end local.get $7 ) - (func $~lib/array/Array#get:length (; 81 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/array/Array#get:length (; 80 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.load offset=12 ) - (func $~lib/array/Array#__unchecked_get (; 82 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/array/Array#__unchecked_get (; 81 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 i32.load offset=4 local.get $1 @@ -5904,7 +5858,7 @@ i32.add i32.load ) - (func $~lib/array/Array#__get (; 83 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/array/Array#__get (; 82 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 local.get $0 @@ -5913,7 +5867,7 @@ if i32.const 280 i32.const 512 - i32.const 96 + i32.const 92 i32.const 41 call $~lib/builtins/abort unreachable @@ -5924,7 +5878,7 @@ local.set $2 local.get $2 ) - (func $std/typedarray/isInt32ArrayEqual (; 84 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $std/typedarray/isInt32ArrayEqual (; 83 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -5994,7 +5948,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#slice (; 85 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#slice (; 84 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6099,7 +6053,7 @@ call $~lib/rt/pure/__release local.get $9 ) - (func $~lib/typedarray/Int32Array#copyWithin (; 86 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $~lib/typedarray/Int32Array#copyWithin (; 85 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) (local $5 i32) (local $6 i32) @@ -6239,7 +6193,7 @@ call $~lib/memory/memory.copy local.get $7 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 87 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 86 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6252,7 +6206,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int8Array#reduce (; 88 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#reduce (; 87 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6309,7 +6263,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int8Array,i8> (; 89 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Int8Array,i8> (; 88 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -6357,7 +6311,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array#__set (; 90 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Uint8Array#__set (; 89 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -6365,7 +6319,7 @@ if i32.const 280 i32.const 432 - i32.const 167 + i32.const 159 i32.const 44 call $~lib/builtins/abort unreachable @@ -6377,7 +6331,7 @@ local.get $2 i32.store8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 91 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 90 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6390,7 +6344,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint8Array#reduce (; 92 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#reduce (; 91 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6447,7 +6401,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint8Array,u8> (; 93 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Uint8Array,u8> (; 92 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -6493,7 +6447,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 94 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 93 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6506,7 +6460,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint8ClampedArray#reduce (; 95 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#reduce (; 94 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6563,7 +6517,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint8ClampedArray,u8> (; 96 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Uint8ClampedArray,u8> (; 95 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -6609,7 +6563,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array#__set (; 97 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Int16Array#__set (; 96 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -6619,7 +6573,7 @@ if i32.const 280 i32.const 432 - i32.const 423 + i32.const 407 i32.const 63 call $~lib/builtins/abort unreachable @@ -6633,7 +6587,7 @@ local.get $2 i32.store16 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 98 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 97 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6646,7 +6600,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int16Array#reduce (; 99 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#reduce (; 98 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6703,7 +6657,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int16Array,i16> (; 100 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Int16Array,i16> (; 99 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -6751,7 +6705,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array#__set (; 101 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Uint16Array#__set (; 100 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -6761,7 +6715,7 @@ if i32.const 280 i32.const 432 - i32.const 551 + i32.const 531 i32.const 63 call $~lib/builtins/abort unreachable @@ -6775,7 +6729,7 @@ local.get $2 i32.store16 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 102 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 101 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6788,7 +6742,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint16Array#reduce (; 103 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#reduce (; 102 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6845,7 +6799,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint16Array,u16> (; 104 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Uint16Array,u16> (; 103 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -6891,7 +6845,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduce<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 105 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 104 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -6904,7 +6858,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int32Array#reduce (; 106 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#reduce (; 105 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -6961,7 +6915,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int32Array,i32> (; 107 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Int32Array,i32> (; 106 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -7005,7 +6959,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array#__set (; 108 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/typedarray/Uint32Array#__set (; 107 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) local.get $1 local.get $0 i32.load offset=8 @@ -7015,7 +6969,7 @@ if i32.const 280 i32.const 432 - i32.const 807 + i32.const 779 i32.const 63 call $~lib/builtins/abort unreachable @@ -7029,7 +6983,7 @@ local.get $2 i32.store ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 109 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduce<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 108 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -7042,7 +6996,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint32Array#reduce (; 110 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#reduce (; 109 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -7099,7 +7053,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint32Array,u32> (; 111 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Uint32Array,u32> (; 110 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -7143,7 +7097,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array#__set (; 112 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64) + (func $~lib/typedarray/Int64Array#__set (; 111 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64) local.get $1 local.get $0 i32.load offset=8 @@ -7153,7 +7107,7 @@ if i32.const 280 i32.const 432 - i32.const 935 + i32.const 903 i32.const 63 call $~lib/builtins/abort unreachable @@ -7167,7 +7121,7 @@ local.get $2 i64.store ) - (func $std/typedarray/testReduce<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 113 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) + (func $std/typedarray/testReduce<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 112 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) (local $4 i64) local.get $3 call $~lib/rt/pure/__retain @@ -7180,7 +7134,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int64Array#reduce (; 114 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) + (func $~lib/typedarray/Int64Array#reduce (; 113 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) (local $3 i64) (local $4 i32) (local $5 i32) @@ -7238,7 +7192,7 @@ call $~lib/rt/pure/__release local.get $9 ) - (func $std/typedarray/testReduce<~lib/typedarray/Int64Array,i64> (; 115 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Int64Array,i64> (; 114 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i64) @@ -7282,7 +7236,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array#__set (; 116 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64) + (func $~lib/typedarray/Uint64Array#__set (; 115 ;) (type $FUNCSIG$viij) (param $0 i32) (param $1 i32) (param $2 i64) local.get $1 local.get $0 i32.load offset=8 @@ -7292,7 +7246,7 @@ if i32.const 280 i32.const 432 - i32.const 1063 + i32.const 1027 i32.const 63 call $~lib/builtins/abort unreachable @@ -7306,7 +7260,7 @@ local.get $2 i64.store ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 117 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) + (func $std/typedarray/testReduce<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 116 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) (local $4 i64) local.get $3 call $~lib/rt/pure/__retain @@ -7319,7 +7273,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint64Array#reduce (; 118 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) + (func $~lib/typedarray/Uint64Array#reduce (; 117 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) (local $3 i64) (local $4 i32) (local $5 i32) @@ -7377,7 +7331,7 @@ call $~lib/rt/pure/__release local.get $9 ) - (func $std/typedarray/testReduce<~lib/typedarray/Uint64Array,u64> (; 119 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Uint64Array,u64> (; 118 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i64) @@ -7421,7 +7375,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array#__set (; 120 ;) (type $FUNCSIG$viif) (param $0 i32) (param $1 i32) (param $2 f32) + (func $~lib/typedarray/Float32Array#__set (; 119 ;) (type $FUNCSIG$viif) (param $0 i32) (param $1 i32) (param $2 f32) local.get $1 local.get $0 i32.load offset=8 @@ -7431,7 +7385,7 @@ if i32.const 280 i32.const 432 - i32.const 1191 + i32.const 1151 i32.const 63 call $~lib/builtins/abort unreachable @@ -7445,7 +7399,7 @@ local.get $2 f32.store ) - (func $std/typedarray/testReduce<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 121 ;) (type $FUNCSIG$fffii) (param $0 f32) (param $1 f32) (param $2 i32) (param $3 i32) (result f32) + (func $std/typedarray/testReduce<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 120 ;) (type $FUNCSIG$fffii) (param $0 f32) (param $1 f32) (param $2 i32) (param $3 i32) (result f32) (local $4 f32) local.get $3 call $~lib/rt/pure/__retain @@ -7458,7 +7412,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float32Array#reduce (; 122 ;) (type $FUNCSIG$fiif) (param $0 i32) (param $1 i32) (param $2 f32) (result f32) + (func $~lib/typedarray/Float32Array#reduce (; 121 ;) (type $FUNCSIG$fiif) (param $0 i32) (param $1 i32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (local $5 i32) @@ -7516,7 +7470,7 @@ call $~lib/rt/pure/__release local.get $9 ) - (func $std/typedarray/testReduce<~lib/typedarray/Float32Array,f32> (; 123 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Float32Array,f32> (; 122 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 f32) @@ -7560,7 +7514,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduce<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 124 ;) (type $FUNCSIG$dddii) (param $0 f64) (param $1 f64) (param $2 i32) (param $3 i32) (result f64) + (func $std/typedarray/testReduce<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 123 ;) (type $FUNCSIG$dddii) (param $0 f64) (param $1 f64) (param $2 i32) (param $3 i32) (result f64) (local $4 f64) local.get $3 call $~lib/rt/pure/__retain @@ -7573,7 +7527,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float64Array#reduce (; 125 ;) (type $FUNCSIG$diid) (param $0 i32) (param $1 i32) (param $2 f64) (result f64) + (func $~lib/typedarray/Float64Array#reduce (; 124 ;) (type $FUNCSIG$diid) (param $0 i32) (param $1 i32) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (local $5 i32) @@ -7631,7 +7585,7 @@ call $~lib/rt/pure/__release local.get $9 ) - (func $std/typedarray/testReduce<~lib/typedarray/Float64Array,f64> (; 126 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduce<~lib/typedarray/Float64Array,f64> (; 125 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 f64) @@ -7675,7 +7629,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 127 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 126 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -7688,7 +7642,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int8Array#reduceRight (; 128 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#reduceRight (; 127 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -7744,7 +7698,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int8Array,i8> (; 129 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int8Array,i8> (; 128 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -7792,7 +7746,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 130 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 129 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -7805,7 +7759,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint8Array#reduceRight (; 131 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#reduceRight (; 130 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -7861,7 +7815,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8Array,u8> (; 132 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8Array,u8> (; 131 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -7907,7 +7861,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 133 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 132 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -7920,7 +7874,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint8ClampedArray#reduceRight (; 134 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#reduceRight (; 133 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -7976,7 +7930,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8ClampedArray,u8> (; 135 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint8ClampedArray,u8> (; 134 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -8022,7 +7976,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 136 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 135 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -8035,7 +7989,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int16Array#reduceRight (; 137 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#reduceRight (; 136 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -8091,7 +8045,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int16Array,i16> (; 138 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int16Array,i16> (; 137 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -8139,7 +8093,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 139 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 138 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -8152,7 +8106,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint16Array#reduceRight (; 140 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#reduceRight (; 139 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -8208,7 +8162,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint16Array,u16> (; 141 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint16Array,u16> (; 140 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -8254,7 +8208,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 142 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 141 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -8267,7 +8221,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int32Array#reduceRight (; 143 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#reduceRight (; 142 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -8323,7 +8277,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int32Array,i32> (; 144 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int32Array,i32> (; 143 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -8367,7 +8321,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 145 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 144 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (local $4 i32) local.get $3 call $~lib/rt/pure/__retain @@ -8380,7 +8334,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint32Array#reduceRight (; 146 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#reduceRight (; 145 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -8436,7 +8390,7 @@ call $~lib/rt/pure/__release local.get $7 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint32Array,u32> (; 147 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint32Array,u32> (; 146 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -8480,7 +8434,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 148 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 147 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) (local $4 i64) local.get $3 call $~lib/rt/pure/__retain @@ -8493,7 +8447,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int64Array#reduceRight (; 149 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) + (func $~lib/typedarray/Int64Array#reduceRight (; 148 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) (local $3 i64) (local $4 i32) (local $5 i32) @@ -8550,7 +8504,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Int64Array,i64> (; 150 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Int64Array,i64> (; 149 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i64) @@ -8594,7 +8548,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 151 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 150 ;) (type $FUNCSIG$jjjii) (param $0 i64) (param $1 i64) (param $2 i32) (param $3 i32) (result i64) (local $4 i64) local.get $3 call $~lib/rt/pure/__retain @@ -8607,7 +8561,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint64Array#reduceRight (; 152 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) + (func $~lib/typedarray/Uint64Array#reduceRight (; 151 ;) (type $FUNCSIG$jiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i64) (local $3 i64) (local $4 i32) (local $5 i32) @@ -8664,7 +8618,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Uint64Array,u64> (; 153 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Uint64Array,u64> (; 152 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i64) @@ -8708,7 +8662,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 154 ;) (type $FUNCSIG$fffii) (param $0 f32) (param $1 f32) (param $2 i32) (param $3 i32) (result f32) + (func $std/typedarray/testReduceRight<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 153 ;) (type $FUNCSIG$fffii) (param $0 f32) (param $1 f32) (param $2 i32) (param $3 i32) (result f32) (local $4 f32) local.get $3 call $~lib/rt/pure/__retain @@ -8721,7 +8675,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float32Array#reduceRight (; 155 ;) (type $FUNCSIG$fiif) (param $0 i32) (param $1 i32) (param $2 f32) (result f32) + (func $~lib/typedarray/Float32Array#reduceRight (; 154 ;) (type $FUNCSIG$fiif) (param $0 i32) (param $1 i32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (local $5 i32) @@ -8778,7 +8732,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Float32Array,f32> (; 156 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Float32Array,f32> (; 155 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 f32) @@ -8822,7 +8776,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 157 ;) (type $FUNCSIG$dddii) (param $0 f64) (param $1 f64) (param $2 i32) (param $3 i32) (result f64) + (func $std/typedarray/testReduceRight<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 156 ;) (type $FUNCSIG$dddii) (param $0 f64) (param $1 f64) (param $2 i32) (param $3 i32) (result f64) (local $4 f64) local.get $3 call $~lib/rt/pure/__retain @@ -8835,7 +8789,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float64Array#reduceRight (; 158 ;) (type $FUNCSIG$diid) (param $0 i32) (param $1 i32) (param $2 f64) (result f64) + (func $~lib/typedarray/Float64Array#reduceRight (; 157 ;) (type $FUNCSIG$diid) (param $0 i32) (param $1 i32) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (local $5 i32) @@ -8892,7 +8846,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $std/typedarray/testReduceRight<~lib/typedarray/Float64Array,f64> (; 159 ;) (type $FUNCSIG$v) + (func $std/typedarray/testReduceRight<~lib/typedarray/Float64Array,f64> (; 158 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 f64) @@ -8936,7 +8890,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 160 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 159 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -8949,7 +8903,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int8Array#map (; 161 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#map (; 160 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -8958,7 +8912,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -8977,77 +8930,64 @@ i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.load8_s - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store8 - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8> (; 162 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int8Array,i8> (; 161 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -9122,7 +9062,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 163 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 162 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -9135,7 +9075,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#map (; 164 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#map (; 163 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -9144,7 +9084,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -9163,77 +9102,64 @@ i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.load8_u - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store8 - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Uint8Array#__get (; 165 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#__get (; 164 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -9241,7 +9167,7 @@ if i32.const 280 i32.const 432 - i32.const 156 + i32.const 148 i32.const 44 call $~lib/builtins/abort unreachable @@ -9252,7 +9178,7 @@ i32.add i32.load8_u ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8Array,u8> (; 166 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8Array,u8> (; 165 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -9327,7 +9253,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 167 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 166 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -9340,7 +9266,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8ClampedArray#map (; 168 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#map (; 167 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -9349,7 +9275,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -9368,77 +9293,64 @@ i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 0 i32.shl i32.add i32.load8_u - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store8 - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8ClampedArray,u8> (; 169 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint8ClampedArray,u8> (; 168 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -9513,7 +9425,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 170 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 169 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -9526,7 +9438,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int16Array#map (; 171 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#map (; 170 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -9535,7 +9447,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -9554,77 +9465,64 @@ i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 1 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 1 i32.shl i32.add i32.load16_s - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store16 - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Int16Array#__get (; 172 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#__get (; 171 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -9634,7 +9532,7 @@ if i32.const 280 i32.const 432 - i32.const 412 + i32.const 396 i32.const 63 call $~lib/builtins/abort unreachable @@ -9647,7 +9545,7 @@ i32.add i32.load16_s ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int16Array,i16> (; 173 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int16Array,i16> (; 172 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -9722,7 +9620,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 174 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 173 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -9735,7 +9633,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint16Array#map (; 175 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#map (; 174 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -9744,7 +9642,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -9763,77 +9660,64 @@ i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 1 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 1 i32.shl i32.add i32.load16_u - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store16 - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Uint16Array#__get (; 176 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#__get (; 175 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -9843,7 +9727,7 @@ if i32.const 280 i32.const 432 - i32.const 540 + i32.const 520 i32.const 63 call $~lib/builtins/abort unreachable @@ -9856,7 +9740,7 @@ i32.add i32.load16_u ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint16Array,u16> (; 177 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint16Array,u16> (; 176 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -9931,7 +9815,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 178 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 177 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -9944,7 +9828,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#map (; 179 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#map (; 178 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -9953,7 +9837,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -9972,77 +9855,64 @@ i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add i32.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int32Array,i32> (; 180 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int32Array,i32> (; 179 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -10117,7 +9987,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 181 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 180 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -10130,7 +10000,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint32Array#map (; 182 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#map (; 181 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -10139,7 +10009,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -10158,77 +10027,64 @@ i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add i32.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$iiii) i32.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Uint32Array#__get (; 183 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#__get (; 182 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $1 local.get $0 i32.load offset=8 @@ -10238,7 +10094,7 @@ if i32.const 280 i32.const 432 - i32.const 796 + i32.const 768 i32.const 63 call $~lib/builtins/abort unreachable @@ -10251,7 +10107,7 @@ i32.add i32.load ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint32Array,u32> (; 184 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint32Array,u32> (; 183 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -10326,7 +10182,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 185 ;) (type $FUNCSIG$jjii) (param $0 i64) (param $1 i32) (param $2 i32) (result i64) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 184 ;) (type $FUNCSIG$jjii) (param $0 i64) (param $1 i32) (param $2 i32) (result i64) (local $3 i64) local.get $2 call $~lib/rt/pure/__retain @@ -10339,7 +10195,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int64Array#map (; 186 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#map (; 185 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -10348,7 +10204,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -10367,77 +10222,64 @@ i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add i64.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$jjii) i64.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Int64Array#__get (; 187 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) + (func $~lib/typedarray/Int64Array#__get (; 186 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) local.get $1 local.get $0 i32.load offset=8 @@ -10447,7 +10289,7 @@ if i32.const 280 i32.const 432 - i32.const 924 + i32.const 892 i32.const 63 call $~lib/builtins/abort unreachable @@ -10460,7 +10302,7 @@ i32.add i64.load ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64> (; 188 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Int64Array,i64> (; 187 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -10535,7 +10377,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 189 ;) (type $FUNCSIG$jjii) (param $0 i64) (param $1 i32) (param $2 i32) (result i64) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 188 ;) (type $FUNCSIG$jjii) (param $0 i64) (param $1 i32) (param $2 i32) (result i64) (local $3 i64) local.get $2 call $~lib/rt/pure/__retain @@ -10548,7 +10390,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint64Array#map (; 190 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#map (; 189 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -10557,7 +10399,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -10576,77 +10417,64 @@ i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add i64.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$jjii) i64.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Uint64Array#__get (; 191 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) + (func $~lib/typedarray/Uint64Array#__get (; 190 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) local.get $1 local.get $0 i32.load offset=8 @@ -10656,7 +10484,7 @@ if i32.const 280 i32.const 432 - i32.const 1052 + i32.const 1016 i32.const 63 call $~lib/builtins/abort unreachable @@ -10669,7 +10497,7 @@ i32.add i64.load ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Uint64Array,u64> (; 192 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Uint64Array,u64> (; 191 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -10744,7 +10572,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 193 ;) (type $FUNCSIG$ffii) (param $0 f32) (param $1 i32) (param $2 i32) (result f32) + (func $std/typedarray/testArrayMap<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 192 ;) (type $FUNCSIG$ffii) (param $0 f32) (param $1 i32) (param $2 i32) (result f32) (local $3 f32) local.get $2 call $~lib/rt/pure/__retain @@ -10757,7 +10585,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float32Array#map (; 194 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#map (; 193 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -10766,7 +10594,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -10785,77 +10612,64 @@ i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 2 i32.shl i32.add f32.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$ffii) f32.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $~lib/typedarray/Float32Array#__get (; 195 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32) + (func $~lib/typedarray/Float32Array#__get (; 194 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32) local.get $1 local.get $0 i32.load offset=8 @@ -10865,7 +10679,7 @@ if i32.const 280 i32.const 432 - i32.const 1180 + i32.const 1140 i32.const 63 call $~lib/builtins/abort unreachable @@ -10878,7 +10692,7 @@ i32.add f32.load ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Float32Array,f32> (; 196 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Float32Array,f32> (; 195 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -10953,7 +10767,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 197 ;) (type $FUNCSIG$ddii) (param $0 f64) (param $1 i32) (param $2 i32) (result f64) + (func $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 196 ;) (type $FUNCSIG$ddii) (param $0 f64) (param $1 i32) (param $2 i32) (result f64) (local $3 f64) local.get $2 call $~lib/rt/pure/__retain @@ -10966,7 +10780,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float64Array#map (; 198 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#map (; 197 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -10975,7 +10789,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -10994,77 +10807,64 @@ i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $6 i32.const 0 call $~lib/rt/tlsf/__alloc local.set $8 - local.get $7 - local.tee $9 - local.get $8 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 - i32.store - local.get $7 - local.get $8 - i32.store offset=4 - local.get $7 - local.get $6 - i32.store offset=8 block $break|0 i32.const 0 - local.set $10 + local.set $9 loop $loop|0 - local.get $10 + local.get $9 local.get $4 i32.lt_s i32.eqz br_if $break|0 local.get $8 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add i32.const 3 global.set $~lib/argc local.get $5 - local.get $10 + local.get $9 i32.const 3 i32.shl i32.add f64.load - local.get $10 + local.get $9 local.get $3 local.get $2 call_indirect (type $FUNCSIG$ddii) f64.store - local.get $10 + local.get $9 i32.const 1 i32.add - local.set $10 + local.set $9 br $loop|0 end unreachable end local.get $7 - local.set $10 + local.get $8 + call $~lib/rt/pure/__retain + i32.store + local.get $7 + local.get $8 + i32.store offset=4 + local.get $7 + local.get $6 + i32.store offset=8 + local.get $7 + call $~lib/rt/pure/__retain + local.set $9 local.get $3 call $~lib/rt/pure/__release - local.get $10 + local.get $9 ) - (func $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64> (; 199 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayMap<~lib/typedarray/Float64Array,f64> (; 198 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -11139,7 +10939,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 200 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 199 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -11156,7 +10956,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/rt/tlsf/reallocateBlock (; 201 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/rt/tlsf/reallocateBlock (; 200 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -11294,7 +11094,7 @@ call $~lib/rt/rtrace/onfree local.get $8 ) - (func $~lib/rt/tlsf/__realloc (; 202 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/rt/tlsf/__realloc (; 201 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) global.get $~lib/rt/tlsf/ROOT i32.eqz if @@ -11334,7 +11134,7 @@ i32.const 16 i32.add ) - (func $~lib/typedarray/Int8Array#filter (; 203 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#filter (; 202 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -11345,7 +11145,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -11357,7 +11156,6 @@ i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 0 @@ -11424,35 +11222,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8> (; 204 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int8Array,i8> (; 203 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -11561,7 +11347,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 205 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 204 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -11576,7 +11362,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#filter (; 206 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#filter (; 205 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -11587,7 +11373,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -11599,7 +11384,6 @@ i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 0 @@ -11666,35 +11450,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8> (; 207 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8Array,u8> (; 206 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -11803,7 +11575,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 208 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 207 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -11818,7 +11590,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8ClampedArray#filter (; 209 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#filter (; 208 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -11829,7 +11601,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -11841,7 +11612,6 @@ i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 0 @@ -11908,35 +11678,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8ClampedArray,u8> (; 210 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint8ClampedArray,u8> (; 209 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -12045,7 +11803,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 211 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 210 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -12062,7 +11820,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int16Array#filter (; 212 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#filter (; 211 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -12073,7 +11831,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -12085,7 +11842,6 @@ i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 1 @@ -12152,35 +11908,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16> (; 213 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int16Array,i16> (; 212 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -12289,7 +12033,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 214 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 213 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -12304,7 +12048,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint16Array#filter (; 215 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#filter (; 214 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -12315,7 +12059,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -12327,7 +12070,6 @@ i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 1 @@ -12394,35 +12136,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16> (; 216 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint16Array,u16> (; 215 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -12531,7 +12261,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 217 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 216 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -12544,7 +12274,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#filter (; 218 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#filter (; 217 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -12555,7 +12285,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -12567,7 +12296,6 @@ i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 2 @@ -12634,35 +12362,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32> (; 219 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int32Array,i32> (; 218 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -12771,7 +12487,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 220 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 219 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -12784,7 +12500,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint32Array#filter (; 221 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#filter (; 220 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -12795,7 +12511,6 @@ (local $9 i32) (local $10 i32) (local $11 i32) - (local $12 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -12807,7 +12522,6 @@ i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 2 @@ -12874,35 +12588,23 @@ call $~lib/rt/tlsf/__realloc local.set $9 local.get $5 - local.tee $11 local.get $9 - local.tee $12 - local.get $11 - i32.load - local.tee $11 - i32.ne - if - local.get $12 - call $~lib/rt/pure/__retain - drop - local.get $11 - call $~lib/rt/pure/__release - end - local.get $12 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $9 - i32.store offset=4 - local.get $5 local.get $10 i32.store offset=8 local.get $5 - local.set $12 + local.get $9 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $11 local.get $3 call $~lib/rt/pure/__release - local.get $12 + local.get $11 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32> (; 222 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint32Array,u32> (; 221 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -13011,7 +12713,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 223 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 222 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -13024,7 +12726,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int64Array#filter (; 224 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#filter (; 223 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -13036,7 +12738,6 @@ (local $10 i64) (local $11 i32) (local $12 i32) - (local $13 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -13048,7 +12749,6 @@ i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 3 @@ -13115,35 +12815,23 @@ call $~lib/rt/tlsf/__realloc local.set $11 local.get $5 - local.tee $12 local.get $11 - local.tee $13 - local.get $12 - i32.load - local.tee $12 - i32.ne - if - local.get $13 - call $~lib/rt/pure/__retain - drop - local.get $12 - call $~lib/rt/pure/__release - end - local.get $13 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $11 - i32.store offset=4 - local.get $5 local.get $9 i32.store offset=8 local.get $5 - local.set $13 + local.get $11 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $12 local.get $3 call $~lib/rt/pure/__release - local.get $13 + local.get $12 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64> (; 225 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Int64Array,i64> (; 224 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -13252,7 +12940,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 226 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 225 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -13265,7 +12953,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint64Array#filter (; 227 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#filter (; 226 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -13277,7 +12965,6 @@ (local $10 i64) (local $11 i32) (local $12 i32) - (local $13 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -13289,7 +12976,6 @@ i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 3 @@ -13356,35 +13042,23 @@ call $~lib/rt/tlsf/__realloc local.set $11 local.get $5 - local.tee $12 local.get $11 - local.tee $13 - local.get $12 - i32.load - local.tee $12 - i32.ne - if - local.get $13 - call $~lib/rt/pure/__retain - drop - local.get $12 - call $~lib/rt/pure/__release - end - local.get $13 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $11 - i32.store offset=4 - local.get $5 local.get $9 i32.store offset=8 local.get $5 - local.set $13 + local.get $11 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $12 local.get $3 call $~lib/rt/pure/__release - local.get $13 + local.get $12 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64> (; 228 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Uint64Array,u64> (; 227 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -13493,7 +13167,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 229 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 228 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -13506,7 +13180,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float32Array#filter (; 230 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#filter (; 229 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -13518,7 +13192,6 @@ (local $10 f32) (local $11 i32) (local $12 i32) - (local $13 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -13530,7 +13203,6 @@ i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 2 @@ -13597,35 +13269,23 @@ call $~lib/rt/tlsf/__realloc local.set $11 local.get $5 - local.tee $12 local.get $11 - local.tee $13 - local.get $12 - i32.load - local.tee $12 - i32.ne - if - local.get $13 - call $~lib/rt/pure/__retain - drop - local.get $12 - call $~lib/rt/pure/__release - end - local.get $13 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $11 - i32.store offset=4 - local.get $5 local.get $9 i32.store offset=8 local.get $5 - local.set $13 + local.get $11 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $12 local.get $3 call $~lib/rt/pure/__release - local.get $13 + local.get $12 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32> (; 231 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Float32Array,f32> (; 230 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -13734,7 +13394,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 232 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 231 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -13747,7 +13407,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float64Array#filter (; 233 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#filter (; 232 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -13759,7 +13419,6 @@ (local $10 f64) (local $11 i32) (local $12 i32) - (local $13 i32) local.get $0 call $~lib/rt/pure/__retain local.set $3 @@ -13771,7 +13430,6 @@ i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $5 local.get $4 i32.const 3 @@ -13838,35 +13496,23 @@ call $~lib/rt/tlsf/__realloc local.set $11 local.get $5 - local.tee $12 local.get $11 - local.tee $13 - local.get $12 - i32.load - local.tee $12 - i32.ne - if - local.get $13 - call $~lib/rt/pure/__retain - drop - local.get $12 - call $~lib/rt/pure/__release - end - local.get $13 + call $~lib/rt/pure/__retain i32.store local.get $5 - local.get $11 - i32.store offset=4 - local.get $5 local.get $9 i32.store offset=8 local.get $5 - local.set $13 + local.get $11 + i32.store offset=4 + local.get $5 + call $~lib/rt/pure/__retain + local.set $12 local.get $3 call $~lib/rt/pure/__release - local.get $13 + local.get $12 ) - (func $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64> (; 234 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFilter<~lib/typedarray/Float64Array,f64> (; 233 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -13975,7 +13621,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 235 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 234 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -13992,7 +13638,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int8Array#some (; 236 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#some (; 235 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14055,7 +13701,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 237 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 236 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14072,7 +13718,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8> (; 238 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Int8Array,i8> (; 237 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14133,7 +13779,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 239 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 238 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14148,7 +13794,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#some (; 240 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#some (; 239 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14211,7 +13857,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 241 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 240 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14226,7 +13872,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8> (; 242 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8Array,u8> (; 241 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14287,7 +13933,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 243 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 242 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14302,7 +13948,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8ClampedArray#some (; 244 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#some (; 243 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14365,7 +14011,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 245 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 244 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14380,7 +14026,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8> (; 246 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint8ClampedArray,u8> (; 245 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14441,7 +14087,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 247 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 246 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14458,7 +14104,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int16Array#some (; 248 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#some (; 247 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14521,7 +14167,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 249 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 248 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14538,7 +14184,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16> (; 250 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Int16Array,i16> (; 249 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14599,7 +14245,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 251 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 250 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14614,7 +14260,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint16Array#some (; 252 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#some (; 251 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14677,7 +14323,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 253 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 252 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14692,7 +14338,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16> (; 254 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint16Array,u16> (; 253 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14753,7 +14399,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 255 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 254 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14766,7 +14412,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#some (; 256 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#some (; 255 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14829,7 +14475,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 257 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 256 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14842,7 +14488,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32> (; 258 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Int32Array,i32> (; 257 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -14903,7 +14549,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 259 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 258 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14916,7 +14562,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint32Array#some (; 260 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#some (; 259 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -14979,7 +14625,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 261 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 260 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -14992,7 +14638,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32> (; 262 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint32Array,u32> (; 261 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15053,7 +14699,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 263 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 262 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15066,7 +14712,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int64Array#some (; 264 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#some (; 263 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15129,7 +14775,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 265 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 264 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15142,7 +14788,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64> (; 266 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Int64Array,i64> (; 265 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15203,7 +14849,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 267 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 266 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15216,7 +14862,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint64Array#some (; 268 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#some (; 267 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15279,7 +14925,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 269 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 268 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15292,7 +14938,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64> (; 270 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Uint64Array,u64> (; 269 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15353,7 +14999,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 271 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 270 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15366,7 +15012,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float32Array#some (; 272 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#some (; 271 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15429,7 +15075,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 273 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 272 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15442,7 +15088,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32> (; 274 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Float32Array,f32> (; 273 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15503,7 +15149,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 275 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 274 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15516,7 +15162,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float64Array#some (; 276 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#some (; 275 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15579,7 +15225,7 @@ local.get $6 end ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 277 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 276 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15592,7 +15238,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64> (; 278 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArraySome<~lib/typedarray/Float64Array,f64> (; 277 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15653,7 +15299,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 279 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 278 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15670,7 +15316,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int8Array#findIndex (; 280 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#findIndex (; 279 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15733,7 +15379,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 281 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 280 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15750,7 +15396,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8> (; 282 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int8Array,i8> (; 281 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15810,7 +15456,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 283 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 282 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15825,7 +15471,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#findIndex (; 284 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#findIndex (; 283 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -15888,7 +15534,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 285 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 284 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15903,7 +15549,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8> (; 286 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8Array,u8> (; 285 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -15963,7 +15609,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 287 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 286 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -15978,7 +15624,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8ClampedArray#findIndex (; 288 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#findIndex (; 287 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16041,7 +15687,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 289 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 288 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16056,7 +15702,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8> (; 290 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint8ClampedArray,u8> (; 289 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16116,7 +15762,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 291 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 290 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16133,7 +15779,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int16Array#findIndex (; 292 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#findIndex (; 291 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16196,7 +15842,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 293 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 292 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16213,7 +15859,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16> (; 294 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int16Array,i16> (; 293 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16273,7 +15919,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 295 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 294 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16288,7 +15934,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint16Array#findIndex (; 296 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#findIndex (; 295 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16351,7 +15997,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 297 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 296 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16366,7 +16012,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16> (; 298 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint16Array,u16> (; 297 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16426,7 +16072,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 299 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 298 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16439,7 +16085,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#findIndex (; 300 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#findIndex (; 299 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16502,7 +16148,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 301 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 300 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16515,7 +16161,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32> (; 302 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int32Array,i32> (; 301 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16575,7 +16221,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 303 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 302 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16588,7 +16234,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint32Array#findIndex (; 304 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#findIndex (; 303 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16651,7 +16297,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 305 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 304 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16664,7 +16310,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32> (; 306 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint32Array,u32> (; 305 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16724,7 +16370,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 307 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 306 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16737,7 +16383,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int64Array#findIndex (; 308 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#findIndex (; 307 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16800,7 +16446,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 309 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 308 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16813,7 +16459,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64> (; 310 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Int64Array,i64> (; 309 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -16873,7 +16519,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 311 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 310 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16886,7 +16532,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint64Array#findIndex (; 312 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#findIndex (; 311 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -16949,7 +16595,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 313 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 312 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -16962,7 +16608,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64> (; 314 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Uint64Array,u64> (; 313 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17022,7 +16668,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 315 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 314 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17035,7 +16681,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float32Array#findIndex (; 316 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#findIndex (; 315 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17098,7 +16744,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 317 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 316 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17111,7 +16757,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32> (; 318 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float32Array,f32> (; 317 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17171,7 +16817,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 319 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 318 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17184,7 +16830,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float64Array#findIndex (; 320 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#findIndex (; 319 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17247,7 +16893,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 321 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 320 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17260,7 +16906,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64> (; 322 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayFindIndex<~lib/typedarray/Float64Array,f64> (; 321 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17320,7 +16966,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 323 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 322 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17339,7 +16985,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int8Array#every (; 324 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#every (; 323 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17405,7 +17051,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 325 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8>~anonymous|1 (; 324 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17422,7 +17068,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8> (; 326 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int8Array,i8> (; 325 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17483,7 +17129,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 327 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 326 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17500,7 +17146,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8Array#every (; 328 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#every (; 327 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17566,7 +17212,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 329 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8>~anonymous|1 (; 328 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17581,7 +17227,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8> (; 330 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8Array,u8> (; 329 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17642,7 +17288,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 331 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 330 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17659,7 +17305,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint8ClampedArray#every (; 332 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#every (; 331 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17725,7 +17371,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 333 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|1 (; 332 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17740,7 +17386,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8> (; 334 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint8ClampedArray,u8> (; 333 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17801,7 +17447,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 335 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 334 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17820,7 +17466,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int16Array#every (; 336 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#every (; 335 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -17886,7 +17532,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 337 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16>~anonymous|1 (; 336 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17903,7 +17549,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16> (; 338 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int16Array,i16> (; 337 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -17964,7 +17610,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 339 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 338 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -17981,7 +17627,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint16Array#every (; 340 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#every (; 339 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18047,7 +17693,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 341 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16>~anonymous|1 (; 340 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18062,7 +17708,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16> (; 342 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint16Array,u16> (; 341 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -18123,7 +17769,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 343 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 342 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18138,7 +17784,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int32Array#every (; 344 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#every (; 343 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18204,7 +17850,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 345 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32>~anonymous|1 (; 344 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18217,7 +17863,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32> (; 346 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int32Array,i32> (; 345 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -18278,7 +17924,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 347 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 346 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18293,7 +17939,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint32Array#every (; 348 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#every (; 347 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18359,7 +18005,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 349 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32>~anonymous|1 (; 348 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18372,7 +18018,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32> (; 350 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint32Array,u32> (; 349 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -18433,7 +18079,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 351 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 350 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18448,7 +18094,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Int64Array#every (; 352 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#every (; 351 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18514,7 +18160,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 353 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64>~anonymous|1 (; 352 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18527,7 +18173,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64> (; 354 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Int64Array,i64> (; 353 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -18588,7 +18234,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 355 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 354 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18603,7 +18249,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Uint64Array#every (; 356 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#every (; 355 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18669,7 +18315,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 357 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64>~anonymous|1 (; 356 ;) (type $FUNCSIG$ijii) (param $0 i64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -18682,7 +18328,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64> (; 358 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64> (; 357 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -18743,12 +18389,12 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/number/isNaN (; 359 ;) (type $FUNCSIG$if) (param $0 f32) (result i32) + (func $~lib/number/isNaN (; 358 ;) (type $FUNCSIG$if) (param $0 f32) (result i32) local.get $0 local.get $0 f32.ne ) - (func $~lib/math/NativeMathf.mod (; 360 ;) (type $FUNCSIG$fff) (param $0 f32) (param $1 f32) (result f32) + (func $~lib/math/NativeMathf.mod (; 359 ;) (type $FUNCSIG$fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -18995,7 +18641,7 @@ local.get $2 f32.reinterpret_i32 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 361 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 360 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19010,7 +18656,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float32Array#every (; 362 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#every (; 361 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -19076,7 +18722,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 363 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32>~anonymous|1 (; 362 ;) (type $FUNCSIG$ifii) (param $0 f32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19089,7 +18735,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32> (; 364 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float32Array,f32> (; 363 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -19150,12 +18796,12 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/number/isNaN (; 365 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) + (func $~lib/number/isNaN (; 364 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) local.get $0 local.get $0 f64.ne ) - (func $~lib/math/NativeMath.mod (; 366 ;) (type $FUNCSIG$ddd) (param $0 f64) (param $1 f64) (result f64) + (func $~lib/math/NativeMath.mod (; 365 ;) (type $FUNCSIG$ddd) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i64) (local $4 i64) @@ -19404,7 +19050,7 @@ local.get $2 f64.reinterpret_i64 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 367 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 366 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19419,7 +19065,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $~lib/typedarray/Float64Array#every (; 368 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#every (; 367 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -19485,7 +19131,7 @@ local.get $6 end ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 369 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64>~anonymous|1 (; 368 ;) (type $FUNCSIG$idii) (param $0 f64) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19498,7 +19144,7 @@ call $~lib/rt/pure/__release local.get $3 ) - (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64> (; 370 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayEvery<~lib/typedarray/Float64Array,f64> (; 369 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -19559,7 +19205,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 371 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int8Array,i8>~anonymous|0 (; 370 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19619,7 +19265,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int8Array#forEach (; 372 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Int8Array#forEach (; 371 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -19668,7 +19314,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int8Array,i8> (; 373 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int8Array,i8> (; 372 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -19731,7 +19377,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 374 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8Array,u8>~anonymous|0 (; 373 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19787,7 +19433,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array#forEach (; 375 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Uint8Array#forEach (; 374 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -19836,7 +19482,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8Array,u8> (; 376 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8Array,u8> (; 375 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -19893,7 +19539,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 377 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8ClampedArray,u8>~anonymous|0 (; 376 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -19949,7 +19595,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray#forEach (; 378 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Uint8ClampedArray#forEach (; 377 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -19998,7 +19644,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8ClampedArray,u8> (; 379 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint8ClampedArray,u8> (; 378 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20055,7 +19701,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 380 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int16Array,i16>~anonymous|0 (; 379 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20115,7 +19761,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array#forEach (; 381 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Int16Array#forEach (; 380 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20164,7 +19810,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int16Array,i16> (; 382 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int16Array,i16> (; 381 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20227,7 +19873,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 383 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint16Array,u16>~anonymous|0 (; 382 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20283,7 +19929,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array#forEach (; 384 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Uint16Array#forEach (; 383 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20332,7 +19978,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint16Array,u16> (; 385 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint16Array,u16> (; 384 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20389,7 +20035,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 386 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int32Array,i32>~anonymous|0 (; 385 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20441,7 +20087,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array#forEach (; 387 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Int32Array#forEach (; 386 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20490,7 +20136,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int32Array,i32> (; 388 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int32Array,i32> (; 387 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20541,7 +20187,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 389 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint32Array,u32>~anonymous|0 (; 388 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20593,7 +20239,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array#forEach (; 390 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Uint32Array#forEach (; 389 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20642,7 +20288,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint32Array,u32> (; 391 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint32Array,u32> (; 390 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20693,7 +20339,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 392 ;) (type $FUNCSIG$vjii) (param $0 i64) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int64Array,i64>~anonymous|0 (; 391 ;) (type $FUNCSIG$vjii) (param $0 i64) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20746,7 +20392,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array#forEach (; 393 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Int64Array#forEach (; 392 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20795,7 +20441,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Int64Array,i64> (; 394 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Int64Array,i64> (; 393 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -20849,7 +20495,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 395 ;) (type $FUNCSIG$vjii) (param $0 i64) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint64Array,u64>~anonymous|0 (; 394 ;) (type $FUNCSIG$vjii) (param $0 i64) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -20902,7 +20548,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array#forEach (; 396 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Uint64Array#forEach (; 395 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -20951,7 +20597,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint64Array,u64> (; 397 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Uint64Array,u64> (; 396 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -21005,7 +20651,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 398 ;) (type $FUNCSIG$vfii) (param $0 f32) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Float32Array,f32>~anonymous|0 (; 397 ;) (type $FUNCSIG$vfii) (param $0 f32) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -21058,7 +20704,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array#forEach (; 399 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Float32Array#forEach (; 398 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -21107,7 +20753,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Float32Array,f32> (; 400 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Float32Array,f32> (; 399 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -21161,7 +20807,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 401 ;) (type $FUNCSIG$vdii) (param $0 f64) (param $1 i32) (param $2 i32) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Float64Array,f64>~anonymous|0 (; 400 ;) (type $FUNCSIG$vdii) (param $0 f64) (param $1 i32) (param $2 i32) (local $3 i32) local.get $2 call $~lib/rt/pure/__retain @@ -21214,7 +20860,7 @@ local.get $2 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float64Array#forEach (; 402 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/typedarray/Float64Array#forEach (; 401 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -21263,7 +20909,7 @@ local.get $3 call $~lib/rt/pure/__release ) - (func $std/typedarray/testArrayForEach<~lib/typedarray/Float64Array,f64> (; 403 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayForEach<~lib/typedarray/Float64Array,f64> (; 402 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) i32.const 0 @@ -21317,7 +20963,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int8Array#reverse (; 404 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int8Array#reverse (; 403 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -21381,7 +21027,7 @@ end local.get $1 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Int8Array,i8> (; 405 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Int8Array,i8> (; 404 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -21567,7 +21213,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array#reverse (; 406 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8Array#reverse (; 405 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -21631,14 +21277,13 @@ end local.get $1 ) - (func $~lib/typedarray/Uint8Array#subarray (; 407 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#subarray (; 406 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -21711,25 +21356,11 @@ i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -21747,12 +21378,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8Array,u8> (; 408 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8Array,u8> (; 407 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -21932,7 +21564,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray#reverse (; 409 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#reverse (; 408 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -21996,14 +21628,13 @@ end local.get $1 ) - (func $~lib/typedarray/Uint8ClampedArray#subarray (; 410 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#subarray (; 409 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -22076,25 +21707,11 @@ i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -22112,12 +21729,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8ClampedArray,u8> (; 411 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint8ClampedArray,u8> (; 410 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -22297,7 +21915,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array#reverse (; 412 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int16Array#reverse (; 411 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -22361,14 +21979,13 @@ end local.get $1 ) - (func $~lib/typedarray/Int16Array#subarray (; 413 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#subarray (; 412 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -22441,25 +22058,11 @@ i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -22477,12 +22080,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Int16Array,i16> (; 414 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Int16Array,i16> (; 413 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -22668,7 +22272,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array#reverse (; 415 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint16Array#reverse (; 414 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -22732,14 +22336,13 @@ end local.get $1 ) - (func $~lib/typedarray/Uint16Array#subarray (; 416 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#subarray (; 415 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -22812,25 +22415,11 @@ i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -22848,12 +22437,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint16Array,u16> (; 417 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint16Array,u16> (; 416 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -23033,7 +22623,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array#reverse (; 418 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int32Array#reverse (; 417 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -23097,7 +22687,7 @@ end local.get $1 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Int32Array,i32> (; 419 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Int32Array,i32> (; 418 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -23271,7 +22861,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array#reverse (; 420 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint32Array#reverse (; 419 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -23335,14 +22925,13 @@ end local.get $1 ) - (func $~lib/typedarray/Uint32Array#subarray (; 421 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#subarray (; 420 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -23415,25 +23004,11 @@ i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -23451,12 +23026,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint32Array,u32> (; 422 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint32Array,u32> (; 421 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -23630,7 +23206,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array#reverse (; 423 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int64Array#reverse (; 422 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -23694,14 +23270,13 @@ end local.get $1 ) - (func $~lib/typedarray/Int64Array#subarray (; 424 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array#subarray (; 423 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -23774,25 +23349,11 @@ i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -23810,12 +23371,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Int64Array,i64> (; 425 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Int64Array,i64> (; 424 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -23992,7 +23554,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array#reverse (; 426 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint64Array#reverse (; 425 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -24056,14 +23618,13 @@ end local.get $1 ) - (func $~lib/typedarray/Uint64Array#subarray (; 427 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array#subarray (; 426 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -24136,25 +23697,11 @@ i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -24172,12 +23719,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint64Array,u64> (; 428 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Uint64Array,u64> (; 427 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -24354,7 +23902,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array#reverse (; 429 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float32Array#reverse (; 428 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -24418,14 +23966,13 @@ end local.get $1 ) - (func $~lib/typedarray/Float32Array#subarray (; 430 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array#subarray (; 429 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) - (local $9 i32) local.get $0 call $~lib/rt/pure/__retain local.set $5 @@ -24498,25 +24045,11 @@ i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $7 local.get $7 - local.tee $8 local.get $5 i32.load - local.tee $9 - local.get $8 - i32.load - local.tee $8 - i32.ne - if - local.get $9 - call $~lib/rt/pure/__retain - drop - local.get $8 - call $~lib/rt/pure/__release - end - local.get $9 + call $~lib/rt/pure/__retain i32.store local.get $7 local.get $5 @@ -24534,12 +24067,13 @@ i32.shl i32.store offset=8 local.get $7 - local.set $9 + call $~lib/rt/pure/__retain + local.set $8 local.get $5 call $~lib/rt/pure/__release - local.get $9 + local.get $8 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Float32Array,f32> (; 431 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Float32Array,f32> (; 430 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -24716,7 +24250,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float64Array#reverse (; 432 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float64Array#reverse (; 431 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -24780,7 +24314,7 @@ end local.get $1 ) - (func $std/typedarray/testArrayReverse<~lib/typedarray/Float64Array,f64> (; 433 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayReverse<~lib/typedarray/Float64Array,f64> (; 432 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -24957,7 +24491,7 @@ local.get $7 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int8Array#indexOf (; 434 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#indexOf (; 433 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -25057,7 +24591,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int8Array#lastIndexOf (; 435 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#lastIndexOf (; 434 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -25153,7 +24687,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int8Array#lastIndexOf|trampoline (; 436 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array#lastIndexOf|trampoline (; 435 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -25173,7 +24707,7 @@ local.get $2 call $~lib/typedarray/Int8Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int8Array,i8> (; 437 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int8Array,i8> (; 436 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -25646,7 +25180,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array#indexOf (; 438 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#indexOf (; 437 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -25744,7 +25278,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint8Array#lastIndexOf (; 439 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#lastIndexOf (; 438 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -25838,7 +25372,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint8Array#lastIndexOf|trampoline (; 440 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array#lastIndexOf|trampoline (; 439 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -25858,7 +25392,7 @@ local.get $2 call $~lib/typedarray/Uint8Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint8Array,u8> (; 441 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint8Array,u8> (; 440 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -26329,7 +25863,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray#indexOf (; 442 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#indexOf (; 441 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -26427,7 +25961,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint8ClampedArray#lastIndexOf (; 443 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#lastIndexOf (; 442 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -26521,7 +26055,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint8ClampedArray#lastIndexOf|trampoline (; 444 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#lastIndexOf|trampoline (; 443 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -26541,7 +26075,7 @@ local.get $2 call $~lib/typedarray/Uint8ClampedArray#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint8ClampedArray,u8> (; 445 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint8ClampedArray,u8> (; 444 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -27012,7 +26546,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array#indexOf (; 446 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#indexOf (; 445 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -27112,7 +26646,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int16Array#lastIndexOf (; 447 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#lastIndexOf (; 446 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -27208,7 +26742,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int16Array#lastIndexOf|trampoline (; 448 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array#lastIndexOf|trampoline (; 447 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -27228,7 +26762,7 @@ local.get $2 call $~lib/typedarray/Int16Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int16Array,i16> (; 449 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int16Array,i16> (; 448 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -27701,7 +27235,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array#indexOf (; 450 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#indexOf (; 449 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -27799,7 +27333,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint16Array#lastIndexOf (; 451 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#lastIndexOf (; 450 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -27893,7 +27427,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint16Array#lastIndexOf|trampoline (; 452 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array#lastIndexOf|trampoline (; 451 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -27913,7 +27447,7 @@ local.get $2 call $~lib/typedarray/Uint16Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint16Array,u16> (; 453 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint16Array,u16> (; 452 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -28384,7 +27918,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array#indexOf (; 454 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#indexOf (; 453 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -28480,7 +28014,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int32Array#lastIndexOf (; 455 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#lastIndexOf (; 454 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -28572,7 +28106,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int32Array#lastIndexOf|trampoline (; 456 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array#lastIndexOf|trampoline (; 455 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -28592,7 +28126,7 @@ local.get $2 call $~lib/typedarray/Int32Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int32Array,i32> (; 457 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int32Array,i32> (; 456 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29061,7 +28595,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array#indexOf (; 458 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#indexOf (; 457 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -29157,7 +28691,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint32Array#lastIndexOf (; 459 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#lastIndexOf (; 458 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -29249,7 +28783,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint32Array#lastIndexOf|trampoline (; 460 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array#lastIndexOf|trampoline (; 459 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -29269,7 +28803,7 @@ local.get $2 call $~lib/typedarray/Uint32Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint32Array,u32> (; 461 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint32Array,u32> (; 460 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -29738,7 +29272,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array#indexOf (; 462 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array#indexOf (; 461 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i64) (local $5 i32) @@ -29834,7 +29368,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int64Array#lastIndexOf (; 463 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array#lastIndexOf (; 462 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i64) (local $5 i32) @@ -29926,7 +29460,7 @@ local.get $9 end ) - (func $~lib/typedarray/Int64Array#lastIndexOf|trampoline (; 464 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array#lastIndexOf|trampoline (; 463 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -29946,7 +29480,7 @@ local.get $2 call $~lib/typedarray/Int64Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int64Array,i64> (; 465 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Int64Array,i64> (; 464 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -30416,7 +29950,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array#indexOf (; 466 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array#indexOf (; 465 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i64) (local $5 i32) @@ -30512,7 +30046,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint64Array#lastIndexOf (; 467 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array#lastIndexOf (; 466 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i64) (local $5 i32) @@ -30604,7 +30138,7 @@ local.get $9 end ) - (func $~lib/typedarray/Uint64Array#lastIndexOf|trampoline (; 468 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array#lastIndexOf|trampoline (; 467 ;) (type $FUNCSIG$iiji) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -30624,7 +30158,7 @@ local.get $2 call $~lib/typedarray/Uint64Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint64Array,u64> (; 469 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Uint64Array,u64> (; 468 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -31094,7 +30628,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array#indexOf (; 470 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array#indexOf (; 469 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) (local $3 i32) (local $4 f32) (local $5 i32) @@ -31190,7 +30724,7 @@ local.get $9 end ) - (func $~lib/typedarray/Float32Array#lastIndexOf (; 471 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array#lastIndexOf (; 470 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) (local $3 i32) (local $4 f32) (local $5 i32) @@ -31282,7 +30816,7 @@ local.get $9 end ) - (func $~lib/typedarray/Float32Array#lastIndexOf|trampoline (; 472 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array#lastIndexOf|trampoline (; 471 ;) (type $FUNCSIG$iifi) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -31302,7 +30836,7 @@ local.get $2 call $~lib/typedarray/Float32Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Float32Array,f32> (; 473 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Float32Array,f32> (; 472 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -31772,7 +31306,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float64Array#indexOf (; 474 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array#indexOf (; 473 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) (local $3 i32) (local $4 f64) (local $5 i32) @@ -31868,7 +31402,7 @@ local.get $9 end ) - (func $~lib/typedarray/Float64Array#lastIndexOf (; 475 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array#lastIndexOf (; 474 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) (local $3 i32) (local $4 f64) (local $5 i32) @@ -31960,7 +31494,7 @@ local.get $9 end ) - (func $~lib/typedarray/Float64Array#lastIndexOf|trampoline (; 476 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array#lastIndexOf|trampoline (; 475 ;) (type $FUNCSIG$iidi) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) block $1of1 block $0of1 block $outOfRange @@ -31980,7 +31514,7 @@ local.get $2 call $~lib/typedarray/Float64Array#lastIndexOf ) - (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Float64Array,f64> (; 477 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayIndexOfAndLastIndexOf<~lib/typedarray/Float64Array,f64> (; 476 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -32450,7 +31984,7 @@ local.get $5 call $~lib/rt/pure/__release ) - (func $~lib/util/number/decimalCount32 (; 478 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/decimalCount32 (; 477 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) local.get $0 i32.const 100000 @@ -32516,7 +32050,7 @@ end unreachable ) - (func $~lib/util/number/utoa32_lut (; 479 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) + (func $~lib/util/number/utoa32_lut (; 478 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -32658,7 +32192,7 @@ i32.store16 end ) - (func $~lib/util/number/itoa32 (; 480 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa32 (; 479 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -32713,7 +32247,7 @@ local.get $3 call $~lib/rt/pure/__retain ) - (func $~lib/util/number/itoa (; 481 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 480 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 24 i32.shl @@ -32722,7 +32256,7 @@ call $~lib/util/number/itoa32 return ) - (func $~lib/string/String#get:length (; 482 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/string/String#get:length (; 481 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.sub @@ -32730,7 +32264,7 @@ i32.const 1 i32.shr_u ) - (func $~lib/util/number/itoa_stream (; 483 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 482 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -32803,7 +32337,7 @@ end local.get $3 ) - (func $~lib/string/String#substring (; 484 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/string/String#substring (; 483 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -32910,7 +32444,7 @@ local.get $10 call $~lib/rt/pure/__retain ) - (func $~lib/util/string/joinIntegerArray (; 485 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 484 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -33058,7 +32592,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int8Array#join (; 486 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int8Array#join (; 485 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -33074,7 +32608,7 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/util/string/compareImpl (; 487 ;) (type $FUNCSIG$iiiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32) + (func $~lib/util/string/compareImpl (; 486 ;) (type $FUNCSIG$iiiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32) (local $5 i32) (local $6 i32) (local $7 i32) @@ -33139,7 +32673,7 @@ call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/string/String.__eq (; 488 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/string/String.__eq (; 487 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) local.get $0 @@ -33212,12 +32746,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Int8Array#toString (; 489 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int8Array#toString (; 488 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Int8Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int8Array,i8> (; 490 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int8Array,i8> (; 489 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -33286,7 +32820,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/utoa32 (; 491 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/utoa32 (; 490 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -33321,14 +32855,14 @@ local.get $2 call $~lib/rt/pure/__retain ) - (func $~lib/util/number/itoa (; 492 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 491 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 255 i32.and call $~lib/util/number/utoa32 return ) - (func $~lib/util/number/itoa_stream (; 493 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 492 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -33371,7 +32905,7 @@ call $~lib/util/number/utoa32_lut local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 494 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 493 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -33519,7 +33053,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint8Array#join (; 495 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8Array#join (; 494 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -33535,12 +33069,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Uint8Array#toString (; 496 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8Array#toString (; 495 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Uint8Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint8Array,u8> (; 497 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint8Array,u8> (; 496 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -33609,7 +33143,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray#join (; 498 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#join (; 497 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -33625,12 +33159,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Uint8ClampedArray#toString (; 499 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray#toString (; 498 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Uint8ClampedArray#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint8ClampedArray,u8> (; 500 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint8ClampedArray,u8> (; 499 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -33699,7 +33233,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/itoa (; 501 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 500 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.shl @@ -33708,7 +33242,7 @@ call $~lib/util/number/itoa32 return ) - (func $~lib/util/number/itoa_stream (; 502 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 501 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -33781,7 +33315,7 @@ end local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 503 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 502 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -33929,7 +33463,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int16Array#join (; 504 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int16Array#join (; 503 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -33945,12 +33479,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Int16Array#toString (; 505 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int16Array#toString (; 504 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Int16Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int16Array,i16> (; 506 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int16Array,i16> (; 505 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -34019,14 +33553,14 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/itoa (; 507 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 506 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 65535 i32.and call $~lib/util/number/utoa32 return ) - (func $~lib/util/number/itoa_stream (; 508 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 507 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34069,7 +33603,7 @@ call $~lib/util/number/utoa32_lut local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 509 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 508 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34217,7 +33751,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint16Array#join (; 510 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint16Array#join (; 509 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -34233,12 +33767,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Uint16Array#toString (; 511 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint16Array#toString (; 510 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Uint16Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint16Array,u16> (; 512 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint16Array,u16> (; 511 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -34307,12 +33841,12 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/itoa (; 513 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 512 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 call $~lib/util/number/itoa32 return ) - (func $~lib/util/number/itoa_stream (; 514 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 513 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34369,7 +33903,7 @@ end local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 515 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 514 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34517,7 +34051,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int32Array#join (; 516 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int32Array#join (; 515 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -34533,12 +34067,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Int32Array#toString (; 517 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int32Array#toString (; 516 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Int32Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int32Array,i32> (; 518 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int32Array,i32> (; 517 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -34607,12 +34141,12 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/itoa (; 519 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/util/number/itoa (; 518 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 call $~lib/util/number/utoa32 return ) - (func $~lib/util/number/itoa_stream (; 520 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/itoa_stream (; 519 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34649,7 +34183,7 @@ call $~lib/util/number/utoa32_lut local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 521 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 520 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -34797,7 +34331,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint32Array#join (; 522 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint32Array#join (; 521 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -34813,12 +34347,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Uint32Array#toString (; 523 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint32Array#toString (; 522 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Uint32Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint32Array,u32> (; 524 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint32Array,u32> (; 523 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -34887,7 +34421,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/decimalCount64 (; 525 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) + (func $~lib/util/number/decimalCount64 (; 524 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) (local $1 i32) local.get $0 i64.const 1000000000000000 @@ -34960,7 +34494,7 @@ end unreachable ) - (func $~lib/util/number/utoa64_lut (; 526 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) + (func $~lib/util/number/utoa64_lut (; 525 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32) (local $3 i32) (local $4 i64) (local $5 i32) @@ -35087,7 +34621,7 @@ local.get $2 call $~lib/util/number/utoa32_lut ) - (func $~lib/util/number/itoa64 (; 527 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) + (func $~lib/util/number/itoa64 (; 526 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -35174,12 +34708,12 @@ local.get $2 call $~lib/rt/pure/__retain ) - (func $~lib/util/number/itoa (; 528 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) + (func $~lib/util/number/itoa (; 527 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) local.get $0 call $~lib/util/number/itoa64 return ) - (func $~lib/util/number/itoa_stream (; 529 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32) + (func $~lib/util/number/itoa_stream (; 528 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -35262,7 +34796,7 @@ end local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 530 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 529 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -35410,7 +34944,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Int64Array#join (; 531 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Int64Array#join (; 530 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -35426,12 +34960,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Int64Array#toString (; 532 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Int64Array#toString (; 531 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Int64Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int64Array,i64> (; 533 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Int64Array,i64> (; 532 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -35500,7 +35034,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/number/utoa64 (; 534 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) + (func $~lib/util/number/utoa64 (; 533 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -35565,12 +35099,12 @@ local.get $1 call $~lib/rt/pure/__retain ) - (func $~lib/util/number/itoa (; 535 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) + (func $~lib/util/number/itoa (; 534 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32) local.get $0 call $~lib/util/number/utoa64 return ) - (func $~lib/util/number/itoa_stream (; 536 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32) + (func $~lib/util/number/itoa_stream (; 535 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -35631,7 +35165,7 @@ end local.get $3 ) - (func $~lib/util/string/joinIntegerArray (; 537 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinIntegerArray (; 536 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -35779,7 +35313,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Uint64Array#join (; 538 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Uint64Array#join (; 537 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -35795,12 +35329,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Uint64Array#toString (; 539 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Uint64Array#toString (; 538 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Uint64Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint64Array,u64> (; 540 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Uint64Array,u64> (; 539 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -35869,14 +35403,14 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/number/isFinite (; 541 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) + (func $~lib/number/isFinite (; 540 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) local.get $0 local.get $0 f64.sub f64.const 0 f64.eq ) - (func $~lib/array/Array#__unchecked_get (; 542 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) + (func $~lib/array/Array#__unchecked_get (; 541 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64) local.get $0 i32.load offset=4 local.get $1 @@ -35885,7 +35419,7 @@ i32.add i64.load ) - (func $~lib/array/Array#__unchecked_get (; 543 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/array/Array#__unchecked_get (; 542 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 i32.load offset=4 local.get $1 @@ -35894,7 +35428,7 @@ i32.add i32.load16_s ) - (func $~lib/util/number/genDigits (; 544 ;) (type $FUNCSIG$iijijiji) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32) + (func $~lib/util/number/genDigits (; 543 ;) (type $FUNCSIG$iijijiji) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32) (local $7 i32) (local $8 i64) (local $9 i64) @@ -36396,7 +35930,7 @@ end unreachable ) - (func $~lib/util/number/prettify (; 545 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/number/prettify (; 544 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -36715,7 +36249,7 @@ end unreachable ) - (func $~lib/util/number/dtoa_core (; 546 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32) + (func $~lib/util/number/dtoa_core (; 545 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -37137,7 +36671,7 @@ local.get $2 i32.add ) - (func $~lib/util/number/dtoa (; 547 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) + (func $~lib/util/number/dtoa (; 546 ;) (type $FUNCSIG$id) (param $0 f64) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -37196,7 +36730,7 @@ call $~lib/rt/tlsf/__free local.get $3 ) - (func $~lib/util/number/dtoa_stream (; 548 ;) (type $FUNCSIG$iiid) (param $0 i32) (param $1 i32) (param $2 f64) (result i32) + (func $~lib/util/number/dtoa_stream (; 547 ;) (type $FUNCSIG$iiid) (param $0 i32) (param $1 i32) (param $2 f64) (result i32) (local $3 i32) (local $4 i32) local.get $0 @@ -37266,7 +36800,7 @@ local.get $2 call $~lib/util/number/dtoa_core ) - (func $~lib/util/string/joinFloatArray (; 549 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinFloatArray (; 548 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -37417,7 +36951,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float32Array#join (; 550 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float32Array#join (; 549 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -37433,12 +36967,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Float32Array#toString (; 551 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float32Array#toString (; 550 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Float32Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Float32Array,f32> (; 552 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Float32Array,f32> (; 551 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -37507,7 +37041,7 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/util/string/joinFloatArray (; 553 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/util/string/joinFloatArray (; 552 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -37655,7 +37189,7 @@ call $~lib/rt/pure/__release local.get $4 ) - (func $~lib/typedarray/Float64Array#join (; 554 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) + (func $~lib/typedarray/Float64Array#join (; 553 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $1 call $~lib/rt/pure/__retain @@ -37671,12 +37205,12 @@ call $~lib/rt/pure/__release local.get $2 ) - (func $~lib/typedarray/Float64Array#toString (; 555 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/typedarray/Float64Array#toString (; 554 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 2192 call $~lib/typedarray/Float64Array#join ) - (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Float64Array,f64> (; 556 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayJoinAndToString<~lib/typedarray/Float64Array,f64> (; 555 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -37745,18 +37279,13 @@ local.get $1 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int8Array#get:buffer (; 557 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/arraybuffer/ArrayBuffer#get:byteLength (; 558 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) + (func $~lib/arraybuffer/ArrayBuffer#get:byteLength (; 556 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.sub i32.load offset=12 ) - (func $~lib/arraybuffer/ArrayBuffer#slice (; 559 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/arraybuffer/ArrayBuffer#slice (; 557 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -37839,7 +37368,7 @@ local.get $7 call $~lib/rt/pure/__retain ) - (func $~lib/typedarray/Int8Array.wrap (; 560 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array.wrap (; 558 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -37847,7 +37376,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -37869,7 +37397,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -37891,7 +37419,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -37905,7 +37433,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -37927,7 +37455,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -37935,24 +37463,10 @@ i32.const 12 i32.const 3 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -37963,16 +37477,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Int8Array.wrap|trampoline (; 561 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int8Array.wrap|trampoline (; 559 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -37995,7 +37510,7 @@ local.get $2 call $~lib/typedarray/Int8Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int8Array,i8> (; 562 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int8Array,i8> (; 560 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -38003,7 +37518,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -38044,14 +37558,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Int8Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -38063,25 +37576,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Int8Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Int8Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Int8Array#__get i32.eq i32.eqz @@ -38093,18 +37606,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -38114,12 +37625,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8Array#get:buffer (; 563 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Uint8Array.wrap (; 564 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array.wrap (; 561 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -38127,7 +37633,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -38149,7 +37654,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -38171,7 +37676,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -38185,7 +37690,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -38207,7 +37712,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -38215,24 +37720,10 @@ i32.const 12 i32.const 4 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -38243,16 +37734,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Uint8Array.wrap|trampoline (; 565 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8Array.wrap|trampoline (; 562 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -38275,7 +37767,7 @@ local.get $2 call $~lib/typedarray/Uint8Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8Array,u8> (; 566 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8Array,u8> (; 563 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -38283,7 +37775,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -38322,14 +37813,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Uint8Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -38341,25 +37831,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Uint8Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Uint8Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Uint8Array#__get i32.eq i32.eqz @@ -38371,18 +37861,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -38392,12 +37880,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint8ClampedArray#get:buffer (; 567 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Uint8ClampedArray.wrap (; 568 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray.wrap (; 564 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -38405,7 +37888,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -38427,7 +37909,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -38449,7 +37931,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -38463,7 +37945,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -38485,7 +37967,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -38493,24 +37975,10 @@ i32.const 12 i32.const 5 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -38521,16 +37989,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Uint8ClampedArray.wrap|trampoline (; 569 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint8ClampedArray.wrap|trampoline (; 565 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -38553,7 +38022,7 @@ local.get $2 call $~lib/typedarray/Uint8ClampedArray.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8ClampedArray,u8> (; 570 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint8ClampedArray,u8> (; 566 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -38561,7 +38030,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -38600,14 +38068,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Uint8ClampedArray#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -38619,25 +38086,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Uint8ClampedArray.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Uint8ClampedArray#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Uint8ClampedArray#__get i32.eq i32.eqz @@ -38649,18 +38116,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -38670,12 +38135,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int16Array#get:buffer (; 571 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Int16Array.wrap (; 572 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array.wrap (; 567 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -38683,7 +38143,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -38705,7 +38164,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -38727,7 +38186,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -38741,7 +38200,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -38763,7 +38222,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -38771,24 +38230,10 @@ i32.const 12 i32.const 6 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -38799,16 +38244,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Int16Array.wrap|trampoline (; 573 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int16Array.wrap|trampoline (; 568 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -38831,7 +38277,7 @@ local.get $2 call $~lib/typedarray/Int16Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int16Array,i16> (; 574 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int16Array,i16> (; 569 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -38839,7 +38285,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -38880,14 +38325,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Int16Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -38899,25 +38343,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Int16Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Int16Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Int16Array#__get i32.eq i32.eqz @@ -38929,18 +38373,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -38950,12 +38392,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint16Array#get:buffer (; 575 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Uint16Array.wrap (; 576 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array.wrap (; 570 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -38963,7 +38400,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -38985,7 +38421,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -39007,7 +38443,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -39021,7 +38457,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -39043,7 +38479,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -39051,24 +38487,10 @@ i32.const 12 i32.const 7 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -39079,16 +38501,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Uint16Array.wrap|trampoline (; 577 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint16Array.wrap|trampoline (; 571 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -39111,7 +38534,7 @@ local.get $2 call $~lib/typedarray/Uint16Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint16Array,u16> (; 578 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint16Array,u16> (; 572 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -39119,7 +38542,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -39158,14 +38580,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Uint16Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -39177,25 +38598,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Uint16Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Uint16Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Uint16Array#__get i32.eq i32.eqz @@ -39207,18 +38628,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -39228,12 +38647,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int32Array#get:buffer (; 579 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Int32Array.wrap (; 580 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array.wrap (; 573 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -39241,7 +38655,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -39263,7 +38676,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -39285,7 +38698,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -39299,7 +38712,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -39321,7 +38734,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -39329,24 +38742,10 @@ i32.const 12 i32.const 8 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -39357,16 +38756,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Int32Array.wrap|trampoline (; 581 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int32Array.wrap|trampoline (; 574 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -39389,7 +38789,7 @@ local.get $2 call $~lib/typedarray/Int32Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int32Array,i32> (; 582 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int32Array,i32> (; 575 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -39397,7 +38797,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -39434,14 +38833,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Int32Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -39453,25 +38851,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Int32Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Int32Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Int32Array#__get i32.eq i32.eqz @@ -39483,18 +38881,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -39504,12 +38900,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint32Array#get:buffer (; 583 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Uint32Array.wrap (; 584 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array.wrap (; 576 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -39517,7 +38908,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -39539,7 +38929,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -39561,7 +38951,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -39575,7 +38965,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -39597,7 +38987,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -39605,24 +38995,10 @@ i32.const 12 i32.const 9 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -39633,16 +39009,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Uint32Array.wrap|trampoline (; 585 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint32Array.wrap|trampoline (; 577 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -39665,7 +39042,7 @@ local.get $2 call $~lib/typedarray/Uint32Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint32Array,u32> (; 586 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint32Array,u32> (; 578 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -39673,7 +39050,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -39710,14 +39086,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Uint32Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -39729,25 +39104,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Uint32Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Uint32Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Uint32Array#__get i32.eq i32.eqz @@ -39759,18 +39134,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -39780,12 +39153,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Int64Array#get:buffer (; 587 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Int64Array.wrap (; 588 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array.wrap (; 579 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -39793,7 +39161,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -39815,7 +39182,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -39837,7 +39204,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -39851,7 +39218,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -39873,7 +39240,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -39881,24 +39248,10 @@ i32.const 12 i32.const 10 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -39909,16 +39262,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Int64Array.wrap|trampoline (; 589 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Int64Array.wrap|trampoline (; 580 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -39941,7 +39295,7 @@ local.get $2 call $~lib/typedarray/Int64Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Int64Array,i64> (; 590 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Int64Array,i64> (; 581 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -39949,7 +39303,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -39987,14 +39340,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Int64Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -40006,25 +39358,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Int64Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Int64Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Int64Array#__get i64.eq i32.eqz @@ -40036,18 +39388,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -40057,12 +39407,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Uint64Array#get:buffer (; 591 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Uint64Array.wrap (; 592 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array.wrap (; 582 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -40070,7 +39415,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -40092,7 +39436,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -40114,7 +39458,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -40128,7 +39472,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -40150,7 +39494,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -40158,24 +39502,10 @@ i32.const 12 i32.const 11 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -40186,16 +39516,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Uint64Array.wrap|trampoline (; 593 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Uint64Array.wrap|trampoline (; 583 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -40218,7 +39549,7 @@ local.get $2 call $~lib/typedarray/Uint64Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint64Array,u64> (; 594 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Uint64Array,u64> (; 584 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -40226,7 +39557,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -40264,14 +39594,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Uint64Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -40283,25 +39612,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Uint64Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Uint64Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Uint64Array#__get i64.eq i32.eqz @@ -40313,18 +39642,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -40334,12 +39661,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float32Array#get:buffer (; 595 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Float32Array.wrap (; 596 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array.wrap (; 585 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -40347,7 +39669,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -40369,7 +39690,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -40391,7 +39712,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -40405,7 +39726,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -40427,7 +39748,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -40435,24 +39756,10 @@ i32.const 12 i32.const 12 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -40463,16 +39770,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Float32Array.wrap|trampoline (; 597 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float32Array.wrap|trampoline (; 586 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -40495,7 +39803,7 @@ local.get $2 call $~lib/typedarray/Float32Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> (; 598 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> (; 587 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -40503,7 +39811,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -40541,14 +39848,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Float32Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -40560,25 +39866,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Float32Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Float32Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Float32Array#__get f32.eq i32.eqz @@ -40590,18 +39896,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -40611,12 +39915,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $~lib/typedarray/Float64Array#get:buffer (; 599 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32) - local.get $0 - i32.load - call $~lib/rt/pure/__retain - ) - (func $~lib/typedarray/Float64Array.wrap (; 600 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array.wrap (; 588 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -40624,7 +39923,6 @@ (local $7 i32) (local $8 i32) (local $9 i32) - (local $10 i32) local.get $0 call $~lib/rt/pure/__retain drop @@ -40646,7 +39944,7 @@ call $~lib/rt/pure/__release i32.const 280 i32.const 432 - i32.const 1724 + i32.const 1680 i32.const 4 call $~lib/builtins/abort unreachable @@ -40668,7 +39966,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1731 + i32.const 1687 i32.const 8 call $~lib/builtins/abort unreachable @@ -40682,7 +39980,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1736 + i32.const 1692 i32.const 6 call $~lib/builtins/abort unreachable @@ -40704,7 +40002,7 @@ call $~lib/rt/pure/__release i32.const 24 i32.const 432 - i32.const 1742 + i32.const 1698 i32.const 4 call $~lib/builtins/abort unreachable @@ -40712,24 +40010,10 @@ i32.const 12 i32.const 13 call $~lib/rt/tlsf/__alloc - call $~lib/rt/pure/__retain local.set $8 local.get $8 - local.tee $9 local.get $5 - local.tee $10 - local.get $9 - i32.load - local.tee $9 - i32.ne - if - local.get $10 - call $~lib/rt/pure/__retain - drop - local.get $9 - call $~lib/rt/pure/__release - end - local.get $10 + call $~lib/rt/pure/__retain i32.store local.get $8 local.get $7 @@ -40740,16 +40024,17 @@ i32.add i32.store offset=4 local.get $8 - local.set $10 + call $~lib/rt/pure/__retain + local.set $9 local.get $5 call $~lib/rt/pure/__release - local.get $10 + local.get $9 local.set $8 local.get $0 call $~lib/rt/pure/__release local.get $8 ) - (func $~lib/typedarray/Float64Array.wrap|trampoline (; 601 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $~lib/typedarray/Float64Array.wrap|trampoline (; 589 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) block $2of2 block $1of2 block $0of2 @@ -40772,7 +40057,7 @@ local.get $2 call $~lib/typedarray/Float64Array.wrap ) - (func $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> (; 602 ;) (type $FUNCSIG$v) + (func $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> (; 590 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -40780,7 +40065,6 @@ (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) global.get $std/typedarray/testArrayWrapValues call $~lib/rt/pure/__retain local.set $0 @@ -40818,14 +40102,13 @@ unreachable end local.get $3 - call $~lib/typedarray/Float64Array#get:buffer - local.tee $4 + i32.load local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 call $~lib/arraybuffer/ArrayBufferView#get:byteOffset local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.add call $~lib/arraybuffer/ArrayBuffer#slice local.set $5 @@ -40837,25 +40120,25 @@ i32.const 0 i32.const 0 call $~lib/typedarray/Float64Array.wrap|trampoline - local.set $7 + local.set $4 local.get $6 call $~lib/rt/pure/__release - local.get $7 + local.get $4 local.set $6 block $break|1 i32.const 0 - local.set $7 + local.set $4 loop $loop|1 - local.get $7 + local.get $4 local.get $1 i32.lt_s i32.eqz br_if $break|1 local.get $3 - local.get $7 + local.get $4 call $~lib/typedarray/Float64Array#__get local.get $6 - local.get $7 + local.get $4 call $~lib/typedarray/Float64Array#__get f64.eq i32.eqz @@ -40867,18 +40150,16 @@ call $~lib/builtins/abort unreachable end - local.get $7 + local.get $4 i32.const 1 i32.add - local.set $7 + local.set $4 br $loop|1 end unreachable end local.get $2 call $~lib/rt/pure/__release - local.get $4 - call $~lib/rt/pure/__release local.get $0 call $~lib/rt/pure/__release local.get $3 @@ -40888,7 +40169,7 @@ local.get $6 call $~lib/rt/pure/__release ) - (func $start:std/typedarray (; 603 ;) (type $FUNCSIG$v) + (func $start:std/typedarray (; 591 ;) (type $FUNCSIG$v) (local $0 i32) (local $1 i32) (local $2 i32) @@ -40963,7 +40244,7 @@ unreachable end local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 12 i32.eq i32.eqz @@ -41053,7 +40334,7 @@ unreachable end local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 4 i32.eq i32.eqz @@ -41153,7 +40434,7 @@ unreachable end local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 32 i32.eq i32.eqz @@ -41456,7 +40737,7 @@ unreachable end local.get $1 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 3 i32.eq i32.eqz @@ -41704,7 +40985,7 @@ unreachable end local.get $8 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 12 i32.eq i32.eqz @@ -41844,7 +41125,7 @@ unreachable end local.get $0 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 5 i32.eq i32.eqz @@ -41902,7 +41183,7 @@ unreachable end local.get $8 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 4 i32.eq i32.eqz @@ -41960,7 +41241,7 @@ unreachable end local.get $3 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 3 i32.eq i32.eqz @@ -42492,7 +41773,7 @@ unreachable end local.get $23 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 12 i32.eq i32.eqz @@ -42564,7 +41845,7 @@ unreachable end local.get $24 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 8 i32.eq i32.eqz @@ -42622,7 +41903,7 @@ unreachable end local.get $21 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.const 4 i32.eq i32.eqz @@ -42680,9 +41961,9 @@ unreachable end local.get $22 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 local.get $26 - call $~lib/arraybuffer/ArrayBufferView#get:byteLength + i32.load offset=8 i32.eq i32.eqz if @@ -42836,7 +42117,7 @@ call $std/typedarray/testArrayWrap<~lib/typedarray/Float32Array,f32> call $std/typedarray/testArrayWrap<~lib/typedarray/Float64Array,f64> ) - (func $start (; 604 ;) (type $FUNCSIG$v) + (func $start (; 592 ;) (type $FUNCSIG$v) global.get $~lib/started if return @@ -42846,22 +42127,22 @@ end call $start:std/typedarray ) - (func $~lib/array/Array#__visit_impl (; 605 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 593 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/array/Array#__visit_impl (; 606 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 594 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/array/Array#__visit_impl (; 607 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 595 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/array/Array#__visit_impl (; 608 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 596 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/array/Array#__visit_impl (; 609 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/array/Array#__visit_impl (; 597 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) nop ) - (func $~lib/rt/pure/__visit (; 610 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/pure/__visit (; 598 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) local.get $0 @@ -42991,7 +42272,7 @@ end end ) - (func $~lib/rt/__visit_members (; 611 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) + (func $~lib/rt/__visit_members (; 599 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32) (local $2 i32) block $block$4$break block $switch$1$default @@ -43049,6 +42330,6 @@ end return ) - (func $null (; 612 ;) (type $FUNCSIG$v) + (func $null (; 600 ;) (type $FUNCSIG$v) ) )