porffor 0.18.19 → 0.18.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -311,29 +311,6 @@ export const __Array_prototype_reverse = (_this: any[]) => {
311
311
  return _this;
312
312
  };
313
313
 
314
- // @porf-typed-array
315
- export const __Array_prototype_toReversed = (_this: any[]) => {
316
- const len: i32 = _this.length;
317
-
318
- let start: i32 = 0;
319
- let end: i32 = len - 1;
320
-
321
- let out: any[] = Porffor.allocate();
322
- out.length = len;
323
-
324
- while (start < end) {
325
- out[start] = _this[end];
326
- out[end--] = _this[start++];
327
- }
328
-
329
- return out;
330
- };
331
-
332
- // @porf-typed-array
333
- export const __Array_prototype_valueOf = (_this: any[]) => {
334
- return _this;
335
- };
336
-
337
314
 
338
315
  // @porf-typed-array
339
316
  export const __Array_prototype_forEach = (_this: any[], callbackFn: any) => {
@@ -563,4 +540,39 @@ export const __Array_prototype_join = (_this: any[], _separator: any) => {
563
540
  }
564
541
 
565
542
  return out;
566
- };
543
+ };
544
+
545
+ // @porf-typed-array
546
+ export const __Array_prototype_valueOf = (_this: any[]) => {
547
+ return _this;
548
+ };
549
+
550
+ // @porf-typed-array
551
+ export const __Array_prototype_toReversed = (_this: any[]) => {
552
+ const len: i32 = _this.length;
553
+
554
+ let start: i32 = 0;
555
+ let end: i32 = len - 1;
556
+
557
+ let out: any[] = Porffor.allocate();
558
+ out.length = len;
559
+
560
+ while (start < end) {
561
+ out[start] = _this[end];
562
+ out[end--] = _this[start++];
563
+ }
564
+
565
+ return out;
566
+ };
567
+
568
+ // @porf-typed-array
569
+ export const __Array_prototype_toSorted = (_this: any[], callbackFn: any) => {
570
+ // todo/perf: could be rewritten to be its own instead of cloning and using normal sort()
571
+
572
+ let out: any[] = Porffor.allocate();
573
+ Porffor.clone(_this, out);
574
+
575
+ return __Array_prototype_sort(out, callbackFn);
576
+ };
577
+
578
+ // todo: toSpliced
@@ -220,18 +220,6 @@ export const BuiltinFuncs = function() {
220
220
  returns: [124,127], typedReturns: 1,
221
221
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
222
222
  };
223
- this.__Array_prototype_toReversed = {
224
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,9],[32,4],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,6],[34,8],[57,0,4],[32,9],[32,6],[58,0,12],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,9],[108],[106],[34,9],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,6],[34,8],[57,0,4],[32,9],[32,6],[58,0,12],[12,1],[11],[11],[32,5],[65,208,0],[15]],
225
- params: [124,127], typedParams: 1,
226
- returns: [124,127], typedReturns: 1,
227
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
228
- };
229
- this.__Array_prototype_valueOf = {
230
- wasm: (scope, {}) => [[32,0],[65,208,0],[15]],
231
- params: [124,127], typedParams: 1,
232
- returns: [124,127], typedReturns: 1,
233
- locals: [], localNames: ["_this","_this#type"],
234
- };
235
223
  this.__Array_prototype_forEach = {
236
224
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,6],[43,0,4],[32,6],[45,0,12],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,208,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
237
225
  params: [124,127,124,127], typedParams: 1,
@@ -335,6 +323,24 @@ export const BuiltinFuncs = function() {
335
323
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
336
324
  data: [[0,[1,0,0,0,44]]],
337
325
  };
326
+ this.__Array_prototype_valueOf = {
327
+ wasm: (scope, {}) => [[32,0],[65,208,0],[15]],
328
+ params: [124,127], typedParams: 1,
329
+ returns: [124,127], typedReturns: 1,
330
+ locals: [], localNames: ["_this","_this#type"],
331
+ };
332
+ this.__Array_prototype_toReversed = {
333
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,9],[32,4],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,6],[34,8],[57,0,4],[32,9],[32,6],[58,0,12],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,9],[108],[106],[34,9],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,6],[34,8],[57,0,4],[32,9],[32,6],[58,0,12],[12,1],[11],[11],[32,5],[65,208,0],[15]],
334
+ params: [124,127], typedParams: 1,
335
+ returns: [124,127], typedReturns: 1,
336
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
337
+ };
338
+ this.__Array_prototype_toSorted = {
339
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,208,0],[32,2],[32,3],[16, builtin('__Array_prototype_sort')],[34,5],[15]],
340
+ params: [124,127,124,127], typedParams: 1,
341
+ returns: [124,127], typedReturns: 1,
342
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
343
+ };
338
344
  this.btoa = {
339
345
  wasm: (scope, {allocPage,builtin}) => [...number(allocPage(scope, 'bytestring: btoa/keyStr', 'i8') * pageSize, 127),[34,2],[33,3],[32,0],[40,1,0],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[252,2],[33,5],[32,0],[33,7],[32,5],[33,8],[32,7],[32,4],[106],[33,9],[65,0],[33,10],[3,64],[32,7],[32,9],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[33,11],[32,7],[32,9],[72],[4,127],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[65,0],[33,6],[5],[65,127],[65,0],[33,6],[11],[33,12],[32,7],[32,9],[72],[4,127],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[65,0],[33,6],[5],[65,127],[65,0],[33,6],[11],[33,13],[32,11],[65,2],[117],[33,14],[32,11],[65,3],[113],[65,4],[116],[32,12],[65,127],[70],[4,127],[65,0],[65,0],[33,6],[5],[32,12],[65,4],[117],[65,0],[33,6],[11],[114],[33,15],[32,12],[65,15],[113],[65,2],[116],[32,13],[65,127],[70],[4,127],[65,0],[65,0],[33,6],[5],[32,13],[65,6],[117],[65,0],[33,6],[11],[114],[33,16],[32,13],[65,63],[113],[33,17],[32,12],[65,127],[70],[4,64],[65,192,0],[33,16],[65,192,0],[33,17],[5],[32,13],[65,127],[70],[4,64],[65,192,0],[33,17],[11],[11],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,14],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,15],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,16],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,17],[106],[45,0,4],[58,0,4],[12,1],[11],[11],[32,5],[32,8],[32,5],[107],[34,18],[54,1,0],[32,5],[65,194,1],[15]],
340
346
  params: [127,127], typedParams: 1,
@@ -1580,18 +1586,6 @@ export const BuiltinFuncs = function() {
1580
1586
  returns: [124,127], typedReturns: 1,
1581
1587
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
1582
1588
  };
1583
- this.__Uint8Array_prototype_toReversed = {
1584
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[252,3],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[252,3],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,212,0],[15]],
1585
- params: [124,127], typedParams: 1,
1586
- returns: [124,127], typedReturns: 1,
1587
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
1588
- };
1589
- this.__Uint8Array_prototype_valueOf = {
1590
- wasm: (scope, {}) => [[32,0],[65,212,0],[15]],
1591
- params: [124,127], typedParams: 1,
1592
- returns: [124,127], typedReturns: 1,
1593
- locals: [], localNames: ["_this","_this#type"],
1594
- };
1595
1589
  this.__Uint8Array_prototype_forEach = {
1596
1590
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[106],[45,0,4],[184],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,212,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
1597
1591
  params: [124,127,124,127], typedParams: 1,
@@ -1695,6 +1689,24 @@ export const BuiltinFuncs = function() {
1695
1689
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
1696
1690
  data: [[0,[1,0,0,0,44]]],
1697
1691
  };
1692
+ this.__Uint8Array_prototype_valueOf = {
1693
+ wasm: (scope, {}) => [[32,0],[65,212,0],[15]],
1694
+ params: [124,127], typedParams: 1,
1695
+ returns: [124,127], typedReturns: 1,
1696
+ locals: [], localNames: ["_this","_this#type"],
1697
+ };
1698
+ this.__Uint8Array_prototype_toReversed = {
1699
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[252,3],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[252,3],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,212,0],[15]],
1700
+ params: [124,127], typedParams: 1,
1701
+ returns: [124,127], typedReturns: 1,
1702
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
1703
+ };
1704
+ this.__Uint8Array_prototype_toSorted = {
1705
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,212,0],[32,2],[32,3],[16, builtin('__Uint8Array_prototype_sort')],[34,5],[15]],
1706
+ params: [124,127,124,127], typedParams: 1,
1707
+ returns: [124,127], typedReturns: 1,
1708
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
1709
+ };
1698
1710
  this.Int8Array = {
1699
1711
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Int8Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,8],[65,1],[54,0,0],[3,64],[65,128,128,8],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,8],[65,1],[54,0,0],[3,64],[65,128,128,8],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[252,2],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,213,0],[15]],
1700
1712
  params: [124,127], typedParams: 1,
@@ -1769,18 +1781,6 @@ export const BuiltinFuncs = function() {
1769
1781
  returns: [124,127], typedReturns: 1,
1770
1782
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
1771
1783
  };
1772
- this.__Int8Array_prototype_toReversed = {
1773
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[44,0,4],[183],[65,0],[33,6],[34,8],[252,2],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[44,0,4],[183],[65,0],[33,6],[34,8],[252,2],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,213,0],[15]],
1774
- params: [124,127], typedParams: 1,
1775
- returns: [124,127], typedReturns: 1,
1776
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
1777
- };
1778
- this.__Int8Array_prototype_valueOf = {
1779
- wasm: (scope, {}) => [[32,0],[65,213,0],[15]],
1780
- params: [124,127], typedParams: 1,
1781
- returns: [124,127], typedReturns: 1,
1782
- locals: [], localNames: ["_this","_this#type"],
1783
- };
1784
1784
  this.__Int8Array_prototype_forEach = {
1785
1785
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[106],[44,0,4],[183],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,213,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
1786
1786
  params: [124,127,124,127], typedParams: 1,
@@ -1884,6 +1884,24 @@ export const BuiltinFuncs = function() {
1884
1884
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
1885
1885
  data: [[0,[1,0,0,0,44]]],
1886
1886
  };
1887
+ this.__Int8Array_prototype_valueOf = {
1888
+ wasm: (scope, {}) => [[32,0],[65,213,0],[15]],
1889
+ params: [124,127], typedParams: 1,
1890
+ returns: [124,127], typedReturns: 1,
1891
+ locals: [], localNames: ["_this","_this#type"],
1892
+ };
1893
+ this.__Int8Array_prototype_toReversed = {
1894
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[44,0,4],[183],[65,0],[33,6],[34,8],[252,2],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[44,0,4],[183],[65,0],[33,6],[34,8],[252,2],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,213,0],[15]],
1895
+ params: [124,127], typedParams: 1,
1896
+ returns: [124,127], typedReturns: 1,
1897
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
1898
+ };
1899
+ this.__Int8Array_prototype_toSorted = {
1900
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,213,0],[32,2],[32,3],[16, builtin('__Int8Array_prototype_sort')],[34,5],[15]],
1901
+ params: [124,127,124,127], typedParams: 1,
1902
+ returns: [124,127], typedReturns: 1,
1903
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
1904
+ };
1887
1905
  this.Uint8ClampedArray = {
1888
1906
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Uint8ClampedArray requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,216,1],[65,1],[54,0,0],[3,64],[65,128,128,216,1],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,75,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,216,1],[65,1],[54,0,0],[3,64],[65,128,128,216,1],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,75,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[106],[32,12],[34,14],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,214,0],[15]],
1889
1907
  params: [124,127], typedParams: 1,
@@ -1958,18 +1976,6 @@ export const BuiltinFuncs = function() {
1958
1976
  returns: [124,127], typedReturns: 1,
1959
1977
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
1960
1978
  };
1961
- this.__Uint8ClampedArray_prototype_toReversed = {
1962
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,214,0],[15]],
1963
- params: [124,127], typedParams: 1,
1964
- returns: [124,127], typedReturns: 1,
1965
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
1966
- };
1967
- this.__Uint8ClampedArray_prototype_valueOf = {
1968
- wasm: (scope, {}) => [[32,0],[65,214,0],[15]],
1969
- params: [124,127], typedParams: 1,
1970
- returns: [124,127], typedReturns: 1,
1971
- locals: [], localNames: ["_this","_this#type"],
1972
- };
1973
1979
  this.__Uint8ClampedArray_prototype_forEach = {
1974
1980
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[106],[45,0,4],[184],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,214,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
1975
1981
  params: [124,127,124,127], typedParams: 1,
@@ -2073,6 +2079,24 @@ export const BuiltinFuncs = function() {
2073
2079
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
2074
2080
  data: [[0,[1,0,0,0,44]]],
2075
2081
  };
2082
+ this.__Uint8ClampedArray_prototype_valueOf = {
2083
+ wasm: (scope, {}) => [[32,0],[65,214,0],[15]],
2084
+ params: [124,127], typedParams: 1,
2085
+ returns: [124,127], typedReturns: 1,
2086
+ locals: [], localNames: ["_this","_this#type"],
2087
+ };
2088
+ this.__Uint8ClampedArray_prototype_toReversed = {
2089
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[106],[32,0],[252,3],[32,4],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[106],[45,0,4],[184],[65,0],[33,6],[34,8],[68,0,0,0,0,0,0,0,0],[165],[68,0,0,0,0,0,224,111,64],[164],[252,3],[58,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,214,0],[15]],
2090
+ params: [124,127], typedParams: 1,
2091
+ returns: [124,127], typedReturns: 1,
2092
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2093
+ };
2094
+ this.__Uint8ClampedArray_prototype_toSorted = {
2095
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,214,0],[32,2],[32,3],[16, builtin('__Uint8ClampedArray_prototype_sort')],[34,5],[15]],
2096
+ params: [124,127,124,127], typedParams: 1,
2097
+ returns: [124,127], typedReturns: 1,
2098
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
2099
+ };
2076
2100
  this.Uint16Array = {
2077
2101
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Uint16Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,168,3],[65,1],[54,0,0],[3,64],[65,128,128,168,3],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,128,90,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,168,3],[65,1],[54,0,0],[3,64],[65,128,128,168,3],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,128,90,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,3],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,215,0],[15]],
2078
2102
  params: [124,127], typedParams: 1,
@@ -2147,18 +2171,6 @@ export const BuiltinFuncs = function() {
2147
2171
  returns: [124,127], typedReturns: 1,
2148
2172
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
2149
2173
  };
2150
- this.__Uint16Array_prototype_toReversed = {
2151
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,0],[33,6],[34,8],[252,3],[59,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,0],[33,6],[34,8],[252,3],[59,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,215,0],[15]],
2152
- params: [124,127], typedParams: 1,
2153
- returns: [124,127], typedReturns: 1,
2154
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2155
- };
2156
- this.__Uint16Array_prototype_valueOf = {
2157
- wasm: (scope, {}) => [[32,0],[65,215,0],[15]],
2158
- params: [124,127], typedParams: 1,
2159
- returns: [124,127], typedReturns: 1,
2160
- locals: [], localNames: ["_this","_this#type"],
2161
- };
2162
2174
  this.__Uint16Array_prototype_forEach = {
2163
2175
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,215,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
2164
2176
  params: [124,127,124,127], typedParams: 1,
@@ -2262,6 +2274,24 @@ export const BuiltinFuncs = function() {
2262
2274
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
2263
2275
  data: [[0,[1,0,0,0,44]]],
2264
2276
  };
2277
+ this.__Uint16Array_prototype_valueOf = {
2278
+ wasm: (scope, {}) => [[32,0],[65,215,0],[15]],
2279
+ params: [124,127], typedParams: 1,
2280
+ returns: [124,127], typedReturns: 1,
2281
+ locals: [], localNames: ["_this","_this#type"],
2282
+ };
2283
+ this.__Uint16Array_prototype_toReversed = {
2284
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,0],[33,6],[34,8],[252,3],[59,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,0],[33,6],[34,8],[252,3],[59,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,215,0],[15]],
2285
+ params: [124,127], typedParams: 1,
2286
+ returns: [124,127], typedReturns: 1,
2287
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2288
+ };
2289
+ this.__Uint16Array_prototype_toSorted = {
2290
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,215,0],[32,2],[32,3],[16, builtin('__Uint16Array_prototype_sort')],[34,5],[15]],
2291
+ params: [124,127,124,127], typedParams: 1,
2292
+ returns: [124,127], typedReturns: 1,
2293
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
2294
+ };
2265
2295
  this.Int16Array = {
2266
2296
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Int16Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,248,4],[65,1],[54,0,0],[3,64],[65,128,128,248,4],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,192,99,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,248,4],[65,1],[54,0,0],[3,64],[65,128,128,248,4],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,192,99,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,2],[108],[106],[32,12],[34,14],[252,2],[59,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,216,0],[15]],
2267
2297
  params: [124,127], typedParams: 1,
@@ -2336,18 +2366,6 @@ export const BuiltinFuncs = function() {
2336
2366
  returns: [124,127], typedReturns: 1,
2337
2367
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
2338
2368
  };
2339
- this.__Int16Array_prototype_toReversed = {
2340
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,0],[33,6],[34,8],[252,2],[59,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,0],[33,6],[34,8],[252,2],[59,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,216,0],[15]],
2341
- params: [124,127], typedParams: 1,
2342
- returns: [124,127], typedReturns: 1,
2343
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2344
- };
2345
- this.__Int16Array_prototype_valueOf = {
2346
- wasm: (scope, {}) => [[32,0],[65,216,0],[15]],
2347
- params: [124,127], typedParams: 1,
2348
- returns: [124,127], typedReturns: 1,
2349
- locals: [], localNames: ["_this","_this#type"],
2350
- };
2351
2369
  this.__Int16Array_prototype_forEach = {
2352
2370
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,216,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
2353
2371
  params: [124,127,124,127], typedParams: 1,
@@ -2451,6 +2469,24 @@ export const BuiltinFuncs = function() {
2451
2469
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
2452
2470
  data: [[0,[1,0,0,0,44]]],
2453
2471
  };
2472
+ this.__Int16Array_prototype_valueOf = {
2473
+ wasm: (scope, {}) => [[32,0],[65,216,0],[15]],
2474
+ params: [124,127], typedParams: 1,
2475
+ returns: [124,127], typedReturns: 1,
2476
+ locals: [], localNames: ["_this","_this#type"],
2477
+ };
2478
+ this.__Int16Array_prototype_toReversed = {
2479
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,0],[33,6],[34,8],[252,2],[59,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,2],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,0],[33,6],[34,8],[252,2],[59,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,216,0],[15]],
2480
+ params: [124,127], typedParams: 1,
2481
+ returns: [124,127], typedReturns: 1,
2482
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2483
+ };
2484
+ this.__Int16Array_prototype_toSorted = {
2485
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,216,0],[32,2],[32,3],[16, builtin('__Int16Array_prototype_sort')],[34,5],[15]],
2486
+ params: [124,127,124,127], typedParams: 1,
2487
+ returns: [124,127], typedReturns: 1,
2488
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
2489
+ };
2454
2490
  this.Uint32Array = {
2455
2491
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Uint32Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,200,6],[65,1],[54,0,0],[3,64],[65,128,128,200,6],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,64,106,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,200,6],[65,1],[54,0,0],[3,64],[65,128,128,200,6],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,64,106,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,3],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,217,0],[15]],
2456
2492
  params: [124,127], typedParams: 1,
@@ -2525,18 +2561,6 @@ export const BuiltinFuncs = function() {
2525
2561
  returns: [124,127], typedReturns: 1,
2526
2562
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
2527
2563
  };
2528
- this.__Uint32Array_prototype_toReversed = {
2529
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,0],[33,6],[34,8],[252,3],[54,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,0],[33,6],[34,8],[252,3],[54,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,217,0],[15]],
2530
- params: [124,127], typedParams: 1,
2531
- returns: [124,127], typedReturns: 1,
2532
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2533
- };
2534
- this.__Uint32Array_prototype_valueOf = {
2535
- wasm: (scope, {}) => [[32,0],[65,217,0],[15]],
2536
- params: [124,127], typedParams: 1,
2537
- returns: [124,127], typedReturns: 1,
2538
- locals: [], localNames: ["_this","_this#type"],
2539
- };
2540
2564
  this.__Uint32Array_prototype_forEach = {
2541
2565
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,217,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
2542
2566
  params: [124,127,124,127], typedParams: 1,
@@ -2640,6 +2664,24 @@ export const BuiltinFuncs = function() {
2640
2664
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
2641
2665
  data: [[0,[1,0,0,0,44]]],
2642
2666
  };
2667
+ this.__Uint32Array_prototype_valueOf = {
2668
+ wasm: (scope, {}) => [[32,0],[65,217,0],[15]],
2669
+ params: [124,127], typedParams: 1,
2670
+ returns: [124,127], typedReturns: 1,
2671
+ locals: [], localNames: ["_this","_this#type"],
2672
+ };
2673
+ this.__Uint32Array_prototype_toReversed = {
2674
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,0],[33,6],[34,8],[252,3],[54,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,0],[33,6],[34,8],[252,3],[54,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,217,0],[15]],
2675
+ params: [124,127], typedParams: 1,
2676
+ returns: [124,127], typedReturns: 1,
2677
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2678
+ };
2679
+ this.__Uint32Array_prototype_toSorted = {
2680
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,217,0],[32,2],[32,3],[16, builtin('__Uint32Array_prototype_sort')],[34,5],[15]],
2681
+ params: [124,127,124,127], typedParams: 1,
2682
+ returns: [124,127], typedReturns: 1,
2683
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
2684
+ };
2643
2685
  this.Int32Array = {
2644
2686
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Int32Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,152,8],[65,1],[54,0,0],[3,64],[65,128,128,152,8],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,96,112,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,152,8],[65,1],[54,0,0],[3,64],[65,128,128,152,8],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,96,112,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[252,2],[54,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,218,0],[15]],
2645
2687
  params: [124,127], typedParams: 1,
@@ -2714,18 +2756,6 @@ export const BuiltinFuncs = function() {
2714
2756
  returns: [124,127], typedReturns: 1,
2715
2757
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
2716
2758
  };
2717
- this.__Int32Array_prototype_toReversed = {
2718
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,0],[33,6],[34,8],[252,2],[54,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,0],[33,6],[34,8],[252,2],[54,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,218,0],[15]],
2719
- params: [124,127], typedParams: 1,
2720
- returns: [124,127], typedReturns: 1,
2721
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2722
- };
2723
- this.__Int32Array_prototype_valueOf = {
2724
- wasm: (scope, {}) => [[32,0],[65,218,0],[15]],
2725
- params: [124,127], typedParams: 1,
2726
- returns: [124,127], typedReturns: 1,
2727
- locals: [], localNames: ["_this","_this#type"],
2728
- };
2729
2759
  this.__Int32Array_prototype_forEach = {
2730
2760
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,218,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
2731
2761
  params: [124,127,124,127], typedParams: 1,
@@ -2829,6 +2859,24 @@ export const BuiltinFuncs = function() {
2829
2859
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
2830
2860
  data: [[0,[1,0,0,0,44]]],
2831
2861
  };
2862
+ this.__Int32Array_prototype_valueOf = {
2863
+ wasm: (scope, {}) => [[32,0],[65,218,0],[15]],
2864
+ params: [124,127], typedParams: 1,
2865
+ returns: [124,127], typedReturns: 1,
2866
+ locals: [], localNames: ["_this","_this#type"],
2867
+ };
2868
+ this.__Int32Array_prototype_toReversed = {
2869
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,0],[33,6],[34,8],[252,2],[54,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,0],[33,6],[34,8],[252,2],[54,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,218,0],[15]],
2870
+ params: [124,127], typedParams: 1,
2871
+ returns: [124,127], typedReturns: 1,
2872
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2873
+ };
2874
+ this.__Int32Array_prototype_toSorted = {
2875
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,218,0],[32,2],[32,3],[16, builtin('__Int32Array_prototype_sort')],[34,5],[15]],
2876
+ params: [124,127,124,127], typedParams: 1,
2877
+ returns: [124,127], typedReturns: 1,
2878
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
2879
+ };
2832
2880
  this.Float32Array = {
2833
2881
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Float32Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,232,9],[65,1],[54,0,0],[3,64],[65,128,128,232,9],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,160,115,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,232,9],[65,1],[54,0,0],[3,64],[65,128,128,232,9],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,160,115,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,4],[108],[106],[32,12],[34,14],[182],[56,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,219,0],[15]],
2834
2882
  params: [124,127], typedParams: 1,
@@ -2903,18 +2951,6 @@ export const BuiltinFuncs = function() {
2903
2951
  returns: [124,127], typedReturns: 1,
2904
2952
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
2905
2953
  };
2906
- this.__Float32Array_prototype_toReversed = {
2907
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,0],[33,6],[34,8],[182],[56,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,0],[33,6],[34,8],[182],[56,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,219,0],[15]],
2908
- params: [124,127], typedParams: 1,
2909
- returns: [124,127], typedReturns: 1,
2910
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
2911
- };
2912
- this.__Float32Array_prototype_valueOf = {
2913
- wasm: (scope, {}) => [[32,0],[65,219,0],[15]],
2914
- params: [124,127], typedParams: 1,
2915
- returns: [124,127], typedReturns: 1,
2916
- locals: [], localNames: ["_this","_this#type"],
2917
- };
2918
2954
  this.__Float32Array_prototype_forEach = {
2919
2955
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,219,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
2920
2956
  params: [124,127,124,127], typedParams: 1,
@@ -3018,6 +3054,24 @@ export const BuiltinFuncs = function() {
3018
3054
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
3019
3055
  data: [[0,[1,0,0,0,44]]],
3020
3056
  };
3057
+ this.__Float32Array_prototype_valueOf = {
3058
+ wasm: (scope, {}) => [[32,0],[65,219,0],[15]],
3059
+ params: [124,127], typedParams: 1,
3060
+ returns: [124,127], typedReturns: 1,
3061
+ locals: [], localNames: ["_this","_this#type"],
3062
+ };
3063
+ this.__Float32Array_prototype_toReversed = {
3064
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,0],[33,6],[34,8],[182],[56,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,4],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,0],[33,6],[34,8],[182],[56,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,219,0],[15]],
3065
+ params: [124,127], typedParams: 1,
3066
+ returns: [124,127], typedReturns: 1,
3067
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
3068
+ };
3069
+ this.__Float32Array_prototype_toSorted = {
3070
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,219,0],[32,2],[32,3],[16, builtin('__Float32Array_prototype_sort')],[34,5],[15]],
3071
+ params: [124,127,124,127], typedParams: 1,
3072
+ returns: [124,127], typedReturns: 1,
3073
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
3074
+ };
3021
3075
  this.Float64Array = {
3022
3076
  wasm: (scope, {builtin,internalThrow}) => [[32,-1],[184],[65,1],[33,2],[33,3],[32,2],[33,4],[2,124],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0,0,0,0,0,0,0,0],[97],[184],[11,"TYPESWITCH_end"],[252,3],[4,64],...internalThrow(scope, 'TypeError', `Constructor Float64Array requires 'new'`),[11],[16, builtin('__Porffor_allocate')],[33,2],[33,5],[68,0,0,0,0,0,0,0,0],[33,6],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,7],[68,0,0,0,0,0,0,84,64],[97],[32,7],[68,0,0,0,0,0,128,80,64],[97],[114],[32,7],[68,0,0,0,0,0,64,104,64],[97],[114],[32,7],[68,0,0,0,0,0,0,51,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[32,0],[252,3],[33,9],[65,0],[33,11],[32,9],[40,1,0],[33,10],[32,1],[33,4],[2,64],[32,4],[65,19],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,0],[70],[4,64,"TYPESWITCH|String"],[65,194,0],[33,13],[65,128,128,184,11],[65,1],[54,0,0],[3,64],[65,128,128,184,11],[32,9],[47,0,4],[59,0,4],[68,0,0,0,0,0,224,118,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,9],[65,2],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,9],[43,0,4],[32,9],[45,0,12],[33,13],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,9],[65,9],[106],[33,9],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,212,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,213,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[44,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,214,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,13],[3,64],[32,9],[32,11],[106],[45,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,215,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[47,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,216,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,2],[108],[106],[46,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,217,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[184],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,218,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[40,0,4],[183],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,219,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,4],[108],[106],[42,0,4],[187],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,220,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,13],[3,64],[32,9],[32,11],[65,8],[108],[106],[43,0,4],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],[32,4],[65,194,1],[70],[4,64,"TYPESWITCH|ByteString"],[65,194,1],[33,13],[65,128,128,184,11],[65,1],[54,0,0],[3,64],[65,128,128,184,11],[32,9],[32,11],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,224,118,65],[33,12],[2,64],[32,5],[252,3],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,8],[108],[106],[32,12],[34,14],[57,0,4],[65,0],[33,2],[32,11],[65,1],[106],[34,11],[32,10],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,8],[33,6],[5],[32,7],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,6],[11],[11],[32,5],[252,3],[32,6],[34,16],[252,3],[54,1,0],[32,5],[65,220,0],[15]],
3023
3077
  params: [124,127], typedParams: 1,
@@ -3092,18 +3146,6 @@ export const BuiltinFuncs = function() {
3092
3146
  returns: [124,127], typedReturns: 1,
3093
3147
  locals: [124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","len","start","end","tmp","#loadArray_offset","#last_type","#member_setter_val_tmp","#member_setter_ptr_tmp"],
3094
3148
  };
3095
- this.__Float64Array_prototype_toReversed = {
3096
- wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,8],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,8],[108],[106],[43,0,4],[65,0],[33,6],[34,8],[57,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,8],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,8],[108],[106],[43,0,4],[65,0],[33,6],[34,8],[57,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,220,0],[15]],
3097
- params: [124,127], typedParams: 1,
3098
- returns: [124,127], typedReturns: 1,
3099
- locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
3100
- };
3101
- this.__Float64Array_prototype_valueOf = {
3102
- wasm: (scope, {}) => [[32,0],[65,220,0],[15]],
3103
- params: [124,127], typedParams: 1,
3104
- returns: [124,127], typedReturns: 1,
3105
- locals: [], localNames: ["_this","_this#type"],
3106
- };
3107
3149
  this.__Float64Array_prototype_forEach = {
3108
3150
  wasm: (scope, {internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,0],[252,3],[32,5],[252,3],[65,8],[108],[106],[43,0,4],[65,0],[34,7],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,220,0],[33,12],[33,13],[32,2],[252,3],[34,14],[65,3],[108],[65,2],[106],[45,0,0,"read func lut"],[34,15],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,3],[108],[47,0,0,"read func lut"],[14,4,0,1,2,3,0],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"no_type_return","constr"],[5],[32,14],[17,0,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,14],[17,0,0,"constr"],[33,7],[5],[32,14],[17,0,0],[33,7],[11],[11],[12,3],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,14],[17,1,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,14],[17,1,0,"constr"],[33,7],[5],[32,9],[32,8],[32,14],[17,1,0],[33,7],[11],[11],[12,2],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[11],[11],[12,1],[11],[32,15],[65,1],[113],[4,124],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return","constr"],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"no_type_return"],[11],[5],[32,15],[65,2],[113],[4,124],[65,0],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0,"constr"],[33,7],[5],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
3109
3151
  params: [124,127,124,127], typedParams: 1,
@@ -3207,6 +3249,24 @@ export const BuiltinFuncs = function() {
3207
3249
  locals: [124,127,124,124,124,124,124,127,127,124,127], localNames: ["_this","_this#type","_separator","_separator#type","separator","#last_type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","type","logictmpi"],
3208
3250
  data: [[0,[1,0,0,0,44]]],
3209
3251
  };
3252
+ this.__Float64Array_prototype_valueOf = {
3253
+ wasm: (scope, {}) => [[32,0],[65,220,0],[15]],
3254
+ params: [124,127], typedParams: 1,
3255
+ returns: [124,127], typedReturns: 1,
3256
+ locals: [], localNames: ["_this","_this#type"],
3257
+ };
3258
+ this.__Float64Array_prototype_toReversed = {
3259
+ wasm: (scope, {builtin}) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[16, builtin('__Porffor_allocate')],[33,6],[34,5],[252,3],[32,2],[34,7],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,8],[108],[106],[32,0],[252,3],[32,4],[252,3],[65,8],[108],[106],[43,0,4],[65,0],[33,6],[34,8],[57,0,4],[65,0],[33,6],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,8],[108],[106],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,8],[108],[106],[43,0,4],[65,0],[33,6],[34,8],[57,0,4],[65,0],[33,6],[12,1],[11],[11],[32,5],[65,220,0],[15]],
3260
+ params: [124,127], typedParams: 1,
3261
+ returns: [124,127], typedReturns: 1,
3262
+ locals: [124,124,124,124,127,124,124,127,127], localNames: ["_this","_this#type","len","start","end","out","#last_type","__length_setter_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#loadArray_offset"],
3263
+ };
3264
+ this.__Float64Array_prototype_toSorted = {
3265
+ wasm: (scope, {builtin}) => [[16, builtin('__Porffor_allocate')],[33,5],[33,4],[32,0],[32,4],[16, builtin('__Porffor_clone')],[32,4],[65,220,0],[32,2],[32,3],[16, builtin('__Float64Array_prototype_sort')],[34,5],[15]],
3266
+ params: [124,127,124,127], typedParams: 1,
3267
+ returns: [124,127], typedReturns: 1,
3268
+ locals: [124,127], localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#last_type"],
3269
+ };
3210
3270
  this.__ecma262_ToIntegerOrInfinity = {
3211
3271
  wasm: (scope, {builtin}) => [[65,0],[32,0],[16, builtin('Number')],[34,2],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[15],[11],[32,2],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,2],[65,0],[15],[11],[32,2],[16, builtin('__Math_trunc')],[34,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[15],[11],[32,2],[65,0],[15]],
3212
3272
  params: [124,127], typedParams: 1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4
- "version": "0.18.19+cf63905b0",
4
+ "version": "0.18.20+490d49194",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runner/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.18.19+cf63905b0';
3
+ globalThis.version = '0.18.20+490d49194';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {