porffor 0.17.0-b103c8894 → 0.17.0-b4e7f7ee0

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.
package/compiler/2c.js CHANGED
@@ -182,7 +182,15 @@ export default ({ funcs, globals, tags, data, exceptions, pages }) => {
182
182
  }, {});
183
183
  const invGlobals = inv(globals, x => x.idx);
184
184
 
185
- const sanitize = str => str.replace(/[^0-9a-zA-Z_]/g, _ => String.fromCharCode(97 + _.charCodeAt(0) % 32));
185
+ const codeToSanitizedStr = code => {
186
+ let out = '';
187
+ while (code > 0) {
188
+ out += String.fromCharCode(97 + code % 26);
189
+ code -= 26;
190
+ }
191
+ return out;
192
+ };
193
+ const sanitize = str => str.replace(/[^0-9a-zA-Z_]/g, _ => codeToSanitizedStr(_.charCodeAt(0)));
186
194
 
187
195
  for (const x in invGlobals) {
188
196
  invGlobals[x] = sanitize(invGlobals[x]);
@@ -273,10 +281,11 @@ export default ({ funcs, globals, tags, data, exceptions, pages }) => {
273
281
  }
274
282
 
275
283
  const returns = f.returns.length > 0;
284
+ const typedReturns = f.returnType == null;
276
285
 
277
286
  const shouldInline = false; // f.internal;
278
287
  if (f.name === 'main') out += `int main(${prependMain.has('argv') ? 'int argc, char* argv[]' : ''}) {\n`;
279
- else out += `${f.internal ? (returns ? 'f64' : 'void') : 'struct ReturnValue'} ${shouldInline ? 'inline ' : ''}${sanitize(f.name)}(${f.params.map((x, i) => `${CValtype[x]} ${invLocals[i]}`).join(', ')}) {\n`;
288
+ else out += `${!typedReturns ? (returns ? CValtype[f.returns[0]] : 'void') : 'struct ReturnValue'} ${shouldInline ? 'inline ' : ''}${sanitize(f.name)}(${f.params.map((x, i) => `${CValtype[x]} ${invLocals[i]}`).join(', ')}) {\n`;
280
289
 
281
290
  if (f.name === 'main') {
282
291
  out += ' ' + [...prependMain.values()].join('\n ');
@@ -418,11 +427,14 @@ export default ({ funcs, globals, tags, data, exceptions, pages }) => {
418
427
  continue;
419
428
 
420
429
  case Opcodes.return:
421
- // line(`return${returns ? ` ${removeBrackets(vals.pop())}` : ''}`);
422
- const b = vals.pop();
423
- const a = vals.pop();
430
+ if (!typedReturns) {
431
+ line(`return${returns ? ` ${removeBrackets(vals.pop())}` : ''}`);
432
+ break;
433
+ }
434
+
435
+ const b = returns ? vals.pop() : -1;
436
+ const a = returns ? vals.pop() : -1;
424
437
  line(`return${returns ? ` (struct ReturnValue){ ${removeBrackets(a)}, ${removeBrackets(b)} }` : ''}`);
425
- // line(`return${returns ? ` (struct ReturnValue){ ${removeBrackets(vals.pop())}, ${removeBrackets(vals.pop())} }` : ''}`);
426
438
  break;
427
439
 
428
440
  case Opcodes.if: {
@@ -549,10 +561,15 @@ _time_out = _time.tv_nsec / 1000000. + _time.tv_sec * 1000.;`);
549
561
 
550
562
  prepend.set('__Porffor_readFile',
551
563
  `i32 __Porffor_readFile(u32 pathPtr, u32 outPtr) {
552
- char* path = _memory + pathPtr + 4;
553
- FILE* fp = fopen(path, "r");
554
- if (fp == NULL) {
555
- return -1;
564
+ FILE* fp;
565
+ if (pathPtr == 0) {
566
+ fp = stdin;
567
+ } else {
568
+ char* path = _memory + pathPtr + 4;
569
+ fp = fopen(path, "r");
570
+ if (fp == NULL) {
571
+ return -1;
572
+ }
556
573
  }
557
574
 
558
575
  u32 read = 0;
@@ -585,7 +602,7 @@ _time_out = _time.tv_nsec / 1000000. + _time.tv_sec * 1000.;`);
585
602
  for (let j = 0; j < func.params.length; j++) args.unshift(removeBrackets(vals.pop()));
586
603
 
587
604
  if (func.returns.length > 0) {
588
- if (func.internal) {
605
+ if (func.returnType != null) {
589
606
  vals.push(`${sanitize(func.name)}(${args.join(', ')})`);
590
607
  } else {
591
608
  const id = retTmpId++;
@@ -253,7 +253,7 @@ export const __Array_prototype_reduceRight = (_this: any[], callbackFn: any, ini
253
253
 
254
254
  let i: i32 = len;
255
255
  while (i > 0) {
256
- acc = callbackFn(acc, _this[i], --i, _this);
256
+ acc = callbackFn(acc, _this[--i], i, _this);
257
257
  }
258
258
 
259
259
  return acc;
@@ -160,6 +160,17 @@ export const BuiltinVars = function() {
160
160
  this.__performance_timeOrigin = [
161
161
  [ Opcodes.call, importedFuncs.timeOrigin ]
162
162
  ];
163
+
164
+
165
+ this.__Uint8Array_BYTES_PER_ELEMENT = number(1);
166
+ this.__Int8Array_BYTES_PER_ELEMENT = number(1);
167
+ this.__Uint8ClampedArray_BYTES_PER_ELEMENT = number(1);
168
+ this.__Uint16Array_BYTES_PER_ELEMENT = number(2);
169
+ this.__Int16Array_BYTES_PER_ELEMENT = number(2);
170
+ this.__Uint32Array_BYTES_PER_ELEMENT = number(4);
171
+ this.__Int32Array_BYTES_PER_ELEMENT = number(4);
172
+ this.__Float32Array_BYTES_PER_ELEMENT = number(4);
173
+ this.__Float64Array_BYTES_PER_ELEMENT = number(8);
163
174
  };
164
175
 
165
176
  export const BuiltinFuncs = function() {
@@ -619,11 +619,14 @@ const compareStrings = (scope, left, right, bytestrings = false) => {
619
619
  };
620
620
 
621
621
  const truthy = (scope, wasm, type, intIn = false, intOut = false, forceTruthyMode = undefined) => {
622
- // if (isIntToFloatOp(wasm[wasm.length - 1])) return [
623
- // ...wasm,
624
- // ...(!intIn && intOut ? [ Opcodes.i32_to_u ] : [])
625
- // ];
626
- // if (isIntOp(wasm[wasm.length - 1])) return [ ...wasm ];
622
+ if (isIntToFloatOp(wasm[wasm.length - 1])) return [
623
+ ...wasm,
624
+ ...(!intIn && intOut ? [ Opcodes.i32_to_u ] : [])
625
+ ];
626
+ if (isIntOp(wasm[wasm.length - 1])) return [
627
+ ...wasm,
628
+ ...(intOut ? [] : [ Opcodes.i32_from ]),
629
+ ];
627
630
 
628
631
  // todo/perf: use knownType and custom bytecode here instead of typeSwitch
629
632
 
@@ -1417,9 +1420,9 @@ const countLeftover = wasm => {
1417
1420
 
1418
1421
  if (depth === 0)
1419
1422
  if ([Opcodes.throw, Opcodes.drop, Opcodes.local_set, Opcodes.global_set].includes(inst[0])) count--;
1420
- else if ([null, Opcodes.i32_eqz, Opcodes.i64_eqz, Opcodes.f64_ceil, Opcodes.f64_floor, Opcodes.f64_trunc, Opcodes.f64_nearest, Opcodes.f64_sqrt, Opcodes.local_tee, Opcodes.i32_wrap_i64, Opcodes.i64_extend_i32_s, Opcodes.i64_extend_i32_u, Opcodes.f32_demote_f64, Opcodes.f64_promote_f32, Opcodes.f64_convert_i32_s, Opcodes.f64_convert_i32_u, Opcodes.i32_clz, Opcodes.i32_ctz, Opcodes.i32_popcnt, Opcodes.f64_neg, Opcodes.end, Opcodes.i32_trunc_sat_f64_s[0], Opcodes.i32x4_extract_lane, Opcodes.i16x8_extract_lane, Opcodes.i32_load, Opcodes.i64_load, Opcodes.f64_load, Opcodes.v128_load, Opcodes.i32_load16_u, Opcodes.i32_load16_s, Opcodes.i32_load8_u, Opcodes.i32_load8_s, Opcodes.memory_grow].includes(inst[0]) && (inst[0] !== 0xfc || inst[1] < 0x04)) {}
1423
+ else if ([null, Opcodes.i32_eqz, Opcodes.i64_eqz, Opcodes.f64_ceil, Opcodes.f64_floor, Opcodes.f64_trunc, Opcodes.f64_nearest, Opcodes.f64_sqrt, Opcodes.local_tee, Opcodes.i32_wrap_i64, Opcodes.i64_extend_i32_s, Opcodes.i64_extend_i32_u, Opcodes.f32_demote_f64, Opcodes.f64_promote_f32, Opcodes.f64_convert_i32_s, Opcodes.f64_convert_i32_u, Opcodes.i32_clz, Opcodes.i32_ctz, Opcodes.i32_popcnt, Opcodes.f64_neg, Opcodes.end, Opcodes.i32_trunc_sat_f64_s[0], Opcodes.i32x4_extract_lane, Opcodes.i16x8_extract_lane, Opcodes.i32_load, Opcodes.i64_load, Opcodes.f64_load, Opcodes.f32_load, Opcodes.v128_load, Opcodes.i32_load16_u, Opcodes.i32_load16_s, Opcodes.i32_load8_u, Opcodes.i32_load8_s, Opcodes.memory_grow].includes(inst[0]) && (inst[0] !== 0xfc || inst[1] < 0x04)) {}
1421
1424
  else if ([Opcodes.local_get, Opcodes.global_get, Opcodes.f64_const, Opcodes.i32_const, Opcodes.i64_const, Opcodes.v128_const, Opcodes.memory_size].includes(inst[0])) count++;
1422
- else if ([Opcodes.i32_store, Opcodes.i64_store, Opcodes.f64_store, Opcodes.i32_store16, Opcodes.i32_store8].includes(inst[0])) count -= 2;
1425
+ else if ([Opcodes.i32_store, Opcodes.i64_store, Opcodes.f64_store, Opcodes.f32_store, Opcodes.i32_store16, Opcodes.i32_store8].includes(inst[0])) count -= 2;
1423
1426
  else if (inst[0] === Opcodes.memory_copy[0] && (inst[1] === Opcodes.memory_copy[1] || inst[1] === Opcodes.memory_init[1])) count -= 3;
1424
1427
  else if (inst[0] === Opcodes.return) count = 0;
1425
1428
  else if (inst[0] === Opcodes.call) {
@@ -2953,7 +2956,9 @@ const generateForOf = (scope, decl) => {
2953
2956
  // // todo: we should only do this for strings but we don't know at compile-time :(
2954
2957
  // hack: this is naughty and will break things!
2955
2958
  let newOut = number(0, Valtype.i32), newPointer = number(0, Valtype.i32);
2956
- if (pages.hasAnyString) {
2959
+
2960
+ const known = knownType(scope, getNodeType(scope, decl.right));
2961
+ if ((known === TYPES.string || known === TYPES.bytestring) || (pages.hasAnyString && known == null)) {
2957
2962
  // todo: we use i16 even for bytestrings which should not make a bad thing happen, just be confusing for debugging?
2958
2963
  0, [ newOut, newPointer ] = makeArray(scope, {
2959
2964
  rawElements: new Array(0)
@@ -3001,6 +3006,7 @@ const generateForOf = (scope, decl) => {
3001
3006
  [ Opcodes.end ],
3002
3007
  [ Opcodes.end ]
3003
3008
  ],
3009
+
3004
3010
  [TYPES.string]: [
3005
3011
  ...setType(scope, leftName, TYPES.string),
3006
3012
 
@@ -3109,6 +3115,7 @@ const generateForOf = (scope, decl) => {
3109
3115
  [ Opcodes.end ],
3110
3116
  [ Opcodes.end ]
3111
3117
  ],
3118
+
3112
3119
  [TYPES.set]: [
3113
3120
  [ Opcodes.loop, Blocktype.void ],
3114
3121
 
@@ -3147,7 +3154,106 @@ const generateForOf = (scope, decl) => {
3147
3154
  [ Opcodes.end ],
3148
3155
  [ Opcodes.end ]
3149
3156
  ],
3150
- // todo: typed arrays
3157
+
3158
+ ...wrapBC({
3159
+ [TYPES.uint8array]: [
3160
+ [ Opcodes.i32_add ],
3161
+
3162
+ [ Opcodes.i32_load8_u, 0, 4 ],
3163
+ Opcodes.i32_from_u
3164
+ ],
3165
+ [TYPES.uint8clampedarray]: [
3166
+ [ Opcodes.i32_add ],
3167
+
3168
+ [ Opcodes.i32_load8_u, 0, 4 ],
3169
+ Opcodes.i32_from_u
3170
+ ],
3171
+ [TYPES.int8array]: [
3172
+ [ Opcodes.i32_add ],
3173
+
3174
+ [ Opcodes.i32_load8_s, 0, 4 ],
3175
+ Opcodes.i32_from
3176
+ ],
3177
+ [TYPES.uint16array]: [
3178
+ ...number(2, Valtype.i32),
3179
+ [ Opcodes.i32_mul ],
3180
+ [ Opcodes.i32_add ],
3181
+
3182
+ [ Opcodes.i32_load16_u, 0, 4 ],
3183
+ Opcodes.i32_from_u
3184
+ ],
3185
+ [TYPES.int16array]: [
3186
+ ...number(2, Valtype.i32),
3187
+ [ Opcodes.i32_mul ],
3188
+ [ Opcodes.i32_add ],
3189
+
3190
+ [ Opcodes.i32_load16_s, 0, 4 ],
3191
+ Opcodes.i32_from
3192
+ ],
3193
+ [TYPES.uint32array]: [
3194
+ ...number(4, Valtype.i32),
3195
+ [ Opcodes.i32_mul ],
3196
+ [ Opcodes.i32_add ],
3197
+
3198
+ [ Opcodes.i32_load, 0, 4 ],
3199
+ Opcodes.i32_from_u
3200
+ ],
3201
+ [TYPES.int32array]: [
3202
+ ...number(4, Valtype.i32),
3203
+ [ Opcodes.i32_mul ],
3204
+ [ Opcodes.i32_add ],
3205
+
3206
+ [ Opcodes.i32_load, 0, 4 ],
3207
+ Opcodes.i32_from
3208
+ ],
3209
+ [TYPES.float32array]: [
3210
+ ...number(4, Valtype.i32),
3211
+ [ Opcodes.i32_mul ],
3212
+ [ Opcodes.i32_add ],
3213
+
3214
+ [ Opcodes.f32_load, 0, 4 ],
3215
+ [ Opcodes.f64_promote_f32 ]
3216
+ ],
3217
+ [TYPES.float64array]: [
3218
+ ...number(8, Valtype.i32),
3219
+ [ Opcodes.i32_mul ],
3220
+ [ Opcodes.i32_add ],
3221
+
3222
+ [ Opcodes.f64_load, 0, 4 ]
3223
+ ],
3224
+ }, {
3225
+ prelude: [
3226
+ ...setType(scope, leftName, TYPES.number),
3227
+
3228
+ [ Opcodes.loop, Blocktype.void ],
3229
+
3230
+ [ Opcodes.local_get, pointer ],
3231
+ [ Opcodes.local_get, counter ]
3232
+ ],
3233
+ postlude: [
3234
+ [ isGlobal ? Opcodes.global_set : Opcodes.local_set, local.idx ],
3235
+
3236
+ [ Opcodes.block, Blocktype.void ],
3237
+ [ Opcodes.block, Blocktype.void ],
3238
+ ...generate(scope, decl.body),
3239
+ [ Opcodes.end ],
3240
+
3241
+ // increment counter by 1
3242
+ [ Opcodes.local_get, counter ],
3243
+ ...number(1, Valtype.i32),
3244
+ [ Opcodes.i32_add ],
3245
+ [ Opcodes.local_tee, counter ],
3246
+
3247
+ // loop if counter != length
3248
+ [ Opcodes.local_get, length ],
3249
+ [ Opcodes.i32_ne ],
3250
+ [ Opcodes.br_if, 1 ],
3251
+
3252
+ [ Opcodes.end ],
3253
+ [ Opcodes.end ]
3254
+ ]
3255
+ }),
3256
+
3151
3257
  default: internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`)
3152
3258
  }, Blocktype.void));
3153
3259
 
@@ -400,7 +400,7 @@ export const BuiltinFuncs = function() {
400
400
  table: true
401
401
  };
402
402
  this.__Array_prototype_reduceRight = {
403
- wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[34,11],[33,12],[32,5],[33,13],[2,127],[32,13],[65,3],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[32,13],[65,4],[70],[4,64,"TYPESWITCH|Object"],[32,12],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,6],[68,0,0,0,0,0,0,240,63],[161],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,9],[43,0,4],[32,9],[45,0,12],[34,10],[33,10],[5],[32,11],[32,5],[33,10],[11],[33,7],[32,10],[33,8],[32,6],[33,14],[3,64],[32,14],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,3],[33,13],[2,124],[32,13],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,7],[32,8],[33,15],[33,16],[32,14],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,9],[43,0,4],[32,9],[45,0,12],[34,10],[33,17],[33,18],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[32,10],[33,19],[33,20],[32,0],[65,208,0],[33,21],[33,22],[32,2],[252,3],[33,23],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[32,23],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,5,0,1,2,3,4,0],[11],[32,23],[17,0,0],[33,10],[12,4],[11],[32,16],[32,15],[32,23],[17,1,0],[33,10],[12,3],[11],[32,16],[32,15],[32,18],[32,17],[32,23],[17,2,0],[33,10],[12,2],[11],[32,16],[32,15],[32,18],[32,17],[32,20],[32,19],[32,23],[17,3,0],[33,10],[12,1],[11],[32,16],[32,15],[32,18],[32,17],[32,20],[32,19],[32,22],[32,21],[32,23],[17,4,0],[33,10],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[34,7],[32,10],[33,8],[26],[12,1],[11],[11],[32,7],[32,8],[15]],
403
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[34,11],[33,12],[32,5],[33,13],[2,127],[32,13],[65,3],[70],[4,64,"TYPESWITCH|undefined"],[65,1],[12,1],[11],[32,13],[65,4],[70],[4,64,"TYPESWITCH|Object"],[32,12],[68,0,0,0,0,0,0,0,0],[97],[12,1],[11],[65,0],[11,"TYPESWITCH_end"],[4,124],[32,6],[68,0,0,0,0,0,0,240,63],[161],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,9],[43,0,4],[32,9],[45,0,12],[34,10],[33,10],[5],[32,11],[32,5],[33,10],[11],[33,7],[32,10],[33,8],[32,6],[33,14],[3,64],[32,14],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,3],[33,13],[2,124],[32,13],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,7],[32,8],[33,15],[33,16],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,9],[43,0,4],[32,9],[45,0,12],[34,10],[33,17],[33,18],[32,14],[65,0],[33,19],[33,20],[32,0],[65,208,0],[33,21],[33,22],[32,2],[252,3],[33,23],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[32,23],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,5,0,1,2,3,4,0],[11],[32,23],[17,0,0],[33,10],[12,4],[11],[32,16],[32,15],[32,23],[17,1,0],[33,10],[12,3],[11],[32,16],[32,15],[32,18],[32,17],[32,23],[17,2,0],[33,10],[12,2],[11],[32,16],[32,15],[32,18],[32,17],[32,20],[32,19],[32,23],[17,3,0],[33,10],[12,1],[11],[32,16],[32,15],[32,18],[32,17],[32,20],[32,19],[32,22],[32,21],[32,23],[17,4,0],[33,10],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[34,7],[32,10],[33,8],[26],[12,1],[11],[11],[32,7],[32,8],[15]],
404
404
  params: [124,127,124,127,124,127],
405
405
  typedParams: true,
406
406
  returns: [124,127],
@@ -410,22 +410,22 @@ export const BuiltinFuncs = function() {
410
410
  table: true
411
411
  };
412
412
  this.__Array_prototype_toString = {
413
- wasm: (scope, {allocPage,builtin,}) => [...number(allocPage(scope, 'bytestring: __Array_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[252,3],[68,0,0,0,0,0,0,0,0],[34,3],[252,3],[54,1,0],[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,5],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,2],[65,210,0],[68,0,0,0,0,0,0,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,8],[43,0,4],[32,8],[45,0,12],[33,9],[33,6],[32,9],[33,7],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[33,10],[32,6],[68,0,0,0,0,0,0,0,0],[98],[34,11],[69],[4,127],[32,10],[68,0,0,0,0,0,0,8,64],[98],[32,10],[68,0,0,0,0,0,0,16,64],[98],[113],[65,1],[33,9],[5],[32,11],[65,1],[33,9],[11],[183],[33,12],[32,9],[33,13],[2,127],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,12],[252,3],[40,1,0],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,12],[252,3],[40,1,0],[12,1],[11],[32,12],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,2],[65,210,0],[32,6],[32,7],[16, builtin('__ecma262_ToString')],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[12,1],[11],[11],[32,2],[65,210,0],[15]],
413
+ wasm: (scope, {allocPage,builtin,}) => [...number(allocPage(scope, 'bytestring: __Array_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[252,3],[68,0,0,0,0,0,0,0,0],[34,3],[252,3],[54,1,0],[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,5],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,2],[65,210,0],[68,0,0,0,0,0,0,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,8],[43,0,4],[32,8],[45,0,12],[33,9],[33,6],[32,9],[33,7],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[33,10],[32,6],[68,0,0,0,0,0,0,0,0],[98],[34,11],[69],[4,127],[32,10],[68,0,0,0,0,0,0,8,64],[98],[32,10],[68,0,0,0,0,0,0,16,64],[98],[113],[65,1],[33,9],[5],[32,11],[65,1],[33,9],[11],[4,64],[32,2],[65,210,0],[32,6],[32,7],[16, builtin('__ecma262_ToString')],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[12,1],[11],[11],[32,2],[65,210,0],[15]],
414
414
  params: [124,127],
415
415
  typedParams: true,
416
416
  returns: [124,127],
417
417
  typedReturns: true,
418
- locals: [124,124,124,124,124,127,127,127,124,127,124,127],
419
- localNames: ["_this","_this#type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi","#logicinner_tmp","#typeswitch_tmp"],
418
+ locals: [124,124,124,124,124,127,127,127,124,127],
419
+ localNames: ["_this","_this#type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi"],
420
420
  };
421
421
  this.__Array_prototype_join = {
422
- wasm: (scope, {allocPage,builtin,}) => [...number(allocPage(scope, 'bytestring: __Array_prototype_join/separator', 'i8') * pageSize, 124),[33,4],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,2],[32,3],[16, builtin('__ecma262_ToString')],[33,4],[11],...number(allocPage(scope, 'bytestring: __Array_prototype_join/out', 'i8') * pageSize, 124),[34,5],[252,3],[68,0,0,0,0,0,0,0,0],[34,6],[252,3],[54,1,0],[32,0],[252,3],[40,1,0],[184],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,7],[99],[4,64],[32,8],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[65,210,0],[32,4],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,12],[33,9],[32,12],[33,10],[32,9],[32,10],[16, builtin('__Porffor_rawType')],[33,13],[32,9],[68,0,0,0,0,0,0,0,0],[98],[34,14],[69],[4,127],[32,13],[68,0,0,0,0,0,0,8,64],[98],[32,13],[68,0,0,0,0,0,0,16,64],[98],[113],[65,1],[33,12],[5],[32,14],[65,1],[33,12],[11],[183],[33,15],[32,12],[33,16],[2,127],[32,16],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,15],[252,3],[40,1,0],[12,1],[11],[32,16],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,15],[252,3],[40,1,0],[12,1],[11],[32,15],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,5],[65,210,0],[32,9],[32,10],[16, builtin('__ecma262_ToString')],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[12,1],[11],[11],[32,5],[65,210,0],[15]],
422
+ wasm: (scope, {allocPage,builtin,}) => [...number(allocPage(scope, 'bytestring: __Array_prototype_join/separator', 'i8') * pageSize, 124),[33,4],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,2],[32,3],[16, builtin('__ecma262_ToString')],[33,4],[11],...number(allocPage(scope, 'bytestring: __Array_prototype_join/out', 'i8') * pageSize, 124),[34,5],[252,3],[68,0,0,0,0,0,0,0,0],[34,6],[252,3],[54,1,0],[32,0],[252,3],[40,1,0],[184],[33,7],[68,0,0,0,0,0,0,0,0],[33,8],[3,64],[32,8],[32,7],[99],[4,64],[32,8],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[65,210,0],[32,4],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,12],[33,9],[32,12],[33,10],[32,9],[32,10],[16, builtin('__Porffor_rawType')],[33,13],[32,9],[68,0,0,0,0,0,0,0,0],[98],[34,14],[69],[4,127],[32,13],[68,0,0,0,0,0,0,8,64],[98],[32,13],[68,0,0,0,0,0,0,16,64],[98],[113],[65,1],[33,12],[5],[32,14],[65,1],[33,12],[11],[4,64],[32,5],[65,210,0],[32,9],[32,10],[16, builtin('__ecma262_ToString')],[65,210,0],[16, builtin('__Porffor_bytestring_appendStr')],[26],[11],[12,1],[11],[11],[32,5],[65,210,0],[15]],
423
423
  params: [124,127,124,127],
424
424
  typedParams: true,
425
425
  returns: [124,127],
426
426
  typedReturns: true,
427
- locals: [124,124,124,124,124,124,127,127,127,124,127,124,127],
428
- localNames: ["_this","_this#type","_separator","_separator#type","separator","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi","#logicinner_tmp","#typeswitch_tmp"],
427
+ locals: [124,124,124,124,124,124,127,127,127,124,127],
428
+ localNames: ["_this","_this#type","_separator","_separator#type","separator","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi"],
429
429
  data: [{"bytes":[1,0,0,0,44],"offset":0}],
430
430
  };
431
431
  this.btoa = {
@@ -1428,13 +1428,13 @@ export const BuiltinFuncs = function() {
1428
1428
  data: [{"bytes":[14,0,0,0,102,117,110,99,116,105,111,110,32,40,41,32,123,125],"offset":0}],
1429
1429
  };
1430
1430
  this.parseInt = {
1431
- wasm: (scope, {builtin,}) => [[32,2],[65,0],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,36,64],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,36,64],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,4],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,77,64],[33,8],[32,2],[68,0,0,0,0,0,0,36,64],[99],[4,64],[68,0,0,0,0,0,0,72,64],[32,2],[160],[33,8],[11],[68,0,0,0,0,0,0,248,127],[33,9],[32,0],[34,10],[252,2],[40,0,0],[183],[33,11],[32,10],[33,12],[68,0,0,0,0,0,0,0,0],[33,13],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,128,84,64],[97],[4,64],[32,12],[32,11],[160],[33,14],[32,12],[252,2],[45,0,4],[183],[34,15],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[11],[32,15],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,13],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[11],[32,15],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[160],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,16],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,12],[68,0,0,0,0,0,0,0,64],[160],[33,12],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,12],[32,14],[99],[4,64],[32,12],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[252,2],[45,0,4],[183],[34,17],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,17],[32,8],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,0,72,64],[161],[160],[33,9],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,17],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,17],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,192,85,64],[161],[160],[33,9],[5],[32,17],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,17],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,128,75,64],[161],[160],[33,9],[5],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15],[11],[11],[5],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15],[11],[11],[12,1],[11],[11],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15],[11],[32,12],[32,11],[68,0,0,0,0,0,0,0,64],[162],[160],[33,14],[32,12],[252,2],[47,0,4],[183],[34,15],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,12],[68,0,0,0,0,0,0,0,64],[160],[33,12],[11],[32,15],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,13],[32,12],[68,0,0,0,0,0,0,0,64],[160],[33,12],[11],[32,15],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,12],[68,0,0,0,0,0,0,0,64],[160],[252,2],[47,0,4],[183],[34,16],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,16],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,12],[68,0,0,0,0,0,0,16,64],[160],[33,12],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,12],[32,14],[99],[4,64],[32,12],[252,2],[47,0,4],[183],[33,17],[32,12],[68,0,0,0,0,0,0,0,64],[160],[33,12],[32,17],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,17],[32,8],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,0,72,64],[161],[160],[33,9],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,17],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,17],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,192,85,64],[161],[160],[33,9],[5],[32,17],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,17],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[183],[33,6],[32,5],[33,7],[2,127],[32,7],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,6],[252,3],[11,"TYPESWITCH_end"],[4,64],[32,9],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,9],[11],[32,9],[32,2],[162],[34,9],[32,17],[68,0,0,0,0,0,128,75,64],[161],[160],[33,9],[5],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15],[11],[11],[5],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15],[11],[11],[12,1],[11],[11],[32,13],[252,3],[4,64],[32,9],[154],[15],[11],[32,9],[15]],
1431
+ wasm: (scope, {builtin,}) => [[32,2],[65,0],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,36,64],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,36,64],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,4],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,77,64],[33,6],[32,2],[68,0,0,0,0,0,0,36,64],[99],[4,64],[68,0,0,0,0,0,0,72,64],[32,2],[160],[33,6],[11],[68,0,0,0,0,0,0,248,127],[33,7],[32,0],[34,8],[252,2],[40,0,0],[183],[33,9],[32,8],[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,128,84,64],[97],[4,64],[32,10],[32,9],[160],[33,12],[32,10],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,240,63],[160],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,14],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,10],[32,12],[99],[4,64],[32,10],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[252,2],[45,0,4],[183],[34,15],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,15],[32,6],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,0,72,64],[161],[160],[33,7],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,15],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,192,85,64],[161],[160],[33,7],[5],[32,15],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,128,75,64],[161],[160],[33,7],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[12,1],[11],[11],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[32,10],[32,9],[68,0,0,0,0,0,0,0,64],[162],[160],[33,12],[32,10],[252,2],[47,0,4],[183],[34,13],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[252,2],[47,0,4],[183],[34,14],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,14],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,10],[68,0,0,0,0,0,0,16,64],[160],[33,10],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,10],[32,12],[99],[4,64],[32,10],[252,2],[47,0,4],[183],[33,15],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[32,15],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,15],[32,6],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,0,72,64],[161],[160],[33,7],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,15],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,192,85,64],[161],[160],[33,7],[5],[32,15],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,128,75,64],[161],[160],[33,7],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[12,1],[11],[11],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15]],
1432
1432
  params: [124,127,124,127],
1433
1433
  typedParams: true,
1434
1434
  returns: [124],
1435
1435
  returnType: 0,
1436
- locals: [127,127,124,127,124,124,124,124,124,124,124,124,124,124],
1437
- localNames: ["input","input#type","radix","radix#type","logictmpi","#last_type","#logicinner_tmp","#typeswitch_tmp","nMax","n","inputPtr","len","i","negative","endPtr","startChr","second","chr"],
1436
+ locals: [127,127,124,124,124,124,124,124,124,124,124,124],
1437
+ localNames: ["input","input#type","radix","radix#type","logictmpi","#last_type","nMax","n","inputPtr","len","i","negative","endPtr","startChr","second","chr"],
1438
1438
  };
1439
1439
  this.__Math_exp = {
1440
1440
  wasm: (scope, {builtin,}) => [[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[68,0,0,0,0,0,0,240,127],[154],[97],[4,64],[68,0,0,0,0,0,0,0,0],[15],[11],[32,0],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,240,63],[32,0],[154],[65,0],[16, builtin('__Math_exp')],[163],[15],[11],[32,0],[68,239,57,250,254,66,46,230,63],[163],[16, builtin('__Math_floor')],[33,2],[32,0],[32,2],[68,239,57,250,254,66,46,230,63],[162],[161],[34,3],[33,4],[68,0,0,0,0,0,0,240,63],[32,3],[160],[33,5],[68,0,0,0,0,0,0,0,64],[33,6],[3,64],[32,4],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[4,64],[32,4],[32,3],[32,6],[163],[162],[33,4],[32,5],[32,4],[160],[33,5],[32,6],[68,0,0,0,0,0,0,240,63],[160],[33,6],[12,1],[11],[11],[3,64],[32,2],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[68,0,0,0,0,0,0,0,64],[162],[33,5],[12,1],[11],[11],[32,5],[15]],
@@ -1644,31 +1644,31 @@ export const BuiltinFuncs = function() {
1644
1644
  localNames: ["y","y#type","x","x#type","ratio","ratio#type"],
1645
1645
  };
1646
1646
  this.__Number_prototype_toString = {
1647
- wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toString/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,36,64],[34,2],[65,0],[33,3],[26],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[183],[33,9],[32,8],[33,10],[2,127],[32,10],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,10],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,9],[252,3],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'RangeError', `toString() radix argument must be between 2 and 36`),[11],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,4],[252,3],[34,6],[65,1],[54,1,0],[32,6],[65,48],[58,0,4],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,11],...number(allocPage(scope, 'bytestring: __Number_prototype_toString/digits', 'i8') * pageSize, 124),[33,12],[68,0,0,0,0,0,0,0,0],[33,13],[32,2],[68,0,0,0,0,0,0,36,64],[97],[4,64],[32,11],[68,80,239,226,214,228,26,75,68],[102],[4,64],[68,0,0,0,0,0,0,240,63],[33,14],[68,0,0,0,0,0,0,240,191],[33,15],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,11],[32,2],[16, builtin('f64_%')],[33,16],[32,11],[32,2],[163],[16, builtin('__Math_trunc')],[33,11],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[32,14],[252,3],[4,64],[32,16],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,14],[11],[32,12],[32,13],[160],[252,2],[32,16],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,19],[3,64],[32,5],[32,18],[99],[4,64],[32,5],[32,19],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,18],[68,0,0,0,0,0,0,240,63],[160],[33,18],[11],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,13],[3,64],[32,15],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,12],[32,13],[160],[252,2],[32,15],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,15],[32,2],[163],[16, builtin('__Math_trunc')],[33,15],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[3,64],[32,5],[32,18],[99],[4,64],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,20],[252,3],[54,1,0],[32,4],[65,210,0],[15],[11],[32,0],[68,141,237,181,160,247,198,176,62],[99],[4,64],[32,0],[33,21],[68,0,0,0,0,0,0,240,63],[33,15],[3,64],[65,1],[4,64],[32,21],[32,2],[162],[34,21],[16, builtin('__Math_trunc')],[34,22],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,21],[32,22],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[11],[12,1],[11],[11],[3,64],[32,21],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,21],[32,2],[16, builtin('f64_%')],[33,16],[32,21],[32,2],[163],[16, builtin('__Math_trunc')],[33,21],[32,12],[32,13],[160],[252,2],[32,16],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,19],[3,64],[32,5],[32,18],[99],[4,64],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[33,16],[32,5],[32,19],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,18],[68,0,0,0,0,0,0,240,63],[160],[33,18],[11],[32,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,13],[3,64],[32,15],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,12],[32,13],[160],[252,2],[32,15],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,15],[32,2],[163],[16, builtin('__Math_trunc')],[33,15],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[3,64],[32,5],[32,18],[99],[4,64],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,20],[252,3],[54,1,0],[32,4],[65,210,0],[15],[11],[11],[32,11],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,12],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,13],[5],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,12],[32,13],[160],[252,2],[32,11],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,11],[32,2],[163],[16, builtin('__Math_trunc')],[33,11],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[3,64],[32,5],[32,18],[99],[4,64],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16, builtin('__Math_trunc')],[161],[34,21],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,21],[68,0,0,0,0,0,0,240,63],[160],[33,21],[68,0,0,0,0,0,0,48,64],[32,13],[161],[33,23],[68,0,0,0,0,0,0,0,0],[33,24],[3,64],[32,24],[32,23],[99],[4,64],[32,21],[32,2],[162],[33,21],[32,24],[68,0,0,0,0,0,0,240,63],[160],[33,24],[12,1],[11],[11],[32,21],[16, builtin('__Math_round')],[33,21],[68,0,0,0,0,0,0,0,0],[33,13],[68,0,0,0,0,0,0,240,63],[33,14],[3,64],[32,21],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,21],[32,2],[16, builtin('f64_%')],[33,16],[32,21],[32,2],[163],[16, builtin('__Math_trunc')],[33,21],[32,14],[252,3],[4,64],[32,16],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,14],[11],[32,12],[32,13],[160],[252,2],[32,16],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,17],[32,5],[32,13],[160],[33,18],[3,64],[32,5],[32,18],[99],[4,64],[32,17],[68,0,0,0,0,0,0,240,63],[161],[34,17],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,20],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1647
+ wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toString/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,36,64],[34,2],[65,0],[33,3],[26],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[4,64],...internalThrow(scope, 'RangeError', `toString() radix argument must be between 2 and 36`),[11],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,4],[252,3],[34,6],[65,1],[54,1,0],[32,6],[65,48],[58,0,4],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,9],...number(allocPage(scope, 'bytestring: __Number_prototype_toString/digits', 'i8') * pageSize, 124),[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[32,2],[68,0,0,0,0,0,0,36,64],[97],[4,64],[32,9],[68,80,239,226,214,228,26,75,68],[102],[4,64],[68,0,0,0,0,0,0,240,63],[33,12],[68,0,0,0,0,0,0,240,191],[33,13],[3,64],[32,9],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[32,2],[16, builtin('f64_%')],[33,14],[32,9],[32,2],[163],[16, builtin('__Math_trunc')],[33,9],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[32,12],[252,3],[4,64],[32,14],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,12],[11],[32,10],[32,11],[160],[252,2],[32,14],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,17],[3,64],[32,5],[32,16],[99],[4,64],[32,5],[32,17],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,16],[68,0,0,0,0,0,0,240,63],[160],[33,16],[11],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,11],[3,64],[32,13],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,10],[32,11],[160],[252,2],[32,13],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,13],[32,2],[163],[16, builtin('__Math_trunc')],[33,13],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,18],[252,3],[54,1,0],[32,4],[65,210,0],[15],[11],[32,0],[68,141,237,181,160,247,198,176,62],[99],[4,64],[32,0],[33,19],[68,0,0,0,0,0,0,240,63],[33,13],[3,64],[65,1],[4,64],[32,19],[32,2],[162],[34,19],[16, builtin('__Math_trunc')],[34,20],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,19],[32,20],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[11],[12,1],[11],[11],[3,64],[32,19],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,19],[32,2],[16, builtin('f64_%')],[33,14],[32,19],[32,2],[163],[16, builtin('__Math_trunc')],[33,19],[32,10],[32,11],[160],[252,2],[32,14],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,17],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[33,14],[32,5],[32,17],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,16],[68,0,0,0,0,0,0,240,63],[160],[33,16],[11],[32,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,11],[3,64],[32,13],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,10],[32,11],[160],[252,2],[32,13],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,13],[32,2],[163],[16, builtin('__Math_trunc')],[33,13],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,18],[252,3],[54,1,0],[32,4],[65,210,0],[15],[11],[11],[32,9],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,10],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,11],[5],[3,64],[32,9],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,10],[32,11],[160],[252,2],[32,9],[32,2],[16, builtin('f64_%')],[252,2],[58,0,4],[32,9],[32,2],[163],[16, builtin('__Math_trunc')],[33,9],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16, builtin('__Math_trunc')],[161],[34,19],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,19],[68,0,0,0,0,0,0,240,63],[160],[33,19],[68,0,0,0,0,0,0,48,64],[32,11],[161],[33,21],[68,0,0,0,0,0,0,0,0],[33,22],[3,64],[32,22],[32,21],[99],[4,64],[32,19],[32,2],[162],[33,19],[32,22],[68,0,0,0,0,0,0,240,63],[160],[33,22],[12,1],[11],[11],[32,19],[16, builtin('__Math_round')],[33,19],[68,0,0,0,0,0,0,0,0],[33,11],[68,0,0,0,0,0,0,240,63],[33,12],[3,64],[32,19],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,19],[32,2],[16, builtin('f64_%')],[33,14],[32,19],[32,2],[163],[16, builtin('__Math_trunc')],[33,19],[32,12],[252,3],[4,64],[32,14],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,12],[11],[32,10],[32,11],[160],[252,2],[32,14],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,15],[32,5],[32,11],[160],[33,16],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,18],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1648
1648
  params: [124,127,124,127],
1649
1649
  typedParams: true,
1650
1650
  returns: [124,127],
1651
1651
  typedReturns: true,
1652
- locals: [124,124,127,127,127,124,127,124,124,124,124,124,124,124,124,124,124,124,124,124,124],
1653
- localNames: ["_this","_this#type","radix","radix#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","#logicinner_tmp","#typeswitch_tmp","i","digits","l","trailing","e","digit","digitsPtr","endPtr","dotPlace","__length_setter_tmp","decimal","intPart","decimalDigits","j"],
1652
+ locals: [124,124,127,127,127,124,124,124,124,124,124,124,124,124,124,124,124,124,124],
1653
+ localNames: ["_this","_this#type","radix","radix#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","i","digits","l","trailing","e","digit","digitsPtr","endPtr","dotPlace","__length_setter_tmp","decimal","intPart","decimalDigits","j"],
1654
1654
  };
1655
1655
  this.__Number_prototype_toFixed = {
1656
- wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[68,0,0,0,0,0,0,0,0],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[183],[33,9],[32,8],[33,10],[2,127],[32,10],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,10],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,9],[252,3],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'RangeError', `toFixed() fractionDigits argument must be between 0 and 100`),[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,11],...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/digits', 'i8') * pageSize, 124),[33,12],[68,0,0,0,0,0,0,0,0],[33,13],[32,11],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,12],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,13],[5],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,12],[32,13],[160],[252,2],[32,11],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,11],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[11],[32,12],[32,13],[160],[33,14],[32,5],[32,13],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16, builtin('__Math_trunc')],[161],[33,17],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,17],[68,0,0,0,0,0,0,240,63],[160],[33,17],[68,0,0,0,0,0,0,0,0],[33,18],[3,64],[32,18],[32,2],[99],[4,64],[32,17],[68,0,0,0,0,0,0,36,64],[162],[33,17],[32,18],[68,0,0,0,0,0,0,240,63],[160],[33,18],[12,1],[11],[11],[32,17],[16, builtin('__Math_round')],[33,17],[68,0,0,0,0,0,0,0,0],[33,13],[3,64],[32,17],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,17],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,16],[32,17],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,17],[32,12],[32,13],[160],[252,2],[32,16],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,14],[32,5],[32,13],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,19],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1656
+ wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[68,0,0,0,0,0,0,0,0],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[4,64],...internalThrow(scope, 'RangeError', `toFixed() fractionDigits argument must be between 0 and 100`),[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,9],...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/digits', 'i8') * pageSize, 124),[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[32,9],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,10],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,11],[5],[3,64],[32,9],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,10],[32,11],[160],[252,2],[32,9],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,9],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,9],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[11],[32,10],[32,11],[160],[33,12],[32,5],[32,11],[160],[33,13],[3,64],[32,5],[32,13],[99],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[161],[34,12],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16, builtin('__Math_trunc')],[161],[33,15],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[68,0,0,0,0,0,0,0,0],[33,16],[3,64],[32,16],[32,2],[99],[4,64],[32,15],[68,0,0,0,0,0,0,36,64],[162],[33,15],[32,16],[68,0,0,0,0,0,0,240,63],[160],[33,16],[12,1],[11],[11],[32,15],[16, builtin('__Math_round')],[33,15],[68,0,0,0,0,0,0,0,0],[33,11],[3,64],[32,15],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,15],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,14],[32,15],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,15],[32,10],[32,11],[160],[252,2],[32,14],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,12],[32,5],[32,11],[160],[33,13],[3,64],[32,5],[32,13],[99],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[161],[34,12],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,14],[68,0,0,0,0,0,0,72,64],[160],[33,14],[5],[32,14],[68,0,0,0,0,0,192,85,64],[160],[33,14],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,14],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,17],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1657
1657
  params: [124,127,124,127],
1658
1658
  typedParams: true,
1659
1659
  returns: [124,127],
1660
1660
  typedReturns: true,
1661
- locals: [124,124,127,127,127,124,127,124,124,124,124,124,124,124,124,124],
1662
- localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","#logicinner_tmp","#typeswitch_tmp","i","digits","l","digitsPtr","endPtr","digit","decimal","j","__length_setter_tmp"],
1661
+ locals: [124,124,127,127,127,124,124,124,124,124,124,124,124,124],
1662
+ localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","i","digits","l","digitsPtr","endPtr","digit","decimal","j","__length_setter_tmp"],
1663
1663
  };
1664
1664
  this.__Number_prototype_toExponential = {
1665
- wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,0,0],[34,2],[65,3],[33,3],[26],[5],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,0],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[183],[33,9],[32,8],[33,10],[2,127],[32,10],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,10],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[252,3],[40,1,0],[12,1],[11],[32,9],[252,3],[11,"TYPESWITCH_end"],[4,64],...internalThrow(scope, 'RangeError', `toExponential() fractionDigits argument must be between 0 and 100`),[11],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[33,11],...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/digits', 'i8') * pageSize, 124),[33,12],[68,0,0,0,0,0,0,0,0],[33,13],[68,0,0,0,0,0,0,0,0],[33,14],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,17],[3,64],[32,17],[32,2],[99],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,17],[68,0,0,0,0,0,0,240,63],[160],[33,17],[12,1],[11],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[5],[32,0],[68,0,0,0,0,0,0,240,63],[99],[4,64],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,240,63],[33,14],[3,64],[65,1],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[162],[34,11],[16, builtin('__Math_trunc')],[34,18],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,11],[32,18],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,240,63],[33,14],[68,0,0,0,0,0,0,0,0],[33,17],[3,64],[32,17],[32,2],[101],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[162],[34,11],[16, builtin('__Math_trunc')],[34,18],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[5],[32,17],[68,0,0,0,0,0,0,240,63],[160],[33,17],[11],[12,1],[11],[11],[11],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,19],[32,11],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,11],[32,12],[32,13],[160],[252,2],[32,19],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,15],[32,5],[32,13],[160],[33,16],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,20],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[33,19],[32,5],[32,20],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,16],[68,0,0,0,0,0,0,240,63],[160],[33,16],[11],[32,19],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,19],[68,0,0,0,0,0,0,72,64],[160],[33,19],[5],[32,19],[68,0,0,0,0,0,192,85,64],[160],[33,19],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,19],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[5],[68,0,0,0,0,0,0,240,191],[33,14],[3,64],[32,11],[68,0,0,0,0,0,0,240,63],[102],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[163],[33,11],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[12,1],[11],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[3,64],[65,1],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[162],[34,11],[16, builtin('__Math_trunc')],[34,18],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,11],[32,18],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,0,0],[33,17],[3,64],[32,17],[32,2],[101],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[162],[33,11],[32,17],[68,0,0,0,0,0,0,240,63],[160],[33,17],[12,1],[11],[11],[11],[32,11],[16, builtin('__Math_round')],[33,11],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,11],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,19],[32,11],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,11],[32,12],[32,13],[160],[252,2],[32,19],[252,2],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[32,12],[32,13],[160],[33,15],[32,5],[32,13],[160],[33,16],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,20],[3,64],[32,5],[32,16],[99],[4,64],[32,5],[32,20],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,16],[68,0,0,0,0,0,0,240,63],[160],[33,16],[11],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,19],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,19],[68,0,0,0,0,0,0,72,64],[160],[33,19],[5],[32,19],[68,0,0,0,0,0,192,85,64],[160],[33,19],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,19],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[11],[11],[32,14],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,12],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,13],[5],[68,0,0,0,0,0,0,0,0],[33,13],[3,64],[32,14],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,12],[32,13],[160],[252,2],[32,14],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,14],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,14],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[12,1],[11],[11],[11],[32,12],[32,13],[160],[33,15],[32,5],[32,13],[160],[33,16],[3,64],[32,5],[32,16],[99],[4,64],[32,15],[68,0,0,0,0,0,0,240,63],[161],[34,15],[252,2],[45,0,4],[183],[34,19],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,19],[68,0,0,0,0,0,0,72,64],[160],[33,19],[5],[32,19],[68,0,0,0,0,0,192,85,64],[160],[33,19],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,19],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,21],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1665
+ wasm: (scope, {allocPage,builtin,internalThrow,}) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,4],[252,3],[34,6],[65,3],[54,1,0],[32,6],[65,206,0],[58,0,4],[32,6],[65,225,0],[58,0,5],[32,6],[65,206,0],[58,0,6],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,4],[252,3],[34,6],[65,8],[54,1,0],[32,6],[65,201,0],[58,0,4],[32,6],[65,238,0],[58,0,5],[32,6],[65,230,0],[58,0,6],[32,6],[65,233,0],[58,0,7],[32,6],[65,238,0],[58,0,8],[32,6],[65,233,0],[58,0,9],[32,6],[65,244,0],[58,0,10],[32,6],[65,249,0],[58,0,11],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,4],[252,3],[34,6],[65,9],[54,1,0],[32,6],[65,45],[58,0,4],[32,6],[65,201,0],[58,0,5],[32,6],[65,238,0],[58,0,6],[32,6],[65,230,0],[58,0,7],[32,6],[65,233,0],[58,0,8],[32,6],[65,238,0],[58,0,9],[32,6],[65,233,0],[58,0,10],[32,6],[65,244,0],[58,0,11],[32,6],[65,249,0],[58,0,12],[32,6],[184],[34,4],[65,210,0],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,0,0],[34,2],[65,3],[33,3],[26],[5],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,0],[99],[34,7],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,8],[5],[32,7],[65,1],[33,8],[11],[4,64],...internalThrow(scope, 'RangeError', `toExponential() fractionDigits argument must be between 0 and 100`),[11],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[33,9],...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/digits', 'i8') * pageSize, 124),[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[68,0,0,0,0,0,0,0,0],[33,12],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,15],[3,64],[32,15],[32,2],[99],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[12,1],[11],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[5],[32,0],[68,0,0,0,0,0,0,240,63],[99],[4,64],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,240,63],[33,12],[3,64],[65,1],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[162],[34,9],[16, builtin('__Math_trunc')],[34,16],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[32,16],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,240,63],[33,12],[68,0,0,0,0,0,0,0,0],[33,15],[3,64],[32,15],[32,2],[101],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[162],[34,9],[16, builtin('__Math_trunc')],[34,16],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[5],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[11],[12,1],[11],[11],[11],[3,64],[32,9],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,17],[32,9],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,9],[32,10],[32,11],[160],[252,2],[32,17],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,13],[32,5],[32,11],[160],[33,14],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,18],[3,64],[32,5],[32,14],[99],[4,64],[32,13],[68,0,0,0,0,0,0,240,63],[161],[34,13],[252,2],[45,0,4],[183],[33,17],[32,5],[32,18],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[11],[32,17],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,17],[68,0,0,0,0,0,0,72,64],[160],[33,17],[5],[32,17],[68,0,0,0,0,0,192,85,64],[160],[33,17],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,17],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[5],[68,0,0,0,0,0,0,240,191],[33,12],[3,64],[32,9],[68,0,0,0,0,0,0,240,63],[102],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[163],[33,9],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[12,1],[11],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[3,64],[65,1],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[162],[34,9],[16, builtin('__Math_trunc')],[34,16],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[32,16],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,0,0],[33,15],[3,64],[32,15],[32,2],[101],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[162],[33,9],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[12,1],[11],[11],[11],[32,9],[16, builtin('__Math_round')],[33,9],[3,64],[32,9],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,17],[32,9],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,9],[32,10],[32,11],[160],[252,2],[32,17],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,10],[32,11],[160],[33,13],[32,5],[32,11],[160],[33,14],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,18],[3,64],[32,5],[32,14],[99],[4,64],[32,5],[32,18],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[11],[32,13],[68,0,0,0,0,0,0,240,63],[161],[34,13],[252,2],[45,0,4],[183],[34,17],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,17],[68,0,0,0,0,0,0,72,64],[160],[33,17],[5],[32,17],[68,0,0,0,0,0,192,85,64],[160],[33,17],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,17],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[11],[11],[32,12],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,10],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,11],[5],[68,0,0,0,0,0,0,0,0],[33,11],[3,64],[32,12],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,10],[32,11],[160],[252,2],[32,12],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,12],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,12],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[11],[32,10],[32,11],[160],[33,13],[32,5],[32,11],[160],[33,14],[3,64],[32,5],[32,14],[99],[4,64],[32,13],[68,0,0,0,0,0,0,240,63],[161],[34,13],[252,2],[45,0,4],[183],[34,17],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,17],[68,0,0,0,0,0,0,72,64],[160],[33,17],[5],[32,17],[68,0,0,0,0,0,192,85,64],[160],[33,17],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,17],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,19],[252,3],[54,1,0],[32,4],[65,210,0],[15]],
1666
1666
  params: [124,127,124,127],
1667
1667
  typedParams: true,
1668
1668
  returns: [124,127],
1669
1669
  typedReturns: true,
1670
- locals: [124,124,127,127,127,124,127,124,124,124,124,124,124,124,124,124,124,124],
1671
- localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","#logicinner_tmp","#typeswitch_tmp","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace","__length_setter_tmp"],
1670
+ locals: [124,124,127,127,127,124,124,124,124,124,124,124,124,124,124,124],
1671
+ localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace","__length_setter_tmp"],
1672
1672
  };
1673
1673
  this.__Number_prototype_valueOf = {
1674
1674
  wasm: (scope, {}) => [[32,0],[65,0],[15]],
@@ -1789,7 +1789,7 @@ export const BuiltinFuncs = function() {
1789
1789
  localNames: [],
1790
1790
  };
1791
1791
  this.Set$constructor = {
1792
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,0],[252,3],[33,3],[65,0],[33,5],[32,3],[40,1,0],[33,4],[32,1],[33,9],[2,64],[32,9],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,3],[43,0,4],[32,3],[45,0,12],[33,7],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,9],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,7],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,3],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,2],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,3],[43,0,4],[32,3],[45,0,12],[33,7],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,9],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,7],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,3],[32,5],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[11],[32,2],[15]],
1792
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,0],[252,3],[33,3],[65,0],[33,5],[32,3],[40,1,0],[33,4],[32,1],[33,9],[2,64],[32,9],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,3],[43,0,4],[32,3],[45,0,12],[33,7],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,9],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,7],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,3],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,2],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,3],[43,0,4],[32,3],[45,0,12],[33,7],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,3],[65,9],[106],[33,3],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,7],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,3],[32,5],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[106],[45,0,4],[184],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[106],[44,0,4],[183],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,7],[3,64],[32,3],[32,5],[106],[45,0,4],[184],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,2],[108],[106],[47,0,4],[184],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,2],[108],[106],[46,0,4],[183],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,4],[108],[106],[40,0,4],[184],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,4],[108],[106],[40,0,4],[183],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,4],[108],[106],[42,0,4],[187],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],[32,9],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,7],[3,64],[32,3],[32,5],[65,8],[108],[106],[43,0,4],[33,6],[2,64],[32,2],[65,20],[32,6],[32,7],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,1],[106],[34,5],[32,4],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[11],[32,2],[15]],
1793
1793
  params: [124,127],
1794
1794
  typedParams: true,
1795
1795
  returns: [124],
@@ -1798,7 +1798,7 @@ export const BuiltinFuncs = function() {
1798
1798
  localNames: ["iterable","iterable#type","out","forof_base_pointer","forof_length","forof_counter","x","x#type","#last_type","#typeswitch_tmp"],
1799
1799
  };
1800
1800
  this.__Set_prototype_union = {
1801
- wasm: (scope, {builtin,internalThrow,}) => [[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,52,64],[98],[4,64],...internalThrow(scope, 'TypeError', `Set.prototype.union's 'other' argument must be a Set`),[11],[32,0],[65,20],[16, builtin('Set$constructor')],[33,4],[32,2],[252,3],[33,5],[65,0],[33,7],[32,5],[40,1,0],[33,6],[32,3],[33,11],[2,64],[32,11],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,5],[43,0,4],[32,5],[45,0,12],[33,9],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,9],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,5],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,2],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,5],[43,0,4],[32,5],[45,0,12],[33,9],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,9],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,5],[32,7],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,4],[65,20],[15]],
1801
+ wasm: (scope, {builtin,internalThrow,}) => [[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,52,64],[98],[4,64],...internalThrow(scope, 'TypeError', `Set.prototype.union's 'other' argument must be a Set`),[11],[32,0],[65,20],[16, builtin('Set$constructor')],[33,4],[32,2],[252,3],[33,5],[65,0],[33,7],[32,5],[40,1,0],[33,6],[32,3],[33,11],[2,64],[32,11],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,5],[43,0,4],[32,5],[45,0,12],[33,9],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,9],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,5],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,2],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,5],[43,0,4],[32,5],[45,0,12],[33,9],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,9],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,5],[32,7],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[106],[45,0,4],[184],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[106],[44,0,4],[183],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,9],[3,64],[32,5],[32,7],[106],[45,0,4],[184],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,2],[108],[106],[47,0,4],[184],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,2],[108],[106],[46,0,4],[183],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,4],[108],[106],[40,0,4],[184],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,4],[108],[106],[40,0,4],[183],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,4],[108],[106],[42,0,4],[187],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],[32,11],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,9],[3,64],[32,5],[32,7],[65,8],[108],[106],[43,0,4],[33,8],[2,64],[32,4],[65,20],[32,8],[32,9],[16, builtin('__Set_prototype_add')],[26],[26],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,4],[65,20],[15]],
1802
1802
  params: [124,127,124,127],
1803
1803
  typedParams: true,
1804
1804
  returns: [124,127],
@@ -2205,7 +2205,7 @@ export const BuiltinFuncs = function() {
2205
2205
  localNames: [],
2206
2206
  };
2207
2207
  this.Uint8Array$constructor = {
2208
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2208
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,3],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2209
2209
  params: [124,127],
2210
2210
  typedParams: true,
2211
2211
  returns: [124],
@@ -2223,7 +2223,7 @@ export const BuiltinFuncs = function() {
2223
2223
  localNames: [],
2224
2224
  };
2225
2225
  this.Int8Array$constructor = {
2226
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2226
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[252,2],[58,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2227
2227
  params: [124,127],
2228
2228
  typedParams: true,
2229
2229
  returns: [124],
@@ -2241,7 +2241,7 @@ export const BuiltinFuncs = function() {
2241
2241
  localNames: [],
2242
2242
  };
2243
2243
  this.Uint8ClampedArray$constructor = {
2244
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2244
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[106],[32,9],[34,11],[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],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2245
2245
  params: [124,127],
2246
2246
  typedParams: true,
2247
2247
  returns: [124],
@@ -2259,7 +2259,7 @@ export const BuiltinFuncs = function() {
2259
2259
  localNames: [],
2260
2260
  };
2261
2261
  this.Uint16Array$constructor = {
2262
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2262
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,3],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2263
2263
  params: [124,127],
2264
2264
  typedParams: true,
2265
2265
  returns: [124],
@@ -2277,7 +2277,7 @@ export const BuiltinFuncs = function() {
2277
2277
  localNames: [],
2278
2278
  };
2279
2279
  this.Int16Array$constructor = {
2280
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2280
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,2],[108],[106],[32,9],[34,11],[252,2],[59,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2281
2281
  params: [124,127],
2282
2282
  typedParams: true,
2283
2283
  returns: [124],
@@ -2295,7 +2295,7 @@ export const BuiltinFuncs = function() {
2295
2295
  localNames: [],
2296
2296
  };
2297
2297
  this.Uint32Array$constructor = {
2298
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2298
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,3],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2299
2299
  params: [124,127],
2300
2300
  typedParams: true,
2301
2301
  returns: [124],
@@ -2313,7 +2313,7 @@ export const BuiltinFuncs = function() {
2313
2313
  localNames: [],
2314
2314
  };
2315
2315
  this.Int32Array$constructor = {
2316
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2316
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[252,2],[54,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2317
2317
  params: [124,127],
2318
2318
  typedParams: true,
2319
2319
  returns: [124],
@@ -2331,7 +2331,7 @@ export const BuiltinFuncs = function() {
2331
2331
  localNames: [],
2332
2332
  };
2333
2333
  this.Float32Array$constructor = {
2334
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[26],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[26],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[26],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[26],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2334
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,4],[108],[106],[32,9],[34,11],[182],[56,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2335
2335
  params: [124,127],
2336
2336
  typedParams: true,
2337
2337
  returns: [124],
@@ -2349,7 +2349,7 @@ export const BuiltinFuncs = function() {
2349
2349
  localNames: [],
2350
2350
  };
2351
2351
  this.Float64Array$constructor = {
2352
- wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2352
+ wasm: (scope, {builtin,internalThrow,}) => [[16, builtin('__Porffor_allocate')],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[34,4],[68,0,0,0,0,0,0,84,64],[97],[32,4],[68,0,0,0,0,0,128,80,64],[97],[114],[32,4],[68,0,0,0,0,0,128,84,64],[97],[114],[32,4],[68,0,0,0,0,0,0,52,64],[97],[114],[4,64],[68,0,0,0,0,0,0,0,0],[33,5],[32,0],[252,3],[33,6],[65,0],[33,8],[32,6],[40,1,0],[33,7],[32,1],[33,13],[2,64],[32,13],[65,20],[70],[4,64,"TYPESWITCH|Set"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,194,0],[70],[4,64,"TYPESWITCH|undefined"],[65,194,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[47,0,4],[59,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,2],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,208,0],[70],[4,64,"TYPESWITCH|Array"],[3,64],[32,6],[43,0,4],[32,6],[45,0,12],[33,10],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,6],[65,9],[106],[33,6],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,210,0],[70],[4,64,"TYPESWITCH|ByteString"],[65,210,0],[33,10],[65,0],[65,1],[54,0,0],[3,64],[65,0],[32,6],[32,8],[106],[45,0,4],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,213,0],[70],[4,64,"TYPESWITCH|Uint8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,214,0],[70],[4,64,"TYPESWITCH|Int8Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[44,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,215,0],[70],[4,64,"TYPESWITCH|Uint8ClampedArray"],[65,0],[33,10],[3,64],[32,6],[32,8],[106],[45,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,216,0],[70],[4,64,"TYPESWITCH|Uint16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[47,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,217,0],[70],[4,64,"TYPESWITCH|Int16Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,2],[108],[106],[46,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,218,0],[70],[4,64,"TYPESWITCH|Uint32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[184],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,219,0],[70],[4,64,"TYPESWITCH|Int32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[40,0,4],[183],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,220,0],[70],[4,64,"TYPESWITCH|Float32Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,4],[108],[106],[42,0,4],[187],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],[32,13],[65,221,0],[70],[4,64,"TYPESWITCH|Float64Array"],[65,0],[33,10],[3,64],[32,6],[32,8],[65,8],[108],[106],[43,0,4],[33,9],[2,64],[32,2],[252,3],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,3],[65,8],[108],[106],[32,9],[34,11],[57,0,4],[32,8],[65,1],[106],[34,8],[32,7],[71],[13,1],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `Tried for..of on non-iterable type`),[11,"TYPESWITCH_end"],[32,5],[33,3],[5],[32,4],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[33,3],[11],[11],[32,2],[252,3],[32,3],[34,14],[252,3],[54,1,0],[32,2],[15]],
2353
2353
  params: [124,127],
2354
2354
  typedParams: true,
2355
2355
  returns: [124],
package/compiler/pgo.js CHANGED
@@ -91,7 +91,9 @@ export const run = obj => {
91
91
  },
92
92
  w: (ind, outPtr) => { // readArgv
93
93
  const pgoInd = process.argv.indexOf('--pgo');
94
- const args = process.argv.slice(pgoInd).filter(x => !x.startsWith('-'));
94
+ let args = process.argv.slice(pgoInd);
95
+ args = args.slice(args.findIndex(x => !x.startsWith('-')) + 1);
96
+
95
97
  const str = args[ind - 1];
96
98
  if (pgoInd === -1 || !str) {
97
99
  if (Prefs.pgoLog) console.log('\nPGO warning: script was expecting arguments, please specify args to use for PGO after --pgo arg');
@@ -100,6 +102,9 @@ export const run = obj => {
100
102
 
101
103
  writeByteStr(exports.$, outPtr, str);
102
104
  return str.length;
105
+ },
106
+ q: (pathPtr, outPtr) => {
107
+ return -1;
103
108
  }
104
109
  }, () => {});
105
110
 
@@ -179,6 +184,9 @@ export const run = obj => {
179
184
 
180
185
  log = '';
181
186
  for (const x of funcs) {
187
+ // skip pgo opt for main()
188
+ if (x.name === 'main') continue;
189
+
182
190
  const wasmFunc = wasmFuncs.find(y => y.name === x.name);
183
191
 
184
192
  let targets = [];
package/compiler/wrap.js CHANGED
@@ -140,7 +140,7 @@ export default (source, flags = [ 'module' ], customImports = {}, print = str =>
140
140
 
141
141
  globalThis.porfDebugInfo = { funcs, globals };
142
142
 
143
- if (process.argv[1].includes('/runner') && source.includes?.('export ')) flags.push('module');
143
+ // if (process.argv[1].includes('/runner') && source.includes?.('export ')) flags.push('module');
144
144
 
145
145
  // fs.writeFileSync('out.wasm', Buffer.from(wasm));
146
146
 
@@ -248,8 +248,10 @@ export default (source, flags = [ 'module' ], customImports = {}, print = str =>
248
248
  y: () => {},
249
249
  z: () => {},
250
250
  w: (ind, outPtr) => { // readArgv
251
- const args = process.argv.slice(2).filter(x => !x.startsWith('-'));
252
- const str = args[ind];
251
+ let args = process.argv.slice(2);
252
+ args = args.slice(args.findIndex(x => !x.startsWith('-')) + 1);
253
+
254
+ const str = args[ind - 1];
253
255
  if (!str) return -1;
254
256
 
255
257
  writeByteStr(memory, outPtr, str);
@@ -257,7 +259,7 @@ export default (source, flags = [ 'module' ], customImports = {}, print = str =>
257
259
  },
258
260
  q: (pathPtr, outPtr) => { // readFile
259
261
  try {
260
- const path = readByteStr(memory, pathPtr);
262
+ const path = pathPtr === 0 ? 0 : readByteStr(memory, pathPtr);
261
263
  const contents = fs.readFileSync(path, 'utf8');
262
264
  writeByteStr(memory, outPtr, contents);
263
265
  return contents.length;
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.17.0-b103c8894",
4
+ "version": "0.17.0-b4e7f7ee0",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/rhemyn/README.md CHANGED
@@ -24,13 +24,16 @@ Made for use with Porffor but could possibly be adapted, implementation/library
24
24
  - 🟢 digit, not digit (eg `\d\D`)
25
25
  - 🟢 word, not word (eg `\w\W`)
26
26
  - 🟢 whitespace, not whitespace (eg `\s\S`)
27
- - 🟠 quantifiers
28
- - 🟠 star (eg `a*`)
29
- - 🟠 plus (eg `a+`)
30
- - 🟠 optional (eg `a?`)
27
+ - 🟡 quantifiers
28
+ - 🟡 star (eg `a*`)
29
+ - 🟡 plus (eg `a+`)
30
+ - 🟡 optional (eg `a?`)
31
31
  - 🟠 lazy modifier (eg `a*?`)
32
32
  - 🔴 n repetitions (eg `a{4}`)
33
33
  - 🔴 n-m repetitions (eg `a{2,4}`)
34
+ - 🟠 groups
35
+ - 🟠 capturing groups (`(a)`)
36
+ - 🔴 non-capturing groups (`(?:a)`)
34
37
  - 🔴 assertions
35
38
  - 🔴 beginning (eg `^a`)
36
39
  - 🔴 end (eg `a$`)
package/rhemyn/compile.js CHANGED
@@ -12,13 +12,12 @@ const Counter = 3; // what char we are running on
12
12
  const Pointer = 4; // next char BYTE pointer
13
13
  const Length = 5;
14
14
  const Tmp = 6;
15
+ const QuantifierTmp = 7; // the temporary variable used for quanitifers
15
16
 
16
- let exprLastGet = false;
17
17
  const generate = (node, negated = false, get = true, stringSize = 2, func = 'test') => {
18
18
  let out = [];
19
19
  switch (node.type) {
20
20
  case 'Expression':
21
- exprLastGet = false;
22
21
  out = [
23
22
  // set length local
24
23
  [ Opcodes.local_get, BasePointer ],
@@ -32,46 +31,40 @@ const generate = (node, negated = false, get = true, stringSize = 2, func = 'tes
32
31
  [ Opcodes.local_set, IterPointer ],
33
32
 
34
33
  [ Opcodes.loop, Blocktype.void ],
35
-
36
- // reset pointer as iter pointer
37
- [ Opcodes.local_get, IterPointer ],
38
- [ Opcodes.local_set, Pointer ],
39
-
40
- [ Opcodes.block, Blocktype.void ],
41
-
42
- // generate checks
43
- ...node.body.flatMap((x, i) => {
44
- exprLastGet = x.type !== 'Group' && i === (node.body.length - 1);
45
- return generate(x, negated, true, stringSize, func);
46
- }),
47
-
48
- // reached end without branching out, successful match
49
- ...({
50
- test: number(1, Valtype.i32),
51
- search: [
52
- [ Opcodes.local_get, Counter ]
53
- ]
54
- })[func],
55
- [ Opcodes.return ],
56
-
57
- [ Opcodes.end ],
58
-
59
- // increment iter pointer by string size
60
- [ Opcodes.local_get, IterPointer ],
61
- ...number(stringSize, Valtype.i32),
62
- [ Opcodes.i32_add ],
63
- [ Opcodes.local_set, IterPointer ],
64
-
65
- // increment counter by 1, check if eq length, if not loop
66
- [ Opcodes.local_get, Counter ],
67
- ...number(1, Valtype.i32),
68
- [ Opcodes.i32_add ],
69
- [ Opcodes.local_tee, Counter ],
70
-
71
- [ Opcodes.local_get, Length ],
72
- [ Opcodes.i32_ne ],
73
-
74
- [ Opcodes.br_if, 0 ],
34
+ // reset pointer as iter pointer
35
+ [ Opcodes.local_get, IterPointer ],
36
+ [ Opcodes.local_set, Pointer ],
37
+
38
+ [ Opcodes.block, Blocktype.void ],
39
+ // generate checks
40
+ ...node.body.flatMap(x => generate(x, negated, true, stringSize, func)),
41
+
42
+ // reached end without branching out, successful match
43
+ ...({
44
+ test: number(1, Valtype.i32),
45
+ search: [
46
+ [ Opcodes.local_get, Counter ]
47
+ ]
48
+ })[func],
49
+ [ Opcodes.return ],
50
+ [ Opcodes.end ],
51
+
52
+ // increment iter pointer by string size
53
+ [ Opcodes.local_get, IterPointer ],
54
+ ...number(stringSize, Valtype.i32),
55
+ [ Opcodes.i32_add ],
56
+ [ Opcodes.local_set, IterPointer ],
57
+
58
+ // increment counter by 1, check if eq length, if not loop
59
+ [ Opcodes.local_get, Counter ],
60
+ ...number(1, Valtype.i32),
61
+ [ Opcodes.i32_add ],
62
+ [ Opcodes.local_tee, Counter ],
63
+
64
+ [ Opcodes.local_get, Length ],
65
+ [ Opcodes.i32_ne ],
66
+
67
+ [ Opcodes.br_if, 0 ],
75
68
  [ Opcodes.end ],
76
69
 
77
70
  // no match, return 0
@@ -110,12 +103,12 @@ const generate = (node, negated = false, get = true, stringSize = 2, func = 'tes
110
103
  return out;
111
104
  };
112
105
 
113
- const getNextChar = (stringSize) => [
106
+ const getNextChar = (stringSize, peek = false) => [
114
107
  // get char from pointer
115
108
  [ Opcodes.local_get, Pointer ],
116
109
  [ stringSize == 2 ? Opcodes.i32_load16_u : Opcodes.i32_load8_u, 0, 0 ],
117
110
 
118
- ...(exprLastGet ? [] : [
111
+ ...(peek ? [] : [
119
112
  // pointer += string size
120
113
  [ Opcodes.local_get, Pointer ],
121
114
  ...number(stringSize, Valtype.i32),
@@ -134,11 +127,81 @@ const checkFailure = () => [
134
127
  [ Opcodes.br_if, 0 ]
135
128
  ];
136
129
 
137
- const generateChar = (node, negated, get, stringSize) => {
130
+ const wrapQuantifier = (node, method, get, stringSize) => {
131
+ const [ min, max ] = node.quantifier;
138
132
  return [
139
- ...(get ? getNextChar(stringSize) : []),
133
+ // initalize our temp value (number of matched characters)
134
+ ...number(0, Valtype.i32),
135
+ [Opcodes.local_set, QuantifierTmp],
136
+
137
+ // start loop
138
+ [Opcodes.loop, Blocktype.void],
139
+ [ Opcodes.block, Blocktype.void ],
140
+ // if counter + tmp == length, break
141
+ [ Opcodes.local_get, Counter ],
142
+ [ Opcodes.local_get, QuantifierTmp ],
143
+ [ Opcodes.i32_add ],
144
+ [ Opcodes.local_get, Length ],
145
+ [ Opcodes.i32_eq ],
146
+ [ Opcodes.br_if, 0 ],
147
+
148
+ // if doesn't match, break
149
+ ...method,
150
+ [Opcodes.br_if, 0 ],
151
+ ...(get ? [
152
+ // pointer += stringSize
153
+ [ Opcodes.local_get, Pointer ],
154
+ ...number(stringSize, Valtype.i32),
155
+ [ Opcodes.i32_add ],
156
+ [ Opcodes.local_set, Pointer ]
157
+ ] : []),
158
+
159
+ // if maximum was reached, break
160
+ ...(max ? [
161
+ [ Opcodes.local_get, QuantifierTmp ],
162
+ ...number(max, Valtype.i32),
163
+ [ Opcodes.i32_eq ],
164
+ [ Opcodes.br_if, 0 ]
165
+ ] : []),
166
+
167
+ [ Opcodes.local_get, QuantifierTmp ],
168
+ ...number(1, Valtype.i32),
169
+ [ Opcodes.i32_add ],
170
+ [ Opcodes.local_set, QuantifierTmp ],
171
+ [ Opcodes.br, 1 ],
172
+ [ Opcodes.end ],
173
+ [ Opcodes.end ],
174
+
175
+ // if less than minimum, fail
176
+ [Opcodes.local_get, QuantifierTmp],
177
+ ...number(min, Valtype.i32),
178
+ [Opcodes.i32_lt_s],
179
+ ...(get ? checkFailure(): []),
180
+
181
+ // counter += tmp - 1
182
+ [ Opcodes.local_get, QuantifierTmp ],
183
+ ...number(1, Valtype.i32),
184
+ [ Opcodes.i32_sub ],
185
+ [ Opcodes.local_get, Counter ],
186
+ [ Opcodes.i32_add ],
187
+ [ Opcodes.local_set, Counter ]
188
+ ];
189
+ }
190
+
191
+ const generateChar = (node, negated, get, stringSize) => {
192
+ const hasQuantifier = !!node.quantifier;
193
+ const out = [
194
+ ...(get ? getNextChar(stringSize, hasQuantifier) : []),
140
195
  ...number(node.char.charCodeAt(0), Valtype.i32),
141
196
  negated ? [ Opcodes.i32_eq ] : [ Opcodes.i32_ne ],
197
+ ];
198
+
199
+ if (node.quantifier) {
200
+ return wrapQuantifier(node, out, get, stringSize);
201
+ }
202
+
203
+ return [
204
+ ...out,
142
205
  ...(get ? checkFailure(): [])
143
206
  ];
144
207
  };
@@ -146,21 +209,31 @@ const generateChar = (node, negated, get, stringSize) => {
146
209
  const generateSet = (node, negated, get, stringSize) => {
147
210
  // for a single char we do not need a tmp, it is like just
148
211
  const singleChar = node.body.length === 1 && node.body[0].type === 'Character';
212
+ if (singleChar) return generateChar(node.body[0], negated, get, stringSize)
149
213
 
150
- let out = [
151
- ...(get ? getNextChar(stringSize) : []),
152
- ...(singleChar ? [] : [ [ Opcodes.local_set, Tmp ] ]),
214
+ const hasQuantifier = !!node.quantifier;
215
+
216
+ const out = [
217
+ ...(get ? getNextChar(stringSize, hasQuantifier) : []),
218
+ [ Opcodes.local_set, Tmp ],
153
219
  ];
154
220
 
155
221
  for (const x of node.body) {
156
- out = [
157
- ...out,
158
- ...(singleChar ? [] : [ [ Opcodes.local_get, Tmp ] ]),
222
+ out.push(
223
+ [ Opcodes.local_get, Tmp ],
159
224
  ...generate(x, negated, false, stringSize)
160
- ];
225
+ );
161
226
  }
162
227
 
163
- if (node.body.length > 0) out = out.concat(new Array(node.body.length - 1).fill(negated ? [ Opcodes.i32_or ] : [ Opcodes.i32_and ]));
228
+ if (node.body.length > 0) {
229
+ for (let i = 0; i < node.body.length - 1; i++) {
230
+ out.push(negated ? [ Opcodes.i32_or ] : [ Opcodes.i32_and ])
231
+ }
232
+ };
233
+
234
+ if (hasQuantifier) {
235
+ return wrapQuantifier(node, out, get, stringSize);
236
+ }
164
237
 
165
238
  return [
166
239
  ...out,
@@ -196,7 +269,7 @@ const wrapFunc = (regex, func, name, index) => {
196
269
  const parsed = parse(regex);
197
270
 
198
271
  return outputFunc([
199
- [ Opcodes.local_get, 1 ],
272
+ [ Opcodes.local_get, IterPointer ],
200
273
  ...number(TYPES.string, Valtype.i32),
201
274
  [ Opcodes.i32_eq ],
202
275
  [ Opcodes.if, Valtype.i32 ],
@@ -229,5 +302,6 @@ const outputFunc = (wasm, name, index) => ({
229
302
  pointer: { idx: 4, type: Valtype.i32 },
230
303
  length: { idx: 5, type: Valtype.i32 },
231
304
  tmp: { idx: 6, type: Valtype.i32 },
305
+ quantifierTmp: { idx: 7, type: Valtype.i32 },
232
306
  }
233
307
  });
package/runner/debug.js CHANGED
@@ -43,7 +43,7 @@ let lastLine;
43
43
  let output = '';
44
44
 
45
45
  try {
46
- const { exports } = await compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {
46
+ const { exports } = compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {
47
47
  y: n => {
48
48
  if (callStarts[callStarts.length - 1] === n - 1) {
49
49
  // end of call
package/runner/index.js CHANGED
@@ -130,14 +130,14 @@ const print = str => {
130
130
  let runStart;
131
131
  try {
132
132
  if (process.argv.includes('-b')) {
133
- const { wasm, exports } = await compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {}, print);
133
+ const { wasm, exports } = compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {}, print);
134
134
 
135
135
  runStart = performance.now();
136
136
  if (!process.argv.includes('--no-run')) exports.main();
137
137
 
138
138
  console.log(`\n\nwasm size: ${wasm.byteLength} bytes`);
139
139
  } else {
140
- const { exports } = await compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {}, print);
140
+ const { exports } = compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {}, print);
141
141
 
142
142
  runStart = performance.now();
143
143
  if (!process.argv.includes('--no-run')) exports.main();
@@ -146,7 +146,7 @@ try {
146
146
  } catch (e) {
147
147
  // if (cache) process.stdout.write(cache);
148
148
  let out = e;
149
- if (!process.argv.includes('-i') && e.__proto__.message != null) out = `${e.constructor.name}${e.message != null ? `: ${e.message}` : ''}`;
149
+ if (!process.argv.includes('-i') && Object.getPrototypeOf(e).message != null) out = `${e.constructor.name}${e.message != null ? `: ${e.message}` : ''}`;
150
150
  console.error(out);
151
151
  }
152
152
 
package/runner/profile.js CHANGED
@@ -20,7 +20,7 @@ let spin = 0;
20
20
  let last = 0;
21
21
 
22
22
  try {
23
- const { exports } = await compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {
23
+ const { exports } = compile(source, process.argv.includes('--module') ? [ 'module' ] : [], {
24
24
  y: n => {
25
25
  tmp[n] = performance.now();
26
26
  },
package/runner/repl.js CHANGED
@@ -80,13 +80,13 @@ const memoryToString = mem => {
80
80
  };
81
81
 
82
82
  let prev = '';
83
- const run = async (source, _context, _filename, callback, run = true) => {
83
+ const run = (source, _context, _filename, callback, run = true) => {
84
84
  // hack: print "secret" before latest code ran to only enable printing for new code
85
85
 
86
86
  let toRun = (prev ? (prev + `;\nprint(-0x1337);\n`) : '') + source.trim();
87
87
 
88
88
  let shouldPrint = !prev;
89
- const { exports, pages } = await compile(toRun, [], {}, str => {
89
+ const { exports, pages } = compile(toRun, [], {}, str => {
90
90
  if (shouldPrint) process.stdout.write(str);
91
91
  if (str === '-4919') shouldPrint = true;
92
92
  });
@@ -127,12 +127,12 @@ replServer.defineCommand('memory', {
127
127
  });
128
128
  replServer.defineCommand('asm', {
129
129
  help: 'Log Wasm decompiled bytecode',
130
- async action() {
130
+ action() {
131
131
  this.clearBufferedCommand();
132
132
 
133
133
  try {
134
134
  process.argv.push('--opt-funcs');
135
- await run('', null, null, () => {}, false);
135
+ run('', null, null, () => {}, false);
136
136
  process.argv.pop();
137
137
  } catch { }
138
138
 
@@ -141,7 +141,7 @@ replServer.defineCommand('asm', {
141
141
  });
142
142
  replServer.defineCommand('js', {
143
143
  help: 'Log JS being actually ran',
144
- async action() {
144
+ action() {
145
145
  this.clearBufferedCommand();
146
146
  console.log(prev);
147
147
  this.displayPrompt();