porffor 0.14.0-c6edfd328 → 0.14.0-d6c141d91

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.
@@ -300,13 +300,83 @@ export const BuiltinFuncs = function() {
300
300
  localNames: ["_this","_this#type"],
301
301
  };
302
302
  this.__Array_prototype_forEach = {
303
- wasm: (scope, {}) => [[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],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,6],[43,0,4],[32,6],[45,0,12],[33,7],[65,0],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,16],[33,12],[33,13],[32,2],[252,3],[33,14],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,14],[17,0,0],[33,7],[12,3],[11],[32,9],[32,8],[32,14],[17,1,0],[33,7],[12,2],[11],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[12,1],[11],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
303
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,15],[2,124],[32,15],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,6],[43,0,4],[32,6],[45,0,12],[33,7],[65,0],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,16],[33,12],[33,13],[32,2],[252,3],[33,14],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,14],[17,0,0],[33,7],[12,3],[11],[32,9],[32,8],[32,14],[17,1,0],[33,7],[12,2],[11],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[12,1],[11],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[26],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
304
304
  params: [124,127,124,127],
305
305
  typedParams: true,
306
306
  returns: [124,127],
307
307
  typedReturns: true,
308
- locals: [124,124,127,127,127,124,127,124,127,124,127],
309
- localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func"],
308
+ locals: [124,124,127,127,127,124,127,124,127,124,127,127],
309
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp"],
310
+ table: true
311
+ };
312
+ this.__Array_prototype_filter = {
313
+ wasm: (scope, {allocPage,internalThrow,}) => [...number(allocPage(scope, 'array: __Array_prototype_filter/out', 'f64') * pageSize, 124),[34,4],[252,3],[34,5],[65,0],[54,1,0],[32,0],[252,3],[40,1,0],[184],[33,6],[68,0,0,0,0,0,0,0,0],[33,7],[3,64],[32,7],[32,6],[99],[4,64],[32,7],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,11],[33,8],[65,0],[33,9],[32,3],[33,19],[2,124],[32,19],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,8],[32,9],[33,12],[33,13],[32,7],[32,7],[68,0,0,0,0,0,0,240,63],[160],[33,7],[32,11],[33,14],[33,15],[32,0],[65,16],[33,16],[33,17],[32,2],[252,3],[33,18],[2,124],[2,64],[2,64],[2,64],[2,64],[32,18],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,18],[17,0,0],[33,11],[12,3],[11],[32,13],[32,12],[32,18],[17,1,0],[33,11],[12,2],[11],[32,13],[32,12],[32,15],[32,14],[32,18],[17,2,0],[33,11],[12,1],[11],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,18],[17,3,0],[33,11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,20],[32,11],[33,19],[2,124],[32,19],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,20],[252,3],[40,1,0],[184],[12,1],[11],[32,19],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,20],[252,3],[40,1,0],[184],[12,1],[11],[32,20],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,4],[252,3],[34,22],[40,1,0],[34,21],[65,9],[108],[32,22],[106],[34,23],[32,8],[57,0,4],[32,23],[32,9],[58,0,12],[32,22],[32,21],[65,1],[106],[54,1,0],[11],[12,1],[11],[11],[32,4],[65,16],[15]],
314
+ params: [124,127,124,127],
315
+ typedParams: true,
316
+ returns: [124,127],
317
+ typedReturns: true,
318
+ locals: [124,127,124,124,124,127,127,127,127,124,127,124,127,124,127,127,124,127,127,127],
319
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#makearray_pointer_tmp","len","i","el","el#type","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp","__proto_length_cache","__proto_pointer_cache","__push_tmp"],
320
+ table: true
321
+ };
322
+ this.__Array_prototype_map = {
323
+ wasm: (scope, {allocPage,internalThrow,}) => [...number(allocPage(scope, 'array: __Array_prototype_map/out', 'f64') * pageSize, 124),[34,4],[252,3],[34,5],[65,0],[54,1,0],[32,0],[252,3],[40,1,0],[184],[33,6],[68,0,0,0,0,0,0,0,0],[33,7],[3,64],[32,7],[32,6],[99],[4,64],[32,4],[252,3],[34,9],[40,1,0],[33,8],[2,64],[32,8],[65,9],[108],[32,9],[106],[34,10],[32,3],[33,20],[2,124],[32,20],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,7],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,12],[65,0],[33,13],[33,14],[32,7],[32,7],[68,0,0,0,0,0,0,240,63],[160],[33,7],[32,12],[33,15],[33,16],[32,0],[65,16],[33,17],[33,18],[32,2],[252,3],[33,19],[2,124],[2,64],[2,64],[2,64],[2,64],[32,19],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,19],[17,0,0],[33,12],[12,3],[11],[32,14],[32,13],[32,19],[17,1,0],[33,12],[12,2],[11],[32,14],[32,13],[32,16],[32,15],[32,19],[17,2,0],[33,12],[12,1],[11],[32,14],[32,13],[32,16],[32,15],[32,18],[32,17],[32,19],[17,3,0],[33,12],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[57,0,4],[32,10],[32,12],[58,0,12],[32,9],[32,8],[65,1],[106],[54,1,0],[11],[12,1],[11],[11],[32,4],[65,16],[15]],
324
+ params: [124,127,124,127],
325
+ typedParams: true,
326
+ returns: [124,127],
327
+ typedReturns: true,
328
+ locals: [124,127,124,124,127,127,127,127,127,127,124,127,124,127,124,127,127],
329
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","out","#makearray_pointer_tmp","len","i","__proto_length_cache","__proto_pointer_cache","__push_tmp","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp"],
330
+ table: true
331
+ };
332
+ this.__Array_prototype_find = {
333
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,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],[65,0],[33,7],[32,3],[33,17],[2,124],[32,17],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,6],[32,7],[33,10],[33,11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,9],[33,12],[33,13],[32,0],[65,16],[33,14],[33,15],[32,2],[252,3],[33,16],[2,124],[2,64],[2,64],[2,64],[2,64],[32,16],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,16],[17,0,0],[33,9],[12,3],[11],[32,11],[32,10],[32,16],[17,1,0],[33,9],[12,2],[11],[32,11],[32,10],[32,13],[32,12],[32,16],[17,2,0],[33,9],[12,1],[11],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,16],[17,3,0],[33,9],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,18],[32,9],[33,17],[2,124],[32,17],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,18],[252,3],[40,1,0],[184],[12,1],[11],[32,17],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,18],[252,3],[40,1,0],[184],[12,1],[11],[32,18],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,6],[32,7],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
334
+ params: [124,127,124,127],
335
+ typedParams: true,
336
+ returns: [124,127],
337
+ typedReturns: true,
338
+ locals: [124,124,124,127,127,127,127,124,127,124,127,124,127,127,124],
339
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","el","el#type","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp"],
340
+ table: true
341
+ };
342
+ this.__Array_prototype_findLast = {
343
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[3,64],[32,4],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[68,0,0,0,0,0,0,240,63],[161],[34,4],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[33,8],[33,5],[65,0],[33,6],[32,3],[33,16],[2,124],[32,16],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,5],[32,6],[33,9],[33,10],[32,4],[65,0],[33,11],[33,12],[32,0],[65,16],[33,13],[33,14],[32,2],[252,3],[33,15],[2,124],[2,64],[2,64],[2,64],[2,64],[32,15],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,15],[17,0,0],[33,8],[12,3],[11],[32,10],[32,9],[32,15],[17,1,0],[33,8],[12,2],[11],[32,10],[32,9],[32,12],[32,11],[32,15],[17,2,0],[33,8],[12,1],[11],[32,10],[32,9],[32,12],[32,11],[32,14],[32,13],[32,15],[17,3,0],[33,8],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,17],[32,8],[33,16],[2,124],[32,16],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,17],[252,3],[40,1,0],[184],[12,1],[11],[32,16],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,17],[252,3],[40,1,0],[184],[12,1],[11],[32,17],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,5],[32,6],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
344
+ params: [124,127,124,127],
345
+ typedParams: true,
346
+ returns: [124,127],
347
+ typedReturns: true,
348
+ locals: [124,124,127,127,127,127,124,127,124,127,124,127,127,124],
349
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","i","el","el#type","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp"],
350
+ table: true
351
+ };
352
+ this.__Array_prototype_findIndex = {
353
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,15],[2,124],[32,15],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,6],[43,0,4],[32,6],[45,0,12],[33,7],[65,0],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,16],[33,12],[33,13],[32,2],[252,3],[33,14],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,14],[17,0,0],[33,7],[12,3],[11],[32,9],[32,8],[32,14],[17,1,0],[33,7],[12,2],[11],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[12,1],[11],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,16],[32,7],[33,15],[2,124],[32,15],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,16],[252,3],[40,1,0],[184],[12,1],[11],[32,15],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,16],[252,3],[40,1,0],[184],[12,1],[11],[32,16],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,5],[65,0],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
354
+ params: [124,127,124,127],
355
+ typedParams: true,
356
+ returns: [124,127],
357
+ typedReturns: true,
358
+ locals: [124,124,127,127,127,124,127,124,127,124,127,127,124],
359
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp"],
360
+ table: true
361
+ };
362
+ this.__Array_prototype_findLastIndex = {
363
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[3,64],[32,4],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,3],[33,14],[2,124],[32,14],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,4],[68,0,0,0,0,0,0,240,63],[161],[34,4],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,5],[43,0,4],[32,5],[45,0,12],[33,6],[65,0],[33,7],[33,8],[32,4],[65,0],[33,9],[33,10],[32,0],[65,16],[33,11],[33,12],[32,2],[252,3],[33,13],[2,124],[2,64],[2,64],[2,64],[2,64],[32,13],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,13],[17,0,0],[33,6],[12,3],[11],[32,8],[32,7],[32,13],[17,1,0],[33,6],[12,2],[11],[32,8],[32,7],[32,10],[32,9],[32,13],[17,2,0],[33,6],[12,1],[11],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,13],[17,3,0],[33,6],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,15],[32,6],[33,14],[2,124],[32,14],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,15],[252,3],[40,1,0],[184],[12,1],[11],[32,14],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,15],[252,3],[40,1,0],[184],[12,1],[11],[32,15],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[32,4],[65,0],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,3],[15]],
364
+ params: [124,127,124,127],
365
+ typedParams: true,
366
+ returns: [124,127],
367
+ typedReturns: true,
368
+ locals: [124,127,127,127,124,127,124,127,124,127,127,124],
369
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","i","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp"],
370
+ table: true
371
+ };
372
+ this.__Array_prototype_every = {
373
+ wasm: (scope, {internalThrow,}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,3],[33,15],[2,124],[32,15],[65,5],[70],[4,64,"TYPESWITCH|Function"],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[34,6],[43,0,4],[32,6],[45,0,12],[33,7],[65,0],[33,8],[33,9],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[32,7],[33,10],[33,11],[32,0],[65,16],[33,12],[33,13],[32,2],[252,3],[33,14],[2,124],[2,64],[2,64],[2,64],[2,64],[32,14],[65,2],[108],[47,0,128,128,12,"read_argc"],[14,4,0,1,2,3,0],[11],[32,14],[17,0,0],[33,7],[12,3],[11],[32,9],[32,8],[32,14],[17,1,0],[33,7],[12,2],[11],[32,9],[32,8],[32,11],[32,10],[32,14],[17,2,0],[33,7],[12,1],[11],[32,9],[32,8],[32,11],[32,10],[32,13],[32,12],[32,14],[17,3,0],[33,7],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,16],[32,7],[33,15],[2,124],[32,15],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,16],[252,3],[40,1,0],[184],[12,1],[11],[32,15],[65,18],[70],[4,64,"TYPESWITCH|ByteString"],[32,16],[252,3],[40,1,0],[184],[12,1],[11],[32,16],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,0,0],[65,1],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,1],[15]],
374
+ params: [124,127,124,127],
375
+ typedParams: true,
376
+ returns: [124,127],
377
+ typedReturns: true,
378
+ locals: [124,124,127,127,127,124,127,124,127,124,127,127,124],
379
+ localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#loadArray_offset","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_func","#typeswitch_tmp","#logicinner_tmp"],
310
380
  table: true
311
381
  };
312
382
  this.btoa = {
@@ -1306,6 +1376,213 @@ export const BuiltinFuncs = function() {
1306
1376
  locals: [127,127,124,124,124,124,124,124,124,124,124,124],
1307
1377
  localNames: ["input","input#type","radix","radix#type","logictmpi","#last_type","nMax","n","inputPtr","len","i","negative","endPtr","startChr","second","chr"],
1308
1378
  };
1379
+ this.__Math_exp = {
1380
+ 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],[32,5],[68,0,0,0,0,0,0,240,63],[32,2],[16, builtin('f64_<<')],[162],[15]],
1381
+ params: [124,127],
1382
+ typedParams: true,
1383
+ returns: [124],
1384
+ returnType: 0,
1385
+ locals: [124,124,124,124,124],
1386
+ localNames: ["x","x#type","k","r","term","sum","i"],
1387
+ };
1388
+ this.__Math_log2 = {
1389
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,0,0],[101],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[3,64],[32,2],[68,0,0,0,0,0,0,0,64],[102],[4,64],[32,2],[68,0,0,0,0,0,0,0,64],[163],[33,2],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[12,1],[11],[11],[3,64],[32,2],[68,0,0,0,0,0,0,240,63],[99],[4,64],[32,2],[68,0,0,0,0,0,0,0,64],[162],[33,2],[32,3],[68,0,0,0,0,0,0,240,63],[161],[33,3],[12,1],[11],[11],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,2],[3,64],[2,64],[32,2],[68,239,57,250,254,66,46,230,63],[162],[65,0],[16, builtin('__Math_exp')],[34,5],[32,0],[161],[32,5],[68,239,57,250,254,66,46,230,63],[162],[163],[33,4],[32,2],[32,4],[161],[33,2],[32,4],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[13,1],[11],[11],[32,2],[32,3],[160],[15]],
1390
+ params: [124,127],
1391
+ typedParams: true,
1392
+ returns: [124],
1393
+ returnType: 0,
1394
+ locals: [124,124,124,124],
1395
+ localNames: ["y","y#type","x","exponent","delta","e_x"],
1396
+ };
1397
+ this.__Math_log = {
1398
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,0,0],[101],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,240,127],[154],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,63],[100],[4,124],[32,0],[65,0],[16, builtin('__Math_log2')],[65,0],[33,3],[5],[68,0,0,0,0,0,0,0,0],[65,0],[33,3],[11],[33,2],[3,64],[2,64],[32,2],[65,0],[16, builtin('__Math_exp')],[34,5],[32,0],[161],[32,5],[163],[33,4],[32,2],[32,4],[161],[33,2],[32,4],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[13,1],[11],[11],[32,2],[15]],
1399
+ params: [124,127],
1400
+ typedParams: true,
1401
+ returns: [124],
1402
+ returnType: 0,
1403
+ locals: [124,127,124,124],
1404
+ localNames: ["y","y#type","x","#last_type","delta","e_x"],
1405
+ };
1406
+ this.__Math_log10 = {
1407
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,0,0],[101],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,240,127],[154],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[65,0],[16, builtin('__Math_log')],[68,22,85,181,187,177,107,2,64],[163],[15]],
1408
+ params: [124,127],
1409
+ typedParams: true,
1410
+ returns: [124],
1411
+ returnType: 0,
1412
+ locals: [],
1413
+ localNames: ["x","x#type"],
1414
+ };
1415
+ this.__Math_pow = {
1416
+ wasm: (scope, {builtin,}) => [[32,2],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,240,63],[15],[11],[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,0],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,0],[15],[11],[68,0,0,0,0,0,0,0,0],[15],[11],[32,2],[68,0,0,0,0,0,0,0,64],[16, builtin('f64_%')],[68,0,0,0,0,0,0,240,63],[97],[184],[33,4],[65,1],[33,5],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[33,6],[32,5],[33,7],[2,127],[32,7],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,18],[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,240,127],[154],[15],[11],[68,0,0,0,0,0,0,240,127],[15],[11],[32,4],[33,6],[32,5],[33,7],[2,127],[32,7],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,18],[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,0,128],[15],[11],[68,0,0,0,0,0,0,0,0],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,240,63],[32,0],[163],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[68,0,0,0,0,0,0,0,0],[15],[11],[68,0,0,0,0,0,0,240,127],[15],[11],[32,2],[68,0,0,0,0,0,0,0,64],[16, builtin('f64_%')],[68,0,0,0,0,0,0,240,63],[97],[184],[33,4],[65,1],[33,5],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[33,6],[32,5],[33,7],[2,127],[32,7],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,18],[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,0,128],[15],[11],[68,0,0,0,0,0,0,0,0],[15],[11],[32,4],[33,6],[32,5],[33,7],[2,127],[32,7],[65,2],[70],[4,64,"TYPESWITCH|String"],[32,6],[252,3],[40,1,0],[12,1],[11],[32,7],[65,18],[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,240,127],[154],[15],[11],[68,0,0,0,0,0,0,240,127],[15],[11],[32,2],[68,0,0,0,0,0,0,240,127],[97],[4,64],[32,0],[16, builtin('__Math_abs')],[33,8],[65,0],[33,9],[32,8],[68,0,0,0,0,0,0,240,63],[100],[4,64],[68,0,0,0,0,0,0,240,127],[15],[11],[32,8],[68,0,0,0,0,0,0,240,63],[97],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,0,0],[15],[11],[32,2],[68,0,0,0,0,0,0,240,127],[154],[97],[4,64],[32,0],[16, builtin('__Math_abs')],[33,8],[65,0],[33,9],[32,8],[68,0,0,0,0,0,0,240,63],[100],[4,64],[68,0,0,0,0,0,0,0,0],[15],[11],[32,8],[68,0,0,0,0,0,0,240,63],[97],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,240,127],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,2],[16, builtin('__Number_isInteger')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[11],[32,2],[32,0],[65,0],[16, builtin('__Math_log')],[162],[65,0],[16, builtin('__Math_exp')],[15]],
1417
+ params: [124,127,124,127],
1418
+ typedParams: true,
1419
+ returns: [124],
1420
+ returnType: 0,
1421
+ locals: [124,127,124,127,124,127],
1422
+ localNames: ["base","base#type","exponent","exponent#type","isOdd","isOdd#type","#logicinner_tmp","#typeswitch_tmp","abs","abs#type"],
1423
+ };
1424
+ this.__Math_expm1 = {
1425
+ 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,240,191],[15],[11],[32,0],[15],[11],[32,0],[16, builtin('__Math_abs')],[68,241,104,227,136,181,248,228,62],[100],[4,64],[32,0],[65,0],[16, builtin('__Math_exp')],[68,0,0,0,0,0,0,240,63],[161],[15],[11],[32,0],[33,2],[32,0],[33,3],[68,0,0,0,0,0,0,0,64],[33,4],[3,64],[32,3],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[4,64],[32,3],[32,0],[32,4],[163],[162],[33,3],[32,2],[32,3],[160],[33,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[33,4],[12,1],[11],[11],[32,2],[15]],
1426
+ params: [124,127],
1427
+ typedParams: true,
1428
+ returns: [124],
1429
+ returnType: 0,
1430
+ locals: [124,124,124],
1431
+ localNames: ["x","x#type","sum","term","i"],
1432
+ };
1433
+ this.__Math_log1p = {
1434
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,240,191],[97],[4,64],[68,0,0,0,0,0,0,240,127],[154],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[16, builtin('__Math_abs')],[68,241,104,227,136,181,248,228,62],[100],[4,64],[68,0,0,0,0,0,0,240,63],[32,0],[160],[65,0],[16, builtin('__Math_log')],[15],[11],[68,0,0,0,0,0,0,0,0],[33,2],[32,0],[33,3],[68,0,0,0,0,0,0,0,64],[33,4],[3,64],[32,3],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[4,64],[32,3],[32,0],[154],[32,4],[163],[162],[33,3],[32,2],[32,3],[160],[33,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[33,4],[12,1],[11],[11],[32,2],[15]],
1435
+ params: [124,127],
1436
+ typedParams: true,
1437
+ returns: [124],
1438
+ returnType: 0,
1439
+ locals: [124,124,124],
1440
+ localNames: ["x","x#type","sum","term","i"],
1441
+ };
1442
+ this.__Math_sqrt = {
1443
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,0,0],[101],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,0,0],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[33,2],[3,64],[2,64],[32,2],[33,3],[68,0,0,0,0,0,0,224,63],[32,2],[32,0],[32,2],[163],[160],[162],[33,2],[32,3],[32,2],[161],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[13,1],[11],[11],[32,2],[15]],
1444
+ params: [124,127],
1445
+ typedParams: true,
1446
+ returns: [124],
1447
+ returnType: 0,
1448
+ locals: [124,124],
1449
+ localNames: ["y","y#type","x","prev"],
1450
+ };
1451
+ this.__Math_cbrt = {
1452
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,0,0],[15],[11],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[15],[11],[32,0],[16, builtin('__Math_abs')],[33,2],[65,0],[33,3],[3,64],[2,64],[32,2],[33,4],[68,0,0,0,0,0,0,0,64],[32,2],[162],[32,0],[32,2],[32,2],[162],[163],[160],[68,0,0,0,0,0,0,8,64],[163],[34,2],[65,0],[33,3],[26],[32,4],[32,2],[161],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[13,1],[11],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,124],[32,2],[154],[5],[32,2],[11],[15]],
1453
+ params: [124,127],
1454
+ typedParams: true,
1455
+ returns: [124],
1456
+ returnType: 0,
1457
+ locals: [124,127,124,127],
1458
+ localNames: ["y","y#type","x","x#type","prev","#last_type"],
1459
+ };
1460
+ this.__Math_hypot = {
1461
+ wasm: (scope, {builtin,}) => [[32,0],[32,0],[162],[32,2],[32,2],[162],[160],[65,0],[16, builtin('__Math_sqrt')],[15]],
1462
+ params: [124,127,124,127],
1463
+ typedParams: true,
1464
+ returns: [124],
1465
+ returnType: 0,
1466
+ locals: [],
1467
+ localNames: ["x","x#type","y","y#type"],
1468
+ };
1469
+ this.__Math_sin = {
1470
+ wasm: (scope, {builtin,}) => [[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[162],[33,2],[32,0],[32,2],[16, builtin('f64_%')],[34,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[32,2],[160],[33,0],[11],[32,0],[32,0],[162],[33,3],[32,0],[68,0,0,0,0,0,0,240,63],[32,3],[68,72,85,85,85,85,85,197,191],[32,3],[68,208,247,16,17,17,17,129,63],[32,3],[68,3,223,191,25,160,1,42,191],[32,3],[68,161,72,125,86,227,29,199,62],[32,3],[68,93,31,41,169,229,229,90,190],[32,3],[68,205,156,209,31,253,216,229,61],[162],[160],[162],[160],[162],[160],[162],[160],[162],[160],[162],[160],[162],[15]],
1471
+ params: [124,127],
1472
+ typedParams: true,
1473
+ returns: [124],
1474
+ returnType: 0,
1475
+ locals: [124,124],
1476
+ localNames: ["x","x#type","piX2","x2"],
1477
+ };
1478
+ this.__Math_cos = {
1479
+ wasm: (scope, {builtin,}) => [[32,0],[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[163],[161],[65,0],[16, builtin('__Math_sin')],[15]],
1480
+ params: [124,127],
1481
+ typedParams: true,
1482
+ returns: [124],
1483
+ returnType: 0,
1484
+ locals: [],
1485
+ localNames: ["x","x#type"],
1486
+ };
1487
+ this.__Math_tan = {
1488
+ wasm: (scope, {builtin,}) => [[32,0],[65,0],[16, builtin('__Math_sin')],[32,0],[65,0],[16, builtin('__Math_cos')],[163],[15]],
1489
+ params: [124,127],
1490
+ typedParams: true,
1491
+ returns: [124],
1492
+ returnType: 0,
1493
+ locals: [],
1494
+ localNames: ["x","x#type"],
1495
+ };
1496
+ this.__Math_sinh = {
1497
+ wasm: (scope, {builtin,}) => [[32,0],[65,0],[16, builtin('__Math_exp')],[32,0],[154],[65,0],[16, builtin('__Math_exp')],[161],[68,0,0,0,0,0,0,0,64],[163],[15]],
1498
+ params: [124,127],
1499
+ typedParams: true,
1500
+ returns: [124],
1501
+ returnType: 0,
1502
+ locals: [],
1503
+ localNames: ["x","x#type"],
1504
+ };
1505
+ this.__Math_cosh = {
1506
+ wasm: (scope, {builtin,}) => [[32,0],[65,0],[16, builtin('__Math_exp')],[32,0],[154],[65,0],[16, builtin('__Math_exp')],[160],[68,0,0,0,0,0,0,0,64],[163],[15]],
1507
+ params: [124,127],
1508
+ typedParams: true,
1509
+ returns: [124],
1510
+ returnType: 0,
1511
+ locals: [],
1512
+ localNames: ["x","x#type"],
1513
+ };
1514
+ this.__Math_tanh = {
1515
+ wasm: (scope, {builtin,}) => [[32,0],[65,0],[16, builtin('__Math_sinh')],[32,0],[65,0],[16, builtin('__Math_cosh')],[163],[15]],
1516
+ params: [124,127],
1517
+ typedParams: true,
1518
+ returns: [124],
1519
+ returnType: 0,
1520
+ locals: [],
1521
+ localNames: ["x","x#type"],
1522
+ };
1523
+ this.__Math_asinh = {
1524
+ wasm: (scope, {builtin,}) => [[32,0],[32,0],[32,0],[162],[68,0,0,0,0,0,0,240,63],[160],[65,0],[16, builtin('__Math_sqrt')],[160],[65,0],[16, builtin('__Math_log')],[15]],
1525
+ params: [124,127],
1526
+ typedParams: true,
1527
+ returns: [124],
1528
+ returnType: 0,
1529
+ locals: [],
1530
+ localNames: ["x","x#type"],
1531
+ };
1532
+ this.__Math_acosh = {
1533
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,240,63],[99],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[32,0],[32,0],[162],[68,0,0,0,0,0,0,240,63],[161],[65,0],[16, builtin('__Math_sqrt')],[160],[65,0],[16, builtin('__Math_log')],[15]],
1534
+ params: [124,127],
1535
+ typedParams: true,
1536
+ returns: [124],
1537
+ returnType: 0,
1538
+ locals: [],
1539
+ localNames: ["x","x#type"],
1540
+ };
1541
+ this.__Math_atanh = {
1542
+ wasm: (scope, {builtin,}) => [[32,0],[16, builtin('__Math_abs')],[68,0,0,0,0,0,0,240,63],[102],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,224,63],[68,0,0,0,0,0,0,240,63],[32,0],[160],[68,0,0,0,0,0,0,240,63],[32,0],[161],[163],[65,0],[16, builtin('__Math_log')],[162],[15]],
1543
+ params: [124,127],
1544
+ typedParams: true,
1545
+ returns: [124],
1546
+ returnType: 0,
1547
+ locals: [],
1548
+ localNames: ["x","x#type"],
1549
+ };
1550
+ this.__Math_asin = {
1551
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,240,191],[101],[4,64],[32,0],[68,0,0,0,0,0,0,240,191],[97],[4,64],[68,24,45,68,84,251,33,9,64],[154],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[68,0,0,0,0,0,0,240,63],[102],[4,64],[32,0],[68,0,0,0,0,0,0,240,63],[97],[4,64],[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[33,2],[32,0],[33,3],[68,0,0,0,0,0,0,240,63],[33,4],[3,64],[32,3],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[4,64],[32,3],[32,0],[32,0],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[161],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[161],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[160],[162],[163],[162],[33,3],[32,2],[32,3],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[160],[163],[160],[33,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[33,4],[12,1],[11],[11],[32,2],[15]],
1552
+ params: [124,127],
1553
+ typedParams: true,
1554
+ returns: [124],
1555
+ returnType: 0,
1556
+ locals: [124,124,124],
1557
+ localNames: ["x","x#type","sum","term","n"],
1558
+ };
1559
+ this.__Math_acos = {
1560
+ wasm: (scope, {builtin,}) => [[32,0],[65,0],[16, builtin('__Math_asin')],[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[163],[161],[15]],
1561
+ params: [124,127],
1562
+ typedParams: true,
1563
+ returns: [124],
1564
+ returnType: 0,
1565
+ locals: [],
1566
+ localNames: ["x","x#type"],
1567
+ };
1568
+ this.__Math_atan = {
1569
+ wasm: (scope, {builtin,}) => [[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[32,0],[68,0,0,0,0,0,0,240,127],[154],[97],[4,64],[68,24,45,68,84,251,33,9,64],[154],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[32,0],[33,2],[32,0],[33,3],[68,0,0,0,0,0,0,240,63],[33,4],[3,64],[32,3],[16, builtin('__Math_abs')],[68,22,86,231,158,175,3,210,60],[100],[4,64],[32,3],[32,0],[154],[32,0],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[161],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,0,64],[32,4],[162],[68,0,0,0,0,0,0,240,63],[160],[162],[163],[162],[33,3],[32,2],[32,3],[160],[33,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[33,4],[12,1],[11],[11],[32,2],[15]],
1570
+ params: [124,127],
1571
+ typedParams: true,
1572
+ returns: [124],
1573
+ returnType: 0,
1574
+ locals: [124,124,124],
1575
+ localNames: ["x","x#type","sum","term","n"],
1576
+ };
1577
+ this.__Math_atan2 = {
1578
+ wasm: (scope, {builtin,}) => [[32,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[68,0,0,0,0,0,0,0,0],[100],[4,64],[68,24,45,68,84,251,33,9,64],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,24,45,68,84,251,33,9,64],[154],[68,0,0,0,0,0,0,0,64],[163],[15],[11],[68,0,0,0,0,0,0,248,127],[15],[11],[32,0],[32,2],[163],[33,4],[65,0],[33,5],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[32,5],[16, builtin('__Math_atan')],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[102],[4,64],[32,4],[32,5],[16, builtin('__Math_atan')],[68,24,45,68,84,251,33,9,64],[160],[15],[11],[32,4],[32,5],[16, builtin('__Math_atan')],[68,24,45,68,84,251,33,9,64],[161],[15]],
1579
+ params: [124,127,124,127],
1580
+ typedParams: true,
1581
+ returns: [124],
1582
+ returnType: 0,
1583
+ locals: [124,127],
1584
+ localNames: ["y","y#type","x","x#type","ratio","ratio#type"],
1585
+ };
1309
1586
  this.__Number_prototype_toString = {
1310
1587
  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],[33,4],[5],[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],[33,4],[5],[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],[33,4],[11],[11],[32,4],[65,18],[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,18],[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,18],[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,18],[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,18],[15]],
1311
1588
  params: [124,127,124,127],
@@ -1407,7 +1684,7 @@ export const BuiltinFuncs = function() {
1407
1684
  localNames: ["_this","_this#type","#last_type"],
1408
1685
  };
1409
1686
  this.__Set_prototype_has = {
1410
- wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[68,0,0,0,0,0,0,240,63],[65,1],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,1],[15]],
1687
+ wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[68,0,0,0,0,0,0,240,63],[65,1],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,1],[15]],
1411
1688
  params: [124,127,124,127],
1412
1689
  typedParams: true,
1413
1690
  returns: [124,127],
@@ -1416,7 +1693,7 @@ export const BuiltinFuncs = function() {
1416
1693
  localNames: ["_this","_this#type","value","value#type","size","i","#last_type","__tmpop_left","__tmpop_right","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end"],
1417
1694
  };
1418
1695
  this.__Set_prototype_add = {
1419
- wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[32,0],[65,20],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[32,0],[252,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[252,2],[54,0,0],[32,0],[65,20],[32,4],[65,0],[32,2],[32,3],[16, builtin('__Porffor_set_write')],[26],[32,0],[65,20],[15]],
1696
+ wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[32,0],[65,20],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[32,0],[252,2],[32,4],[68,0,0,0,0,0,0,240,63],[160],[252,2],[54,0,0],[32,0],[65,20],[32,4],[65,0],[32,2],[32,3],[16, builtin('__Porffor_set_write')],[26],[32,0],[65,20],[15]],
1420
1697
  params: [124,127,124,127],
1421
1698
  typedParams: true,
1422
1699
  returns: [124,127],
@@ -1425,7 +1702,7 @@ export const BuiltinFuncs = function() {
1425
1702
  localNames: ["_this","_this#type","value","value#type","size","i","#last_type","__tmpop_left","__tmpop_right","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end"],
1426
1703
  };
1427
1704
  this.__Set_prototype_delete = {
1428
- wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[71],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[32,0],[252,2],[32,4],[68,0,0,0,0,0,0,240,63],[161],[252,2],[54,0,0],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[65,4],[106],[34,14],[32,14],[65,9],[106],[32,4],[32,5],[161],[252,3],[65,1],[107],[65,9],[108],[252,10,0,0],[68,0,0,0,0,0,0,240,63],[65,1],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,1],[15]],
1705
+ wasm: (scope, {builtin,}) => [[32,0],[252,2],[40,0,0],[183],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[2,64],[2,127,"string_only"],[32,0],[65,20],[32,5],[65,0],[16, builtin('__Porffor_set_read')],[33,6],[34,7,"string_only"],[32,2],[34,8,"string_only"],[32,6,"string_only|start"],[65,2],[70],[32,3],[65,2],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[65,2],[108],[33,13],[3,64],[32,12],[32,9],[106],[47,0,4],[32,12],[32,11],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,2],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11],[32,6],[65,18],[70],[32,3],[65,18],[70],[113],[4,64],[32,7],[252,3],[34,9],[32,8],[252,3],[34,11],[71],[4,127],[32,9],[40,0,0],[34,10],[32,11],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,12],[32,10],[33,13],[3,64],[32,12],[32,9],[106],[45,0,4],[32,12],[32,11],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,12],[65,1],[106],[34,12],[32,13],[72],[13,0],[11],[65,1],[5],[65,1],[11],[12,1],[11,"string_only|end"],[97],[11,"string_only"],[32,6],[32,3],[70],[113],[4,64],[32,0],[252,2],[32,4],[68,0,0,0,0,0,0,240,63],[161],[252,2],[54,0,0],[32,5],[252,3],[65,9],[108],[32,0],[252,3],[106],[65,4],[106],[34,14],[32,14],[65,9],[106],[32,4],[32,5],[161],[252,3],[65,1],[107],[65,9],[108],[252,10,0,0],[68,0,0,0,0,0,0,240,63],[65,1],[15],[11],[11],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,1],[15]],
1429
1706
  params: [124,127,124,127],
1430
1707
  typedParams: true,
1431
1708
  returns: [124,127],
@@ -1461,7 +1738,7 @@ export const BuiltinFuncs = function() {
1461
1738
  localNames: ["iterable","iterable#type","out","type","forof_base_pointer","forof_length","forof_counter","x","x#type","#last_type","#typeswitch_tmp"],
1462
1739
  };
1463
1740
  this.__String_fromCharCode = {
1464
- wasm: (scope, {allocPage,}) => [[32,0],[65,128,2],[72],[4,64],...number(allocPage(scope, 'bytestring: __String_fromCharCode/out', 'i8') * pageSize, 127),[34,2],[32,0],[58,0,4],[32,2],[65,18],[15],[11],[65,0],[34,2],[34,3],[65,1],[54,1,0],[32,3],[65,46],[59,0,4],[32,2],[32,0],[59,0,4],[32,2],[65,2],[15]],
1741
+ wasm: (scope, {allocPage,}) => [[32,0],[65,128,2],[72],[4,64],...number(allocPage(scope, 'bytestring: __String_fromCharCode/out', 'i8') * pageSize, 127),[34,2],[32,0],[58,0,4],[32,2],[65,18],[15],[11],[65,1],[34,2],[34,3],[65,1],[54,1,0],[32,3],[65,46],[59,0,4],[32,2],[32,0],[59,0,4],[32,2],[65,2],[15]],
1465
1742
  params: [127,127],
1466
1743
  typedParams: true,
1467
1744
  returns: [127,127],
package/compiler/index.js CHANGED
@@ -84,7 +84,7 @@ export default (code, flags) => {
84
84
  else compiler = [ compiler ];
85
85
 
86
86
  const tmpfile = 'porffor_tmp.c';
87
- const args = [ ...compiler, tmpfile, '-o', outFile ?? (process.platform === 'win32' ? 'out.exe' : 'out'), '-' + cO, '-march=native', '-s', '-ffast-math', '-fno-exceptions' ];
87
+ const args = [ ...compiler, tmpfile, '-o', outFile ?? (process.platform === 'win32' ? 'out.exe' : 'out'), '-flto=thin', '-' + cO, '-march=native', '-s', '-ffast-math', '-fno-exceptions' ];
88
88
 
89
89
  const c = toc(out);
90
90
  fs.writeFileSync(tmpfile, c);
package/compiler/parse.js CHANGED
@@ -7,7 +7,7 @@ if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
7
7
  globalThis.process = { argv: ['', '', ...Deno.args], stdout: { write: str => Deno.writeAllSync(Deno.stdout, textEncoder.encode(str)) } };
8
8
  }
9
9
 
10
- const file = process.argv.slice(2).find(x => x[0] !== '-');
10
+ const file = process.argv.slice(2).find(x => x[0] !== '-' && !['run', 'wasm', 'native', 'c', 'profile', 'debug', 'debug-wasm'].includes(x));
11
11
 
12
12
  // should we try to support types (while parsing)
13
13
  const types = Prefs.parseTypes || file?.endsWith('.ts');
@@ -18,9 +18,9 @@ const compile = async (file, [ _funcs, _globals ]) => {
18
18
  first = source.slice(0, source.indexOf('\n'));
19
19
  }
20
20
 
21
- let args = ['--bytestring', '--todo-time=compile', '--no-treeshake-wasm-imports', '--no-rm-unused-types', '--scoped-page-names', '--funsafe-no-unlikely-proto-checks', '--fast-length', '--parse-types', '--opt-types'];
21
+ let args = ['--bytestring', '--todo-time=compile', '--truthy=no_nan_negative', '--no-treeshake-wasm-imports', '--no-rm-unused-types', '--scoped-page-names', '--funsafe-no-unlikely-proto-checks', '--fast-length', '--parse-types', '--opt-types'];
22
22
  if (first.startsWith('// @porf')) {
23
- args = args.concat(first.slice('// @porf '.length).split(' '));
23
+ args = first.slice('// @porf '.length).split(' ').concat(args);
24
24
  }
25
25
  process.argv = argv.concat(args);
26
26
 
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.14.0-c6edfd328",
4
+ "version": "0.14.0-d6c141d91",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {
package/runner/index.js CHANGED
@@ -60,8 +60,10 @@ if (process.argv.includes('--help')) {
60
60
 
61
61
  let file = process.argv.slice(2).find(x => x[0] !== '-');
62
62
  if (['run', 'wasm', 'native', 'c', 'profile', 'debug', 'debug-wasm'].includes(file)) {
63
+ // remove this arg
64
+ process.argv.splice(process.argv.indexOf(file), 1);
65
+
63
66
  if (file === 'profile') {
64
- process.argv.splice(process.argv.indexOf(file), 1);
65
67
  await import('./profiler.js');
66
68
  await new Promise(() => {}); // do nothing for the rest of this file
67
69
  }
@@ -75,12 +77,11 @@ if (['run', 'wasm', 'native', 'c', 'profile', 'debug', 'debug-wasm'].includes(fi
75
77
  }
76
78
 
77
79
  if (file === 'debug') {
78
- process.argv.splice(process.argv.indexOf(file), 1);
79
80
  await import('./debug.js');
80
81
  await new Promise(() => {}); // do nothing for the rest of this file
81
82
  }
82
83
 
83
- file = process.argv.slice(process.argv.indexOf(file) + 1).find(x => x[0] !== '-');
84
+ file = process.argv.slice(2).find(x => x[0] !== '-');
84
85
 
85
86
  const nonOptOutFile = process.argv.slice(process.argv.indexOf(file) + 1).find(x => x[0] !== '-');
86
87
  if (nonOptOutFile) {
package/w.js ADDED
@@ -0,0 +1 @@
1
+ console.log(process.argv[2]);