porffor 0.40.2 → 0.40.4
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/builtins/__internal_object.ts +2 -2
- package/compiler/builtins/array.ts +32 -0
- package/compiler/builtins/object.ts +0 -2
- package/compiler/builtins/promise.ts +1 -1
- package/compiler/builtins/symbol.ts +1 -1
- package/compiler/builtins_precompiled.js +27 -20
- package/compiler/codegen.js +34 -68
- package/package.json +1 -1
- package/runner/index.js +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
const underlyingKeys: any[] =
|
2
|
-
const underlyingVals: any[] =
|
1
|
+
const underlyingKeys: any[] = [];
|
2
|
+
const underlyingVals: any[] = [];
|
3
3
|
export const __Porffor_object_underlying = (obj: any): any => {
|
4
4
|
const t: i32 = Porffor.rawType(obj);
|
5
5
|
if (t == Porffor.TYPES.object) return obj;
|
@@ -1,5 +1,37 @@
|
|
1
1
|
import type {} from './porffor.d.ts';
|
2
2
|
|
3
|
+
export const Array = function (...args: any[]): any[] {
|
4
|
+
const argsLen: number = args.length;
|
5
|
+
if (argsLen == 0) {
|
6
|
+
// 0 args, new 0 length array
|
7
|
+
const out: any[] = Porffor.allocate();
|
8
|
+
return out;
|
9
|
+
}
|
10
|
+
|
11
|
+
if (argsLen == 1) {
|
12
|
+
// 1 arg, length (number) or first element (non-number)
|
13
|
+
const arg: any = args[0];
|
14
|
+
if (Porffor.rawType(arg) == Porffor.TYPES.number) {
|
15
|
+
// number so use as length
|
16
|
+
const n: number = args[0];
|
17
|
+
if (Porffor.fastOr(
|
18
|
+
n < 0, // negative
|
19
|
+
n > 4294967295, // over 2**32 - 1
|
20
|
+
!Number.isInteger(n) // non-integer/non-finite
|
21
|
+
)) throw new RangeError('Invalid array length');
|
22
|
+
|
23
|
+
const out: any[] = Porffor.allocate();
|
24
|
+
out.length = arg;
|
25
|
+
return out;
|
26
|
+
}
|
27
|
+
|
28
|
+
// not number, leave to fallthrough as same as >1
|
29
|
+
}
|
30
|
+
|
31
|
+
// >1 arg, just return args array
|
32
|
+
return args;
|
33
|
+
};
|
34
|
+
|
3
35
|
export const __Array_isArray = (x: unknown): boolean =>
|
4
36
|
Porffor.rawType(x) == Porffor.TYPES.array;
|
5
37
|
|
@@ -8,7 +8,7 @@ export const __ecma262_NewPromiseReactionJob = (reaction: any[], argument: any):
|
|
8
8
|
return job;
|
9
9
|
};
|
10
10
|
|
11
|
-
const jobQueue: any[] =
|
11
|
+
const jobQueue: any[] = [];
|
12
12
|
export const __ecma262_HostEnqueuePromiseJob = (job: any[]): void => {
|
13
13
|
Porffor.array.fastPush(jobQueue, job);
|
14
14
|
};
|
@@ -7,7 +7,7 @@ wasm:(_,{allocPage,glbl,builtin})=>[[32,1],[184],[34,2],[68,7],[97],[4,64],[32,0
|
|
7
7
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
8
8
|
locals:[124,124,124,124,127,127,124,124,124,127,124,124,124,124,124,124,124,124,127,124,127,127],localNames:["obj","obj#type","t","remap","idx","#proto_target","#proto_target#type","#last_type","underlying","flags","proto","proto#type","key1","key2","arr","len","key3","i","#member_obj","#member_prop","#loadArray_offset","str","#makearray_pointer_tmp","#member_allocd"],
|
9
9
|
usedTypes:[7,80,195,67],
|
10
|
-
globalInits:{underlyingKeys:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: __internal_object.ts/underlyingKeys','f64'),124),...glbl(36,'underlyingKeys',124),...glbl(35,'underlyingKeys',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
10
|
+
globalInits:{underlyingKeys:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: __internal_object.ts/underlyingKeys','f64'),124),...glbl(36,'underlyingKeys',124),...glbl(35,'underlyingKeys',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]],underlyingVals:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: __internal_object.ts/underlyingVals','f64'),124),...glbl(36,'underlyingVals',124),...glbl(35,'underlyingVals',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},data:{"bytestring: __Porffor_object_underlying/key1":[9,0,0,0,112,114,111,116,111,116,121,112,101],"bytestring: __Porffor_object_underlying/key2":[11,0,0,0,99,111,110,115,116,114,117,99,116,111,114],"bytestring: __Porffor_object_underlying/key3":[6,0,0,0,108,101,110,103,116,104]},
|
11
11
|
};
|
12
12
|
this.__Porffor_strcmp = {
|
13
13
|
wasm:()=>[[32,0],[32,2],[70],[4,64],[65,1],[65,2],[15],[11],[32,0],[40,0,0],[33,4],[32,2],[40,0,0],[33,5],[32,4],[32,5],[71],[4,64],[65,0],[65,2],[15],[11],[32,1],[65,195,1],[70],[4,64],[32,3],[65,195,1],[70],[4,64],[32,0],[65,28],[107],[33,6],[32,2],[65,28],[107],[33,7],[32,0],[65,4],[107],[33,8],[32,2],[65,4],[107],[33,9],[32,4],[65,32],[78],[4,64],[3,64],[32,6],[32,4],[106],[253,0,0,0],[32,7],[32,4],[106],[253,0,0,0],[253,81],[32,6],[32,4],[106],[253,0,0,16],[32,7],[32,4],[106],[253,0,0,16],[253,81],[253,80],[253,83],[4,64],[65,0],[65,2],[15],[11],[32,4],[65,32],[107],[34,4],[65,32],[78],[13,0],[11],[11],[32,4],[65,8],[78],[4,64],[3,64],[32,8],[32,4],[106],[41,0,0],[32,9],[32,4],[106],[41,0,0],[82],[4,64],[65,0],[65,2],[15],[11],[32,4],[65,8],[107],[34,4],[65,8],[78],[13,0],[11],[11],[32,4],[65,2],[78],[4,64],[3,64],[32,0],[32,4],[106],[47,0,2],[32,2],[32,4],[106],[47,0,2],[71],[4,64],[65,0],[65,2],[15],[11],[32,4],[65,2],[107],[34,4],[65,2],[78],[13,0],[11],[11],[32,4],[65,1],[70],[4,64],[32,0],[45,0,4],[32,2],[45,0,4],[71],[4,64],[65,0],[65,2],[15],[11],[11],[65,1],[65,2],[15],[5],[65,0],[33,10],[3,64],[32,10],[32,4],[72],[4,64],[32,0],[32,10],[106],[45,0,4],[32,2],[32,10],[65,2],[108],[106],[47,0,4],[71],[4,64],[65,0],[65,2],[15],[11],[32,10],[65,1],[106],[33,10],[12,1],[11],[11],[65,1],[65,2],[15],[11],[5],[32,3],[65,195,1],[70],[4,64],[65,0],[33,10],[3,64],[32,10],[32,4],[72],[4,64],[32,0],[32,10],[65,2],[108],[106],[47,0,4],[32,2],[32,10],[106],[45,0,4],[71],[4,64],[65,0],[65,2],[15],[11],[32,10],[65,1],[106],[33,10],[12,1],[11],[11],[65,1],[65,2],[15],[5],[32,0],[65,4],[107],[33,11],[32,2],[65,4],[107],[33,12],[3,64],[32,11],[32,4],[65,2],[108],[106],[41,0,0],[32,12],[32,4],[65,2],[108],[106],[41,0,0],[82],[4,64],[65,0],[65,2],[15],[11],[32,4],[65,4],[107],[34,4],[65,4],[78],[13,0],[11],[65,0],[33,10],[3,64],[32,10],[32,4],[72],[4,64],[32,0],[32,10],[65,2],[108],[106],[47,0,4],[32,2],[32,10],[65,2],[108],[106],[47,0,4],[71],[4,64],[65,0],[65,2],[15],[11],[32,10],[65,1],[106],[33,10],[12,1],[11],[11],[65,1],[65,2],[15],[11],[11],[65,0],[65,128,1],[15]],
|
@@ -328,6 +328,13 @@ wasm:(_,{builtin})=>[[32,0],[32,1],[32,2],[32,3],[16,builtin('__String_prototype
|
|
328
328
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
329
329
|
locals:[127],localNames:["_this","_this#type","arg","arg#type","#last_type"],
|
330
330
|
};
|
331
|
+
this.Array = {
|
332
|
+
wasm:(_,{builtin,internalThrow})=>[[32,4],[252,3],[40,1,0],[184],[34,6],[68,0],[97],[4,64],[16,builtin('__Porffor_allocate')],[183],[34,7],[65,208,0],[15],[11],[32,6],[68,1],[97],[4,64],[32,4],[33,10],[68,0],[34,11],[252,3],[65,9],[108],[32,10],[252,3],[106],[34,13],[43,0,4],[32,13],[45,0,12],[34,12],[33,9],[33,8],[32,9],[184],[68,1],[97],[4,64],[32,4],[33,10],[68,0],[34,11],[252,3],[65,9],[108],[32,10],[252,3],[106],[34,13],[43,0,4],[32,13],[45,0,12],[33,12],[34,14],[68,0],[99],[32,14],[68,4294967295],[100],[114],[32,14],[16,builtin('__Number_isInteger')],[68,0],[97],[114],[4,64],...internalThrow(_,'RangeError',`Invalid array length`),[11],[16,builtin('__Porffor_allocate')],[183],[34,7],[252,3],[34,16],[32,8],[34,15],[252,3],[54,1,0],[32,7],[65,208,0],[15],[11],[11],[32,4],[65,208,0],[15]],
|
333
|
+
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
334
|
+
locals:[124,124,124,127,124,124,127,127,124,124,127],localNames:["#newtarget","#newtarget#type","#this","#this#type","args","args#type","argsLen","out","arg","arg#type","#member_obj","#member_prop","#last_type","#loadArray_offset","n","__length_setter_tmp","__member_setter_ptr_tmp"],
|
335
|
+
usedTypes:[80],
|
336
|
+
constr:1,hasRestArgument:1,
|
337
|
+
};
|
331
338
|
this.__Array_isArray = {
|
332
339
|
wasm:()=>[[32,1],[184],[68,80],[97],[184],[65,2],[15]],
|
333
340
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
@@ -2022,7 +2029,7 @@ wasm:(_,{glbl,builtin})=>[...glbl(35,'jobQueue',124),[65,208,0],[32,0],[65,208,0
|
|
2022
2029
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2023
2030
|
locals:[127],localNames:["job","job#type","#last_type"],
|
2024
2031
|
usedTypes:[80],
|
2025
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2032
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2026
2033
|
};
|
2027
2034
|
this.__ecma262_TriggerPromiseReactions = {
|
2028
2035
|
wasm:(_,{t,builtin,internalThrow})=>[[32,0],[252,3],[33,4],[65,208,0],[33,7],[65,0],[33,6],[32,7],[65,208,0],[70],[32,7],[65,19],[70],[114],[32,7],[65,195,0],[70],[114],[32,7],[65,195,1],[70],[114],[32,7],[65,216,0],[78],[32,7],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,4],[40,1,0],[34,5],[4,64],[32,7],[33,13],[2,64],...t([19],()=>[[32,13],[65,19],[70],[4,64],[3,64],[32,4],[43,0,4],[33,8],[32,4],[45,0,12],[33,9],[32,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,4],[65,9],[106],[33,4],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,13],[65,195,0],[70],[4,64],[65,195,0],[33,9],[16,builtin('__Porffor_allocate')],[34,14],[65,1],[54,0,0],[3,64],[32,14],[32,4],[47,0,4],[59,0,4],[32,14],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,4],[65,2],[106],[33,4],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,13],[65,208,0],[70],[4,64],[3,64],[32,4],[43,0,4],[33,8],[32,4],[45,0,12],[33,9],[32,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,4],[65,9],[106],[33,4],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,13],[65,216,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[106],[45,0,4],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,13],[65,217,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[106],[44,0,4],[183],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,13],[65,218,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[106],[45,0,4],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,13],[65,219,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,2],[108],[106],[47,0,4],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,13],[65,220,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,2],[108],[106],[46,0,4],[183],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,13],[65,221,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,4],[108],[106],[40,0,4],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,13],[65,222,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,4],[108],[106],[40,0,4],[183],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,13],[65,223,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,4],[108],[106],[42,0,4],[187],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,13],[65,224,0],[70],[4,64],[65,1],[33,9],[3,64],[32,4],[40,0,4],[32,6],[65,8],[108],[106],[43,0,4],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,13],[65,195,1],[70],[4,64],[65,195,1],[33,9],[16,builtin('__Porffor_allocate')],[34,14],[65,1],[54,0,0],[3,64],[32,14],[32,4],[32,6],[106],[45,0,4],[58,0,4],[32,14],[184],[34,8],[33,10],[32,9],[33,11],[2,64],[32,10],[32,11],[32,2],[32,3],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,12],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,12],[26],[32,6],[65,1],[106],[34,6],[32,5],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],[68,0],[65,128,1],[15]],
|
@@ -2084,27 +2091,27 @@ wasm:(_,{t,glbl,builtin,internalThrow})=>[[3,64],[65,1],[4,64],...glbl(35,'jobQu
|
|
2084
2091
|
params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
2085
2092
|
locals:[124,127,127,127,127,124,127,124,124,124,127,127,127,124,124,127,124,124,127,124,127,127,124,127,124,127,124,127,124,127,124,127,127,124],localNames:["x","x#type","__proto_length_cache","__proto_pointer_cache","#last_type","#logicinner_tmp","#typeswitch_tmp1","reaction","#member_obj","#member_prop","#member_allocd","#loadArray_offset","#swap","handler","outPromise","outPromise#type","type","value","value#type","outValue","outValue#type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee"],
|
2086
2093
|
usedTypes:[80,67,195],
|
2087
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2094
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2088
2095
|
table:1,
|
2089
2096
|
};
|
2090
2097
|
this.__Porffor_promise_resolveActive = {
|
2091
2098
|
wasm:(_,{glbl,builtin})=>[[32,0],[32,1],...glbl(35,'activePromise',124),...glbl(35,'activePromise#type',127),[16,builtin('__Porffor_promise_resolve')],[34,2],[15]],
|
2092
2099
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2093
2100
|
locals:[127],localNames:["value","value#type","#last_type"],
|
2094
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2101
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2095
2102
|
};
|
2096
2103
|
this.__Porffor_promise_rejectActive = {
|
2097
2104
|
wasm:(_,{glbl,builtin})=>[[32,0],[32,1],...glbl(35,'activePromise',124),...glbl(35,'activePromise#type',127),[16,builtin('__Porffor_promise_reject')],[34,2],[15]],
|
2098
2105
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2099
2106
|
locals:[127],localNames:["reason","reason#type","#last_type"],
|
2100
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2107
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2101
2108
|
};
|
2102
2109
|
this.Promise = {
|
2103
2110
|
wasm:(_,{t,glbl,builtin,funcRef,internalThrow})=>[[32,0],[33,6],[32,1],[33,7],[2,124],...t([67,195],()=>[[32,7],[65,195,0],[70],[32,7],[65,195,1],[70],[114],[4,64],[32,6],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,6],[68,0],[97],[184],[11],[252,3],[4,64],...internalThrow(_,'TypeError',`Constructor Promise requires 'new'`),[11],[32,5],[184],[68,6],[98],[4,64],...internalThrow(_,'TypeError',`Promise executor is not a function`),[11],[16,builtin('__Porffor_promise_create')],[33,9],[34,8],...glbl(36,'activePromise',124),...glbl(35,'activePromise',124),[65,208,0],...glbl(36,'activePromise#type',127),[26],[6,64],[32,4],[33,22],[32,5],[33,7],[2,124],...t([6],()=>[[32,7],[65,6],[70],[4,64],...funcRef('__Porffor_promise_resolveActive'),[65,6],[33,10],[33,11],...funcRef('__Porffor_promise_rejectActive'),[65,6],[33,12],[33,13],[68,0],[65,128,1],[33,14],[33,15],[68,0],[65,128,1],[33,16],[33,17],[68,0],[65,128,1],[33,18],[33,19],[32,22],[252,3],[34,20],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,21],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,20],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[17,2,0,"no_type_return"],[5],[32,20],[17,0,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[17,2,0],[33,9],[5],[32,20],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,20],[17,3,0,"no_type_return"],[5],[32,11],[32,10],[32,20],[17,1,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,20],[17,3,0],[33,9],[5],[32,11],[32,10],[32,20],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,20],[17,4,0,"no_type_return"],[5],[32,11],[32,10],[32,13],[32,12],[32,20],[17,2,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,20],[17,4,0],[33,9],[5],[32,11],[32,10],[32,13],[32,12],[32,20],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,20],[17,5,0,"no_type_return"],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,20],[17,3,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,20],[17,5,0],[33,9],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,20],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,20],[17,6,0,"no_type_return"],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,20],[17,4,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,20],[17,6,0],[33,9],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,20],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,21],[65,1],[113],[4,124],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,7,0,"no_type_return"],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,5,0,"no_type_return"],[11],[5],[32,21],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,7,0],[33,9],[5],[32,11],[32,10],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,20],[17,5,0],[33,9],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`executor is not a function`),[68,0],[11],[26],[7,0],[33,24],[34,23],[33,25],[32,24],[33,26],[32,8],[65,208,0],[32,25],[32,26],[16,builtin('__ecma262_RejectPromise')],[33,9],[26],[11],[32,8],[34,27],[65,36],[15]],
|
2104
2111
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2105
2112
|
locals:[124,127,124,127,127,124,127,124,127,124,127,124,127,124,127,127,124,124,127,124,127,124],localNames:["#newtarget","#newtarget#type","#this","#this#type","executor","executor#type","#logicinner_tmp","#typeswitch_tmp1","obj","#last_type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee","#catch_tmp1","#catch_tmp1#type","e","e#type","pro"],
|
2106
2113
|
usedTypes:[80,36],
|
2107
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2114
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2108
2115
|
table:1,constr:1,
|
2109
2116
|
};
|
2110
2117
|
this.__Promise_resolve = {
|
@@ -2140,49 +2147,49 @@ this.__Promise_all = {
|
|
2140
2147
|
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),...glbl(35,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[26],[68,21],[65,6],[68,0],[65,7],...funcRef('#anonymous_3'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2141
2148
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2142
2149
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2143
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2150
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2144
2151
|
};
|
2145
2152
|
this['#anonymous_3'] = {
|
2146
2153
|
wasm:(_,{t,glbl,builtin,funcRef,internalThrow})=>[[32,0],...glbl(36,'_allRes',124),...glbl(35,'_allRes',124),[32,1],...glbl(36,'_allRes#type',127),[26],[32,2],...glbl(36,'_allRej',124),...glbl(35,'_allRej',124),[32,3],...glbl(36,'_allRej#type',127),[26],[16,builtin('__Porffor_allocate')],[183],[34,4],...glbl(36,'_allOut',124),...glbl(35,'_allOut',124),[65,208,0],...glbl(36,'_allOut#type',127),[26],[68,0],...glbl(36,'_allLen',124),...glbl(35,'_allLen',124),[65,1],...glbl(36,'_allLen#type',127),[26],...glbl(35,'_allPromises',124),[252,3],[33,5],...glbl(35,'_allPromises#type',127),[33,8],[65,0],[33,7],[32,8],[65,208,0],[70],[32,8],[65,19],[70],[114],[32,8],[65,195,0],[70],[114],[32,8],[65,195,1],[70],[114],[32,8],[65,216,0],[78],[32,8],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,5],[40,1,0],[34,6],[4,64],[32,8],[33,15],[2,64],...t([19],()=>[[32,15],[65,19],[70],[4,64],[3,64],[32,5],[43,0,4],[33,9],[32,5],[45,0,12],[33,10],[32,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,15],[65,195,0],[70],[4,64],[65,195,0],[33,10],[16,builtin('__Porffor_allocate')],[34,18],[65,1],[54,0,0],[3,64],[32,18],[32,5],[47,0,4],[59,0,4],[32,18],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,2],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,15],[65,208,0],[70],[4,64],[3,64],[32,5],[43,0,4],[33,9],[32,5],[45,0,12],[33,10],[32,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,15],[65,216,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[45,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,15],[65,217,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[44,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,15],[65,218,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[45,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,15],[65,219,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,2],[108],[106],[47,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,15],[65,220,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,2],[108],[106],[46,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,15],[65,221,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[40,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,15],[65,222,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[40,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,15],[65,223,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[42,0,4],[187],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,15],[65,224,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,8],[108],[106],[43,0,4],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,15],[65,195,1],[70],[4,64],[65,195,1],[33,10],[16,builtin('__Porffor_allocate')],[34,18],[65,1],[54,0,0],[3,64],[32,18],[32,5],[32,7],[106],[45,0,4],[58,0,4],[32,18],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_4'),[65,6],...funcRef('#anonymous_5'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,11],[32,12],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],...glbl(35,'_allLen',124),[68,0],[97],[4,64],...glbl(35,'_allRes',124),[33,31],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[33,19],[33,20],[68,0],[65,128,1],[33,21],[33,22],[68,0],[65,128,1],[33,23],[33,24],[68,0],[65,128,1],[33,25],[33,26],[68,0],[65,128,1],[33,27],[33,28],[32,31],[252,3],[34,29],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,30],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,29],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,29],[17,2,0,"no_type_return"],[5],[32,29],[17,0,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,29],[17,2,0],[33,13],[5],[32,29],[17,0,0],[33,13],[11],[11],[12,5],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,29],[17,3,0,"no_type_return"],[5],[32,20],[32,19],[32,29],[17,1,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,29],[17,3,0],[33,13],[5],[32,20],[32,19],[32,29],[17,1,0],[33,13],[11],[11],[12,4],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,29],[17,4,0,"no_type_return"],[5],[32,20],[32,19],[32,22],[32,21],[32,29],[17,2,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,29],[17,4,0],[33,13],[5],[32,20],[32,19],[32,22],[32,21],[32,29],[17,2,0],[33,13],[11],[11],[12,3],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,29],[17,5,0,"no_type_return"],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,29],[17,3,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,29],[17,5,0],[33,13],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,29],[17,3,0],[33,13],[11],[11],[12,2],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,29],[17,6,0,"no_type_return"],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,29],[17,4,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,29],[17,6,0],[33,13],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,29],[17,4,0],[33,13],[11],[11],[12,1],[11],[32,30],[65,1],[113],[4,124],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,28],[32,27],[32,29],[17,7,0,"no_type_return"],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,28],[32,27],[32,29],[17,5,0,"no_type_return"],[11],[5],[32,30],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,28],[32,27],[32,29],[17,7,0],[33,13],[5],[32,20],[32,19],[32,22],[32,21],[32,24],[32,23],[32,26],[32,25],[32,28],[32,27],[32,29],[17,5,0],[33,13],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),[252,3],[40,1,0],[184],...glbl(35,'_allLen',124),[97],[4,64],...funcRef('#anonymous_6'),[65,6],[16,builtin('__Porffor_promise_runNext')],[33,13],[26],[11],[11],[68,0],[65,128,1],[15]],
|
2147
2154
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2148
2155
|
locals:[124,127,127,127,127,124,127,124,127,127,124,127,124,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124],localNames:["res","res#type","rej","rej#type","arr","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","#forof_tmp0","#forof_tmp0#type","x","x#type","#last_type","#logicinner_tmp","#typeswitch_tmp1","#proto_target","#proto_target#type","#forof_allocd","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee"],
|
2149
2156
|
usedTypes:[80,67,195],
|
2150
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2157
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2151
2158
|
table:1,
|
2152
2159
|
};
|
2153
2160
|
this['#anonymous_4'] = {
|
2154
2161
|
wasm:(_,{t,glbl,builtin,internalThrow})=>[[2,127],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,0],[32,1],[16,builtin('__Porffor_array_fastPush')],[33,2],[34,3],...glbl(35,'_allLen',124),[34,4],[32,2],[65,128,1],[114],[65,195,1],[70],...glbl(35,'_allLen#type',127),[65,128,1],[114],[65,195,1],[70],[114],[4,64],[32,3],[32,2],[32,4],...glbl(35,'_allLen#type',127),[16,builtin('__Porffor_compareStrings')],[26],[252,3],[12,1],[11],[97],[11],[4,64],...glbl(35,'_allRes',124),[33,17],...glbl(35,'_allRes#type',127),[33,18],[2,124],...t([6],()=>[[32,18],[65,6],[70],[4,64],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[33,5],[33,6],[68,0],[65,128,1],[33,7],[33,8],[68,0],[65,128,1],[33,9],[33,10],[68,0],[65,128,1],[33,11],[33,12],[68,0],[65,128,1],[33,13],[33,14],[32,17],[252,3],[34,15],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,16],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,15],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[17,2,0,"no_type_return"],[5],[32,15],[17,0,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[17,2,0],[33,2],[5],[32,15],[17,0,0],[33,2],[11],[11],[12,5],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,15],[17,3,0,"no_type_return"],[5],[32,6],[32,5],[32,15],[17,1,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,15],[17,3,0],[33,2],[5],[32,6],[32,5],[32,15],[17,1,0],[33,2],[11],[11],[12,4],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,15],[17,4,0,"no_type_return"],[5],[32,6],[32,5],[32,8],[32,7],[32,15],[17,2,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,15],[17,4,0],[33,2],[5],[32,6],[32,5],[32,8],[32,7],[32,15],[17,2,0],[33,2],[11],[11],[12,3],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,15],[17,5,0,"no_type_return"],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,15],[17,3,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,15],[17,5,0],[33,2],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,15],[17,3,0],[33,2],[11],[11],[12,2],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,15],[17,6,0,"no_type_return"],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,15],[17,4,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,15],[17,6,0],[33,2],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,15],[17,4,0],[33,2],[11],[11],[12,1],[11],[32,16],[65,1],[113],[4,124],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,14],[32,13],[32,15],[17,7,0,"no_type_return"],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,14],[32,13],[32,15],[17,5,0,"no_type_return"],[11],[5],[32,16],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,14],[32,13],[32,15],[17,7,0],[33,2],[5],[32,6],[32,5],[32,8],[32,7],[32,10],[32,9],[32,12],[32,11],[32,14],[32,13],[32,15],[17,5,0],[33,2],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[11],[68,0],[65,128,1],[15]],
|
2155
2162
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2156
2163
|
locals:[127,124,124,127,124,127,124,127,124,127,124,127,124,127,127,124,127],localNames:["r","r#type","#last_type","__tmpop_left","__tmpop_right","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee","#typeswitch_tmp2"],
|
2157
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2164
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2158
2165
|
table:1,
|
2159
2166
|
};
|
2160
2167
|
this['#anonymous_5'] = {
|
2161
2168
|
wasm:(_,{t,glbl,internalThrow})=>[...glbl(35,'_allRej',124),[33,15],...glbl(35,'_allRej#type',127),[33,16],[2,124],...t([6],()=>[[32,16],[65,6],[70],[4,64],[32,0],[32,1],[33,2],[33,3],[68,0],[65,128,1],[33,4],[33,5],[68,0],[65,128,1],[33,6],[33,7],[68,0],[65,128,1],[33,8],[33,9],[68,0],[65,128,1],[33,10],[33,11],[32,15],[252,3],[34,12],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,13],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,12],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,12],[17,2,0,"no_type_return"],[5],[32,12],[17,0,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,12],[17,2,0],[26],[5],[32,12],[17,0,0],[26],[11],[11],[12,5],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,12],[17,3,0,"no_type_return"],[5],[32,3],[32,2],[32,12],[17,1,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,12],[17,3,0],[26],[5],[32,3],[32,2],[32,12],[17,1,0],[26],[11],[11],[12,4],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,12],[17,4,0,"no_type_return"],[5],[32,3],[32,2],[32,5],[32,4],[32,12],[17,2,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,12],[17,4,0],[26],[5],[32,3],[32,2],[32,5],[32,4],[32,12],[17,2,0],[26],[11],[11],[12,3],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,12],[17,5,0,"no_type_return"],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,12],[17,3,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,12],[17,5,0],[26],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,12],[17,3,0],[26],[11],[11],[12,2],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,12],[17,6,0,"no_type_return"],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,12],[17,4,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,12],[17,6,0],[26],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,12],[17,4,0],[26],[11],[11],[12,1],[11],[32,13],[65,1],[113],[4,124],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,11],[32,10],[32,12],[17,7,0,"no_type_return"],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,11],[32,10],[32,12],[17,5,0,"no_type_return"],[11],[5],[32,13],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,11],[32,10],[32,12],[17,7,0],[26],[5],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,11],[32,10],[32,12],[17,5,0],[26],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRej is not a function`),[68,0],[11],[26],[68,0],[65,128,1],[15]],
|
2162
2169
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2163
2170
|
locals:[127,124,127,124,127,124,127,124,127,124,127,127,127,124,127],localNames:["r","r#type","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#last_type","#indirect_callee","#typeswitch_tmp2"],
|
2164
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2171
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2165
2172
|
table:1,
|
2166
2173
|
};
|
2167
2174
|
this['#anonymous_6'] = {
|
2168
2175
|
wasm:(_,{t,glbl,internalThrow})=>[...glbl(35,'_allRes',124),[33,13],...glbl(35,'_allRes#type',127),[33,14],[2,124],...t([6],()=>[[32,14],[65,6],[70],[4,64],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[33,0],[33,1],[68,0],[65,128,1],[33,2],[33,3],[68,0],[65,128,1],[33,4],[33,5],[68,0],[65,128,1],[33,6],[33,7],[68,0],[65,128,1],[33,8],[33,9],[32,13],[252,3],[34,10],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,10],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,10],[17,2,0,"no_type_return"],[5],[32,10],[17,0,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,10],[17,2,0],[26],[5],[32,10],[17,0,0],[26],[11],[11],[12,5],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,10],[17,3,0,"no_type_return"],[5],[32,1],[32,0],[32,10],[17,1,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,10],[17,3,0],[26],[5],[32,1],[32,0],[32,10],[17,1,0],[26],[11],[11],[12,4],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,10],[17,4,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,10],[17,2,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,10],[17,4,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,10],[17,2,0],[26],[11],[11],[12,3],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,5,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,3,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,5,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,3,0],[26],[11],[11],[12,2],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,6,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,4,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,6,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,4,0],[26],[11],[11],[12,1],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,7,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,5,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,7,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,5,0],[26],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[68,0],[65,128,1],[15]],
|
2169
2176
|
params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
2170
2177
|
locals:[127,124,127,124,127,124,127,124,127,124,127,127,127,124,127],localNames:["#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#last_type","#indirect_callee","#typeswitch_tmp1"],
|
2171
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2178
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2172
2179
|
table:1,
|
2173
2180
|
};
|
2174
2181
|
this.__Promise_allSettled = {
|
2175
2182
|
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),...glbl(35,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[26],[68,21],[65,6],[68,0],[65,7],...funcRef('#anonymous_7'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2176
2183
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2177
2184
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2178
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2185
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2179
2186
|
};
|
2180
2187
|
this['#anonymous_7'] = {
|
2181
2188
|
wasm:(_,{t,allocPage,glbl,builtin,funcRef,internalThrow})=>[[32,0],...glbl(36,'_allRes',124),...glbl(35,'_allRes',124),[32,1],...glbl(36,'_allRes#type',127),[26],[32,2],...glbl(36,'_allRej',124),...glbl(35,'_allRej',124),[32,3],...glbl(36,'_allRej#type',127),[26],[16,builtin('__Porffor_allocate')],[183],[34,4],...glbl(36,'_allOut',124),...glbl(35,'_allOut',124),[65,208,0],...glbl(36,'_allOut#type',127),[26],[68,0],...glbl(36,'_allLen',124),...glbl(35,'_allLen',124),[65,1],...glbl(36,'_allLen#type',127),[26],...glbl(35,'_allPromises',124),[252,3],[33,5],...glbl(35,'_allPromises#type',127),[33,8],[65,0],[33,7],[32,8],[65,208,0],[70],[32,8],[65,19],[70],[114],[32,8],[65,195,0],[70],[114],[32,8],[65,195,1],[70],[114],[32,8],[65,216,0],[78],[32,8],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,5],[40,1,0],[34,6],[4,64],[32,8],[33,15],[2,64],...t([19],()=>[[32,15],[65,19],[70],[4,64],[3,64],[32,5],[43,0,4],[33,9],[32,5],[45,0,12],[33,10],[32,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],...number(allocPage(_,'bytestring: #anonymous_7/status','i8'),124),[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,15],[65,195,0],[70],[4,64],[65,195,0],[33,10],[16,builtin('__Porffor_allocate')],[34,26],[65,1],[54,0,0],[3,64],[32,26],[32,5],[47,0,4],[59,0,4],[32,26],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,2],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,15],[65,208,0],[70],[4,64],[3,64],[32,5],[43,0,4],[33,9],[32,5],[45,0,12],[33,10],[32,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,5],[65,9],[106],[33,5],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,15],[65,216,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[45,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,15],[65,217,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[44,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,15],[65,218,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[106],[45,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,15],[65,219,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,2],[108],[106],[47,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,15],[65,220,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,2],[108],[106],[46,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,15],[65,221,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[40,0,4],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,15],[65,222,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[40,0,4],[183],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,15],[65,223,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,4],[108],[106],[42,0,4],[187],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,15],[65,224,0],[70],[4,64],[65,1],[33,10],[3,64],[32,5],[40,0,4],[32,7],[65,8],[108],[106],[43,0,4],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,15],[65,195,1],[70],[4,64],[65,195,1],[33,10],[16,builtin('__Porffor_allocate')],[34,26],[65,1],[54,0,0],[3,64],[32,26],[32,5],[32,7],[106],[45,0,4],[58,0,4],[32,26],[184],[34,9],[33,11],[32,10],[33,12],[2,64],[2,64],...glbl(35,'_allLen',124),[68,1],[160],...glbl(36,'_allLen',124),[32,11],[32,12],[16,builtin('__ecma262_IsPromise')],[33,13],[33,14],[32,13],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[252,3],[40,1,0],[12,1],[11]]),[32,14],[252,3],[11],[4,64],[32,11],[33,16],[32,12],[33,17],[32,12],[33,15],[2,124],...t([36],()=>[[32,15],[65,36],[70],[4,64],[32,16],[32,17],...funcRef('#anonymous_8'),[65,6],...funcRef('#anonymous_9'),[65,6],[16,builtin('__Promise_prototype_then')],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`'then' proto func tried to be called on a type without an impl`),[68,0],[11],[26],[5],[16,builtin('__Porffor_allocate')],[184],[33,18],[65,7],[33,19],[68,393216],[34,20],[252,3],[34,21],[65,9],[54,1,0],[32,21],[65,230,0],[58,0,4],[32,21],[65,245,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,230,0],[58,0,7],[32,21],[65,233,0],[58,0,8],[32,21],[65,236,0],[58,0,9],[32,21],[65,236,0],[58,0,10],[32,21],[65,229,0],[58,0,11],[32,21],[65,228,0],[58,0,12],[32,21],[184],[33,20],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,6],[54,1,0],[32,21],[65,243,0],[58,0,4],[32,21],[65,244,0],[58,0,5],[32,21],[65,225,0],[58,0,6],[32,21],[65,244,0],[58,0,7],[32,21],[65,245,0],[58,0,8],[32,21],[65,243,0],[58,0,9],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,20],[65,195,1],[16,builtin('__Porffor_object_set')],[26],[11],[26],[32,18],[33,24],[16,builtin('__Porffor_allocate')],[184],[34,25],[252,3],[34,21],[65,5],[54,1,0],[32,21],[65,246,0],[58,0,4],[32,21],[65,225,0],[58,0,5],[32,21],[65,236,0],[58,0,6],[32,21],[65,245,0],[58,0,7],[32,21],[65,229,0],[58,0,8],[32,21],[184],[33,25],[32,19],[33,15],[2,124],...t([128],()=>[[32,15],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot set property of undefined`),[68,0],[12,1],[11]]),[32,24],[252,2],[32,19],[32,25],[252,3],[65,195,1],[32,11],[32,12],[16,builtin('__Porffor_object_set')],[26],[11],[26],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[32,18],[32,19],[16,builtin('__Porffor_array_fastPush')],[33,13],[26],[11],[11],[32,7],[65,1],[106],[34,7],[32,6],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],...glbl(35,'_allLen',124),[68,0],[97],[4,64],...glbl(35,'_allRes',124),[33,39],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[33,27],[33,28],[68,0],[65,128,1],[33,29],[33,30],[68,0],[65,128,1],[33,31],[33,32],[68,0],[65,128,1],[33,33],[33,34],[68,0],[65,128,1],[33,35],[33,36],[32,39],[252,3],[34,37],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,38],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,37],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,37],[17,2,0,"no_type_return"],[5],[32,37],[17,0,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,37],[17,2,0],[33,13],[5],[32,37],[17,0,0],[33,13],[11],[11],[12,5],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,37],[17,3,0,"no_type_return"],[5],[32,28],[32,27],[32,37],[17,1,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,37],[17,3,0],[33,13],[5],[32,28],[32,27],[32,37],[17,1,0],[33,13],[11],[11],[12,4],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,37],[17,4,0,"no_type_return"],[5],[32,28],[32,27],[32,30],[32,29],[32,37],[17,2,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,37],[17,4,0],[33,13],[5],[32,28],[32,27],[32,30],[32,29],[32,37],[17,2,0],[33,13],[11],[11],[12,3],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,37],[17,5,0,"no_type_return"],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,37],[17,3,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,37],[17,5,0],[33,13],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,37],[17,3,0],[33,13],[11],[11],[12,2],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,37],[17,6,0,"no_type_return"],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,37],[17,4,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,37],[17,6,0],[33,13],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,37],[17,4,0],[33,13],[11],[11],[12,1],[11],[32,38],[65,1],[113],[4,124],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,36],[32,35],[32,37],[17,7,0,"no_type_return"],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,36],[32,35],[32,37],[17,5,0,"no_type_return"],[11],[5],[32,38],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,36],[32,35],[32,37],[17,7,0],[33,13],[5],[32,28],[32,27],[32,30],[32,29],[32,32],[32,31],[32,34],[32,33],[32,36],[32,35],[32,37],[17,5,0],[33,13],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[5],...glbl(35,'_allOut',124),[252,3],[40,1,0],[184],...glbl(35,'_allLen',124),[97],[4,64],...funcRef('#anonymous_10'),[65,6],[16,builtin('__Porffor_promise_runNext')],[33,13],[26],[11],[11],[68,0],[65,128,1],[15]],
|
2182
2189
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2183
2190
|
locals:[124,127,127,127,127,124,127,124,127,127,124,127,124,127,124,127,124,127,124,127,124,124,127,127,124,127,124,127,124,127,124,127,124,127,127,124],localNames:["res","res#type","rej","rej#type","arr","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","#forof_tmp0","#forof_tmp0#type","x","x#type","#last_type","#logicinner_tmp","#typeswitch_tmp1","#proto_target","#proto_target#type","o","o#type","status","#makearray_pointer_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#forof_allocd","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee"],
|
2184
2191
|
usedTypes:[80,7,195,67],
|
2185
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2192
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2186
2193
|
table:1,
|
2187
2194
|
};
|
2188
2195
|
this['#anonymous_8'] = {
|
@@ -2190,7 +2197,7 @@ wasm:(_,{t,allocPage,glbl,builtin,internalThrow})=>[[16,builtin('__Porffor_alloc
|
|
2190
2197
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2191
2198
|
locals:[124,127,124,127,124,127,124,124,127,127,124,124,127,124,127,124,127,124,127,124,127,124,127,127,124],localNames:["r","r#type","o","o#type","status","#makearray_pointer_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#typeswitch_tmp2","#last_type","__tmpop_left","__tmpop_right","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee"],
|
2192
2199
|
usedTypes:[7,195],
|
2193
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2200
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2194
2201
|
table:1,
|
2195
2202
|
};
|
2196
2203
|
this['#anonymous_9'] = {
|
@@ -2198,14 +2205,14 @@ wasm:(_,{t,allocPage,glbl,builtin,internalThrow})=>[[16,builtin('__Porffor_alloc
|
|
2198
2205
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2199
2206
|
locals:[124,127,124,127,124,127,124,124,127,127,124,124,127,124,127,124,127,124,127,124,127,124,127,127,124],localNames:["r","r#type","o","o#type","status","#makearray_pointer_tmp","#member_setter_val_tmp","#member_setter_ptr_tmp","#member_obj","#member_prop_assign","#typeswitch_tmp2","#last_type","__tmpop_left","__tmpop_right","#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#indirect_callee"],
|
2200
2207
|
usedTypes:[7,195],
|
2201
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2208
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2202
2209
|
table:1,
|
2203
2210
|
};
|
2204
2211
|
this['#anonymous_10'] = {
|
2205
2212
|
wasm:(_,{t,glbl,internalThrow})=>[...glbl(35,'_allRes',124),[33,13],...glbl(35,'_allRes#type',127),[33,14],[2,124],...t([6],()=>[[32,14],[65,6],[70],[4,64],...glbl(35,'_allOut',124),...glbl(35,'_allOut#type',127),[33,0],[33,1],[68,0],[65,128,1],[33,2],[33,3],[68,0],[65,128,1],[33,4],[33,5],[68,0],[65,128,1],[33,6],[33,7],[68,0],[65,128,1],[33,8],[33,9],[32,13],[252,3],[34,10],[65,192,0],[108],[65,4],[106],[45,0,128,128,4,"read func lut"],[33,11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,10],[65,192,0],[108],[47,0,128,128,4,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,10],[17,2,0,"no_type_return"],[5],[32,10],[17,0,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,10],[17,2,0],[26],[5],[32,10],[17,0,0],[26],[11],[11],[12,5],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,10],[17,3,0,"no_type_return"],[5],[32,1],[32,0],[32,10],[17,1,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,10],[17,3,0],[26],[5],[32,1],[32,0],[32,10],[17,1,0],[26],[11],[11],[12,4],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,10],[17,4,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,10],[17,2,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,10],[17,4,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,10],[17,2,0],[26],[11],[11],[12,3],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,5,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,3,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,5,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,10],[17,3,0],[26],[11],[11],[12,2],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,6,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,4,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,6,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,10],[17,4,0],[26],[11],[11],[12,1],[11],[32,11],[65,1],[113],[4,124],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,7,0,"no_type_return"],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,5,0,"no_type_return"],[11],[5],[32,11],[65,2],[113],[4,124],[68,0],[65,128,1],[68,0],[65,128,1],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,7,0],[26],[5],[32,1],[32,0],[32,3],[32,2],[32,5],[32,4],[32,7],[32,6],[32,9],[32,8],[32,10],[17,5,0],[26],[11],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[68,0],[65,128,1],[15]],
|
2206
2213
|
params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
2207
2214
|
locals:[127,124,127,124,127,124,127,124,127,124,127,127,127,124,127],localNames:["#indirect_arg0_type","#indirect_arg0_val","#indirect_arg1_type","#indirect_arg1_val","#indirect_arg2_type","#indirect_arg2_val","#indirect_arg3_type","#indirect_arg3_val","#indirect_arg4_type","#indirect_arg4_val","#indirect_func","#indirect_flags","#last_type","#indirect_callee","#typeswitch_tmp1"],
|
2208
|
-
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2215
|
+
globalInits:{jobQueue:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: promise.ts/jobQueue','f64'),124),...glbl(36,'jobQueue',124),...glbl(35,'jobQueue',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]]},
|
2209
2216
|
table:1,
|
2210
2217
|
};
|
2211
2218
|
this.__Promise_prototype_toString = {
|
@@ -2745,14 +2752,14 @@ wasm:(_,{glbl,builtin})=>[[68,0],[33,2],[65,128,1],[33,3],[32,1],[184],[68,128],
|
|
2745
2752
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2746
2753
|
locals:[124,127,127,124],localNames:["description","description#type","descString","descString#type","#last_type","sym"],
|
2747
2754
|
usedTypes:[80,5],
|
2748
|
-
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2755
|
+
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]],forStore:(_,{glbl,loc,builtin})=>[[68,9],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],[34,loc('#last_type',127)],[26],...glbl(36,'forStore',124)]},
|
2749
2756
|
};
|
2750
2757
|
this.__Symbol_prototype_description$get = {
|
2751
2758
|
wasm:(_,{glbl,internalThrow})=>[[32,1],[65,5],[71],[4,64],...internalThrow(_,'TypeError',`Symbol.prototype.description$get expects 'this' to be a Symbol`),[11],...glbl(35,'descStore',124),[33,2],[32,0],[68,1],[161],[34,3],[252,3],[65,9],[108],[32,2],[252,3],[106],[34,5],[43,0,4],[32,5],[45,0,12],[34,4],[15]],
|
2752
2759
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2753
2760
|
locals:[124,124,127,127],localNames:["_this","_this#type","#member_obj","#member_prop","#last_type","#loadArray_offset"],
|
2754
2761
|
usedTypes:[80],
|
2755
|
-
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2762
|
+
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]],forStore:(_,{glbl,loc,builtin})=>[[68,9],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],[34,loc('#last_type',127)],[26],...glbl(36,'forStore',124)]},
|
2756
2763
|
};
|
2757
2764
|
this.__Symbol_prototype_toString = {
|
2758
2765
|
wasm:(_,{builtin,internalThrow})=>[[32,1],[65,5],[71],[4,64],...internalThrow(_,'TypeError',`Symbol.prototype.toString expects 'this' to be a Symbol`),[11],[16,builtin('__Porffor_allocate')],[183],[34,2],[252,2],[65,211,0],[58,0,4],[32,2],[252,2],[65,249,0],[58,0,5],[32,2],[252,2],[65,237,0],[58,0,6],[32,2],[252,2],[65,226,0],[58,0,7],[32,2],[252,2],[65,239,0],[58,0,8],[32,2],[252,2],[65,236,0],[58,0,9],[32,2],[252,2],[65,40],[58,0,10],[32,0],[65,5],[16,builtin('__Symbol_prototype_description$get')],[34,7],[33,4],[33,3],[68,0],[33,8],[32,3],[68,0],[98],[32,4],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,3],[252,3],[40,1,0],[184],[33,8],[32,2],[68,7],[160],[33,9],[32,3],[34,10],[32,8],[160],[33,11],[3,64],[32,10],[32,11],[99],[4,64],[32,9],[32,9],[68,1],[160],[33,9],[252,2],[32,10],[32,10],[68,1],[160],[33,10],[252,2],[45,0,4],[58,0,4],[12,1],[11],[11],[11],[32,2],[32,8],[160],[252,2],[65,41],[58,0,11],[32,2],[252,3],[34,13],[68,8],[32,8],[160],[34,12],[252,3],[54,1,0],[32,2],[65,195,1],[15]],
|
@@ -2777,14 +2784,14 @@ wasm:(_,{t,glbl,builtin})=>[...glbl(35,'forStore',124),[33,2],[65,20],[33,3],[32
|
|
2777
2784
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2778
2785
|
locals:[124,127,127,124,127,124],localNames:["key","key#type","#proto_target","#proto_target#type","#last_type","#logicinner_tmp","#typeswitch_tmp1","out"],
|
2779
2786
|
usedTypes:[20,5],
|
2780
|
-
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2787
|
+
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]],forStore:(_,{glbl,loc,builtin})=>[[68,9],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],[34,loc('#last_type',127)],[26],...glbl(36,'forStore',124)]},
|
2781
2788
|
};
|
2782
2789
|
this.__Symbol_keyFor = {
|
2783
2790
|
wasm:(_,{glbl,builtin,internalThrow})=>[[32,1],[184],[68,5],[98],[4,64],...internalThrow(_,'TypeError',`Symbol.keyFor argument should be a Symbol`),[11],[32,0],[34,2],[65,5],[16,builtin('__Symbol_prototype_description$get')],[34,7],[33,4],[33,3],...glbl(35,'forStore',124),[33,9],[65,20],[33,10],[32,9],[32,10],[32,3],[32,4],[16,builtin('__Map_prototype_get')],[33,7],[33,8],[32,2],[32,8],[97],[4,64],[32,3],[32,4],[15],[11],[68,0],[65,128,1],[15]],
|
2784
2791
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2785
2792
|
locals:[124,124,127,124,127,127,124,124,127],localNames:["arg","arg#type","sym","desc","desc#type","#member_obj","#member_obj#type","#last_type","stored","#proto_target","#proto_target#type"],
|
2786
2793
|
usedTypes:[5,20],
|
2787
|
-
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[
|
2794
|
+
globalInits:{descStore:(_,{allocPage,glbl,loc})=>[...number(allocPage(_,'array: symbol.ts/descStore','f64'),124),...glbl(36,'descStore',124),...glbl(35,'descStore',124),[252,3],[33,loc('#makearray_pointer_tmp',127)],[32,loc('#makearray_pointer_tmp',127)],[65,0],[54,1,0],[32,loc('#makearray_pointer_tmp',127)],[26]],forStore:(_,{glbl,loc,builtin})=>[[68,9],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],[34,loc('#last_type',127)],[26],...glbl(36,'forStore',124)]},
|
2788
2795
|
};
|
2789
2796
|
this.Uint8Array = {
|
2790
2797
|
wasm:(_,{t,allocPage,builtin,internalThrow})=>[[32,0],[33,10],[32,1],[33,11],[2,124],...t([67,195],()=>[[32,11],[65,195,0],[70],[32,11],[65,195,1],[70],[114],[4,64],[32,10],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,10],[68,0],[97],[184],[11],[252,3],[4,64],...internalThrow(_,'TypeError',`Constructor Uint8Array requires 'new'`),[11],[65,12],[16,builtin('__Porffor_allocateBytes')],[183],[34,12],[33,13],[68,0],[33,14],[32,5],[184],[34,16],[68,21],[97],[32,16],[68,22],[97],[114],[4,64],[32,4],[33,15],[32,4],[33,17],[32,5],[33,18],...number(allocPage(_,'bytestring: Uint8Array/#member_prop','i8'),124),[34,19],[252,3],[34,21],[65,8],[54,1,0],[32,21],[65,228,0],[58,0,4],[32,21],[65,229,0],[58,0,5],[32,21],[65,244,0],[58,0,6],[32,21],[65,225,0],[58,0,7],[32,21],[65,227,0],[58,0,8],[32,21],[65,232,0],[58,0,9],[32,21],[65,229,0],[58,0,10],[32,21],[65,228,0],[58,0,11],[32,21],[184],[33,19],[32,5],[33,11],[2,124],...t([21],()=>[[32,11],[65,21],[70],[4,64],[32,17],[32,18],[16,builtin('__ArrayBuffer_prototype_detached$get')],[33,20],[12,1],[11]]),...t([128],()=>[[32,11],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,17],[252,2],[32,5],[32,19],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,20],[11],[33,10],[32,20],[33,11],[2,127],...t([67,195],()=>[[32,11],[65,195,0],[70],[32,11],[65,195,1],[70],[114],[4,64],[32,10],[252,3],[40,1,0],[12,1],[11]]),[32,10],[252,3],[11],[4,64],...internalThrow(_,'TypeError',`Constructed Uint8Array with a detached ArrayBuffer`),[11],[68,0],[33,22],[32,7],[184],[68,128],[98],[4,64],[32,6],[16,builtin('__Math_trunc')],[33,22],[11],[32,22],[68,0],[99],[4,64],...internalThrow(_,'RangeError',`Invalid DataView byte offset (negative)`),[11],[32,13],[252,2],[32,22],[252,2],[54,0,8],[32,13],[252,2],[32,15],[32,22],[160],[252,2],[54,0,4],[32,9],[184],[68,128],[97],[4,64],[32,15],[252,2],[40,0,0],[183],[34,23],[32,6],[161],[68,1],[163],[34,14],[16,builtin('__Number_isInteger')],[68,0],[97],[4,64],...internalThrow(_,'RangeError',`Byte length of Uint8Array should be divisible by BYTES_PER_ELEMENT`),[11],[5],[32,8],[16,builtin('__Math_trunc')],[33,14],[11],[5],[16,builtin('__Porffor_allocate')],[183],[33,15],[32,13],[252,2],[32,15],[252,2],[54,0,4],[32,16],[68,80],[97],[32,16],[68,67],[97],[114],[32,16],[68,195],[97],[114],[32,16],[68,19],[97],[114],[32,16],[68,88],[102],[32,16],[68,96],[101],[113],[114],[4,64],[68,0],[33,24],[32,4],[252,3],[33,25],[32,5],[33,28],[65,0],[33,27],[32,28],[65,208,0],[70],[32,28],[65,19],[70],[114],[32,28],[65,195,0],[70],[114],[32,28],[65,195,1],[70],[114],[32,28],[65,216,0],[78],[32,28],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,25],[40,1,0],[34,26],[4,64],[32,28],[33,11],[2,64],...t([19],()=>[[32,11],[65,19],[70],[4,64],[3,64],[32,25],[43,0,4],[33,29],[32,25],[45,0,12],[33,30],[32,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,25],[65,9],[106],[33,25],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,11],[65,195,0],[70],[4,64],[65,195,0],[33,30],[16,builtin('__Porffor_allocate')],[34,36],[65,1],[54,0,0],[3,64],[32,36],[32,25],[47,0,4],[59,0,4],[32,36],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,25],[65,2],[106],[33,25],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,11],[65,208,0],[70],[4,64],[3,64],[32,25],[43,0,4],[33,29],[32,25],[45,0,12],[33,30],[32,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,25],[65,9],[106],[33,25],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,11],[65,216,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[106],[45,0,4],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,11],[65,217,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[106],[44,0,4],[183],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,11],[65,218,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[106],[45,0,4],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,11],[65,219,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,2],[108],[106],[47,0,4],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,11],[65,220,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,2],[108],[106],[46,0,4],[183],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,11],[65,221,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,4],[108],[106],[40,0,4],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,11],[65,222,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,4],[108],[106],[40,0,4],[183],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,11],[65,223,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,4],[108],[106],[42,0,4],[187],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,11],[65,224,0],[70],[4,64],[65,1],[33,30],[3,64],[32,25],[40,0,4],[32,27],[65,8],[108],[106],[43,0,4],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,11],[65,195,1],[70],[4,64],[65,195,1],[33,30],[16,builtin('__Porffor_allocate')],[34,36],[65,1],[54,0,0],[3,64],[32,36],[32,25],[32,27],[106],[45,0,4],[58,0,4],[32,36],[184],[34,29],[33,31],[32,30],[33,32],[2,64],[32,12],[33,17],[32,24],[32,24],[68,1],[160],[33,24],[33,35],[32,17],[252,3],[40,0,4],[32,35],[252,3],[106],[32,31],[34,33],[252,3],[58,0,4],[32,27],[65,1],[106],[34,27],[32,26],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],[32,24],[33,14],[5],[32,16],[68,1],[97],[4,64],[32,4],[16,builtin('__Math_trunc')],[33,14],[11],[11],[32,15],[252,2],[32,14],[68,1],[162],[252,2],[54,0,0],[11],[32,14],[68,0],[99],[4,64],...internalThrow(_,'RangeError',`Invalid TypedArray length (negative)`),[11],[32,14],[68,4294967295],[100],[4,64],...internalThrow(_,'RangeError',`Invalid ArrayBuffer length (over 32 bit address space)`),[11],[32,13],[252,2],[32,14],[252,2],[54,0,0],[32,12],[65,216,0],[15]],
|
package/compiler/codegen.js
CHANGED
@@ -293,21 +293,7 @@ const generate = (scope, decl, global = false, name = undefined, valueUnused = f
|
|
293
293
|
}
|
294
294
|
};
|
295
295
|
|
296
|
-
const
|
297
|
-
if (!x) return x;
|
298
|
-
|
299
|
-
if (x.startsWith('__globalThis_')) {
|
300
|
-
const key = x.slice('__globalThis_'.length);
|
301
|
-
// hack: this will not work properly
|
302
|
-
return key.includes('_') ? ('__' + key) : key;
|
303
|
-
}
|
304
|
-
|
305
|
-
return x;
|
306
|
-
};
|
307
|
-
|
308
|
-
const lookupName = (scope, _name) => {
|
309
|
-
const name = mapName(_name);
|
310
|
-
|
296
|
+
const lookupName = (scope, name) => {
|
311
297
|
if (Object.hasOwn(scope.locals, name)) return [ scope.locals[name], false ];
|
312
298
|
if (Object.hasOwn(globals, name)) return [ globals[name], true ];
|
313
299
|
|
@@ -335,9 +321,8 @@ const internalThrow = (scope, constructor, message, expectsValue = Prefs.alwaysV
|
|
335
321
|
];
|
336
322
|
|
337
323
|
const generateIdent = (scope, decl) => {
|
338
|
-
const lookup = (
|
339
|
-
|
340
|
-
let local = scope.locals[rawName];
|
324
|
+
const lookup = (name, failEarly = false) => {
|
325
|
+
let local = scope.locals[name];
|
341
326
|
|
342
327
|
if (Object.hasOwn(builtinVars, name)) {
|
343
328
|
if (builtinVars[name].floatOnly && valtype[0] === 'i') throw new Error(`Cannot use ${unhackName(name)} with integer valtype`);
|
@@ -371,9 +356,9 @@ const generateIdent = (scope, decl) => {
|
|
371
356
|
if (Object.hasOwn(funcIndex, name)) return funcRef(funcByName(name));
|
372
357
|
}
|
373
358
|
|
374
|
-
if (local?.idx === undefined &&
|
359
|
+
if (local?.idx === undefined && name.startsWith('__')) {
|
375
360
|
// return undefined if unknown key in already known var
|
376
|
-
let parent =
|
361
|
+
let parent = name.slice(2).split('_').slice(0, -1).join('_');
|
377
362
|
if (parent.includes('_')) parent = '__' + parent;
|
378
363
|
|
379
364
|
const parentLookup = lookup(parent, true);
|
@@ -385,7 +370,7 @@ const generateIdent = (scope, decl) => {
|
|
385
370
|
|
386
371
|
return [ [ null, () => {
|
387
372
|
// try generating again at the end
|
388
|
-
return lookup(
|
373
|
+
return lookup(name, true);
|
389
374
|
}, 1 ] ];
|
390
375
|
}
|
391
376
|
|
@@ -1170,13 +1155,11 @@ const isExistingProtoFunc = name => {
|
|
1170
1155
|
return false;
|
1171
1156
|
};
|
1172
1157
|
|
1173
|
-
const getType = (scope,
|
1158
|
+
const getType = (scope, name, failEarly = false) => {
|
1174
1159
|
const fallback = failEarly ? number(TYPES.undefined, Valtype.i32) : [ [ null, () => {
|
1175
|
-
return getType(scope,
|
1160
|
+
return getType(scope, name, true);
|
1176
1161
|
}, 1 ] ];
|
1177
1162
|
|
1178
|
-
const name = mapName(_name);
|
1179
|
-
|
1180
1163
|
if (Object.hasOwn(builtinVars, name)) return number(builtinVars[name].type ?? TYPES.number, Valtype.i32);
|
1181
1164
|
|
1182
1165
|
if (Object.hasOwn(scope.locals, name)) {
|
@@ -1212,11 +1195,9 @@ const getType = (scope, _name, failEarly = false) => {
|
|
1212
1195
|
return fallback;
|
1213
1196
|
};
|
1214
1197
|
|
1215
|
-
const setType = (scope,
|
1198
|
+
const setType = (scope, name, type) => {
|
1216
1199
|
typeUsed(scope, knownType(scope, type));
|
1217
1200
|
|
1218
|
-
const name = mapName(_name);
|
1219
|
-
|
1220
1201
|
const out = typeof type === 'number' ? number(type, Valtype.i32) : type;
|
1221
1202
|
|
1222
1203
|
if (Object.hasOwn(scope.locals, name)) {
|
@@ -1749,7 +1730,7 @@ const aliasPrimObjsBC = bc => {
|
|
1749
1730
|
};
|
1750
1731
|
|
1751
1732
|
const createThisArg = (scope, decl) => {
|
1752
|
-
const name =
|
1733
|
+
const name = decl.callee?.name;
|
1753
1734
|
if (decl._new) {
|
1754
1735
|
// if precompiling or builtin func, just make it null as unused
|
1755
1736
|
if (globalThis.precompile || Object.hasOwn(builtinFuncs, name)) return [
|
@@ -1823,7 +1804,7 @@ const createThisArg = (scope, decl) => {
|
|
1823
1804
|
|
1824
1805
|
const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
1825
1806
|
let out = [];
|
1826
|
-
let name =
|
1807
|
+
let name = decl.callee.name;
|
1827
1808
|
|
1828
1809
|
// opt: virtualize iifes
|
1829
1810
|
if (isFuncType(decl.callee.type)) {
|
@@ -1883,8 +1864,8 @@ const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
|
1883
1864
|
target.name = spl.slice(0, -1).join('_');
|
1884
1865
|
|
1885
1866
|
if (builtinFuncs['__' + target.name + '_' + protoName]) protoName = null;
|
1886
|
-
else if (
|
1887
|
-
if (lookupName(scope, '__' + target.name)[0] || builtinFuncs['__' + target.name]) target.name = '__' + target.name;
|
1867
|
+
else if (lookupName(scope, target.name)[0] == null && !builtinFuncs[target.name]) {
|
1868
|
+
if (lookupName(scope, '__' + target.name)[0] != null || builtinFuncs['__' + target.name]) target.name = '__' + target.name;
|
1888
1869
|
else protoName = null;
|
1889
1870
|
}
|
1890
1871
|
}
|
@@ -3075,9 +3056,11 @@ const generateVarDstr = (scope, kind, pattern, init, defaultValue, global) => {
|
|
3075
3056
|
pattern = { type: 'Identifier', name: pattern };
|
3076
3057
|
}
|
3077
3058
|
|
3059
|
+
// todo: handle globalThis.foo = ...
|
3060
|
+
|
3078
3061
|
if (pattern.type === 'Identifier') {
|
3079
3062
|
let out = [];
|
3080
|
-
const name =
|
3063
|
+
const name = pattern.name;
|
3081
3064
|
|
3082
3065
|
if (init && isFuncType(init.type)) {
|
3083
3066
|
// hack for let a = function () { ... }
|
@@ -3353,6 +3336,19 @@ const getProperty = (decl, forceValueStr = false) => {
|
|
3353
3336
|
return prop;
|
3354
3337
|
};
|
3355
3338
|
|
3339
|
+
const isIdentAssignable = (scope, name, op = '=') => {
|
3340
|
+
// not in strict mode and op is =, so ignore
|
3341
|
+
if (!scope.strict && op === '=') return true;
|
3342
|
+
|
3343
|
+
// local exists
|
3344
|
+
if (lookupName(scope, name)[0] != null) return true;
|
3345
|
+
|
3346
|
+
// function with name exists and is not current function
|
3347
|
+
if (hasFuncWithName(name) && scope.name !== name) return true;
|
3348
|
+
|
3349
|
+
return false;
|
3350
|
+
};
|
3351
|
+
|
3356
3352
|
// todo: optimize this func for valueUnused
|
3357
3353
|
const generateAssign = (scope, decl, _global, _name, valueUnused = false) => {
|
3358
3354
|
const { type, name } = decl.left;
|
@@ -3678,7 +3674,7 @@ const generateAssign = (scope, decl, _global, _name, valueUnused = false) => {
|
|
3678
3674
|
|
3679
3675
|
if (local === undefined) {
|
3680
3676
|
// only allow = for this, or if in strict mode always throw
|
3681
|
-
if (
|
3677
|
+
if (!isIdentAssignable(scope, name, op)) return internalThrow(scope, 'ReferenceError', `${unhackName(name)} is not defined`, true);
|
3682
3678
|
|
3683
3679
|
if (type != 'Identifier') {
|
3684
3680
|
const tmpName = '#rhs' + uniqId();
|
@@ -4095,7 +4091,7 @@ const generateForOf = (scope, decl) => {
|
|
4095
4091
|
// setup local for left
|
4096
4092
|
let setVar;
|
4097
4093
|
if (decl.left.type === 'Identifier') {
|
4098
|
-
if (scope.
|
4094
|
+
if (!isIdentAssignable(scope, decl.left.name)) return internalThrow(scope, 'ReferenceError', `${decl.left.name} is not defined`);
|
4099
4095
|
setVar = generateVarDstr(scope, 'var', decl.left, { type: 'Identifier', name: tmpName }, undefined, true);
|
4100
4096
|
} else {
|
4101
4097
|
// todo: verify this is correct
|
@@ -4453,7 +4449,7 @@ const generateForIn = (scope, decl) => {
|
|
4453
4449
|
|
4454
4450
|
let setVar;
|
4455
4451
|
if (decl.left.type === 'Identifier') {
|
4456
|
-
if (scope.
|
4452
|
+
if (!isIdentAssignable(scope, decl.left.name)) return internalThrow(scope, 'ReferenceError', `${decl.left.name} is not defined`);
|
4457
4453
|
setVar = generateVarDstr(scope, 'var', decl.left, { type: 'Identifier', name: tmpName }, undefined, true);
|
4458
4454
|
} else {
|
4459
4455
|
// todo: verify this is correct
|
@@ -5331,6 +5327,8 @@ const generateMember = (scope, decl, _global, _name, _objectWasm = undefined) =>
|
|
5331
5327
|
let final = [], finalEnd, extraBC = {};
|
5332
5328
|
const name = decl.object.name;
|
5333
5329
|
|
5330
|
+
// todo: handle globalThis.foo
|
5331
|
+
|
5334
5332
|
// hack: .name
|
5335
5333
|
if (decl.property.name === 'name' && hasFuncWithName(name) && !scope.noFastFuncMembers) {
|
5336
5334
|
let nameProp = name;
|
@@ -6225,38 +6223,6 @@ const generateCode = (scope, decl) => {
|
|
6225
6223
|
};
|
6226
6224
|
|
6227
6225
|
const internalConstrs = {
|
6228
|
-
Array: {
|
6229
|
-
generate: (scope, decl, global, name) => {
|
6230
|
-
// new Array(i0, i1, ...)
|
6231
|
-
if (decl.arguments.length > 1) return generateArray(scope, {
|
6232
|
-
elements: decl.arguments
|
6233
|
-
}, global, name);
|
6234
|
-
|
6235
|
-
// new Array(n)
|
6236
|
-
const [ out, pointer ] = makeArray(scope, {
|
6237
|
-
rawElements: new Array(0)
|
6238
|
-
}, global, name, true, undefined, true, true);
|
6239
|
-
|
6240
|
-
const arg = decl.arguments[0] ?? DEFAULT_VALUE();
|
6241
|
-
|
6242
|
-
// todo: check in wasm instead of here
|
6243
|
-
const literalValue = arg.value ?? 0;
|
6244
|
-
if (literalValue < 0 || !Number.isFinite(literalValue) || literalValue > 4294967295) return internalThrow(scope, 'RangeError', 'Invalid array length', true);
|
6245
|
-
|
6246
|
-
return [
|
6247
|
-
...out,
|
6248
|
-
...generate(scope, arg, global, name),
|
6249
|
-
Opcodes.i32_to_u,
|
6250
|
-
[ Opcodes.i32_store, Math.log2(ValtypeSize.i32) - 1, 0 ],
|
6251
|
-
|
6252
|
-
...pointer,
|
6253
|
-
Opcodes.i32_from_u
|
6254
|
-
];
|
6255
|
-
},
|
6256
|
-
type: TYPES.array,
|
6257
|
-
length: 1
|
6258
|
-
},
|
6259
|
-
|
6260
6226
|
__Array_of: {
|
6261
6227
|
// this is not a constructor but best fits internal structure here
|
6262
6228
|
generate: (scope, decl, global, name) => {
|
package/package.json
CHANGED