porffor 0.17.0-b103c8894 → 0.17.0-b598eb7bb
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 +28 -11
- package/compiler/builtins/array.ts +1 -1
- package/compiler/builtins.js +11 -0
- package/compiler/codegen.js +161 -25
- package/compiler/generated_builtins.js +30 -30
- package/compiler/pgo.js +9 -1
- package/compiler/wrap.js +6 -4
- package/package.json +1 -1
- package/rhemyn/README.md +7 -4
- package/rhemyn/compile.js +139 -73
- package/runner/debug.js +1 -1
- package/runner/index.js +3 -3
- package/runner/profile.js +1 -1
- package/runner/repl.js +5 -5
@@ -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],[
|
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],[
|
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
|
419
|
-
localNames: ["_this","_this#type","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi"
|
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],[
|
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
|
428
|
-
localNames: ["_this","_this#type","_separator","_separator#type","separator","out","__length_setter_tmp","len","i","element","element#type","#loadArray_offset","#last_type","type","logictmpi"
|
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],[
|
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,
|
1437
|
-
localNames: ["input","input#type","radix","radix#type","logictmpi","#last_type","
|
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],[
|
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,
|
1653
|
-
localNames: ["_this","_this#type","radix","radix#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","
|
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],[
|
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,
|
1662
|
-
localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","
|
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],[
|
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,
|
1671
|
-
localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","
|
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],[
|
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
|
-
|
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
|
-
|
252
|
-
|
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