porffor 0.48.2 → 0.48.3
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/README.md +1 -1
- package/compiler/builtins/promise.ts +72 -65
- package/compiler/builtins_precompiled.js +34 -25
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/README.md
CHANGED
@@ -85,7 +85,7 @@ Rhemyn is Porffor's own regex engine; it compiles literal regex to Wasm bytecode
|
|
85
85
|
## Versioning
|
86
86
|
Porffor uses a unique versioning system, here's an example: `0.18.2+2aa3f0589`. Let's break it down:
|
87
87
|
1. `0` - major, always `0` as Porffor is not ready yet
|
88
|
-
2. `18` - minor, total Test262 pass percentage (
|
88
|
+
2. `18` - minor, total Test262 pass percentage (rounded half down, eg `49.4%` -> `48`, `49.5%` -> `49`)
|
89
89
|
3. `2` - micro, build number for that minor (incremented each publish/git push)
|
90
90
|
4. `2aa3f0589` - commit hash
|
91
91
|
|
@@ -92,13 +92,67 @@ export const __ecma262_RejectPromise = (promise: any[], reason: any): void => {
|
|
92
92
|
};
|
93
93
|
|
94
94
|
|
95
|
-
export const __Porffor_promise_noop = () =>
|
95
|
+
export const __Porffor_promise_noop = (x: any): any => x;
|
96
|
+
|
97
|
+
export const __Porffor_promise_newReaction = (handler: Function, promise: any, flags: i32): any[] => {
|
98
|
+
// enum ReactionType { then = 0, finally = 1 }
|
99
|
+
const out: any[] = Porffor.allocateBytes(32);
|
100
|
+
out[0] = handler;
|
101
|
+
out[1] = promise;
|
102
|
+
out[2] = flags;
|
103
|
+
|
104
|
+
return out;
|
105
|
+
};
|
106
|
+
|
107
|
+
export const __Porffor_then = (promise: any[], fulfillReaction: any[], rejectReaction: any[]): void => {
|
108
|
+
const state: i32 = promise[1];
|
109
|
+
|
110
|
+
// 27.2.5.4.1 PerformPromiseThen (promise, onFulfilled, onRejected [, resultCapability])
|
111
|
+
// https://tc39.es/ecma262/#sec-performpromisethen
|
112
|
+
|
113
|
+
// 9. If promise.[[PromiseState]] is pending, then
|
114
|
+
if (state == 0) { // pending
|
115
|
+
// a. Append fulfillReaction to promise.[[PromiseFulfillReactions]].
|
116
|
+
const fulfillReactions: any[] = promise[2];
|
117
|
+
Porffor.array.fastPush(fulfillReactions, fulfillReaction);
|
118
|
+
|
119
|
+
// b. Append rejectReaction to promise.[[PromiseRejectReactions]].
|
120
|
+
const rejectReactions: any[] = promise[3];
|
121
|
+
Porffor.array.fastPush(rejectReactions, rejectReaction);
|
122
|
+
} else if (state == 1) { // fulfilled
|
123
|
+
// 10. Else if promise.[[PromiseState]] is fulfilled, then
|
124
|
+
// a. Let value be promise.[[PromiseResult]].
|
125
|
+
const value: any = promise[0];
|
126
|
+
|
127
|
+
// b. Let fulfillJob be NewPromiseReactionJob(fulfillReaction, value).
|
128
|
+
// c. Perform HostEnqueuePromiseJob(fulfillJob.[[Job]], fulfillJob.[[Realm]]).
|
129
|
+
__ecma262_HostEnqueuePromiseJob(__ecma262_NewPromiseReactionJob(fulfillReaction, value));
|
130
|
+
} else { // rejected
|
131
|
+
// 11. Else,
|
132
|
+
// a. Assert: The value of promise.[[PromiseState]] is rejected.
|
133
|
+
// todo
|
134
|
+
|
135
|
+
// b. Let reason be promise.[[PromiseResult]].
|
136
|
+
const reason: any = promise[0];
|
137
|
+
|
138
|
+
// c. If promise.[[PromiseIsHandled]] is false, perform HostPromiseRejectionTracker(promise, "handle").
|
139
|
+
// unimplemented
|
140
|
+
|
141
|
+
// d. Let rejectJob be NewPromiseReactionJob(rejectReaction, reason).
|
142
|
+
// e. Perform HostEnqueuePromiseJob(rejectJob.[[Job]], rejectJob.[[Realm]]).
|
143
|
+
__ecma262_HostEnqueuePromiseJob(__ecma262_NewPromiseReactionJob(rejectReaction, reason));
|
144
|
+
}
|
145
|
+
};
|
96
146
|
|
97
147
|
export const __Porffor_promise_resolve = (value: any, promise: any): any => {
|
98
|
-
//
|
148
|
+
// if value is own promise, reject with typeerror
|
149
|
+
if (value === promise) throw new TypeError('cannot resolve promise with itself');
|
99
150
|
|
100
151
|
if (__ecma262_IsPromise(value)) {
|
101
|
-
|
152
|
+
const fulfillReaction: any[] = __Porffor_promise_newReaction(__Porffor_promise_noop, promise, 0);
|
153
|
+
const rejectReaction: any[] = __Porffor_promise_newReaction(__Porffor_promise_noop, promise, 2);
|
154
|
+
|
155
|
+
__Porffor_then(value, fulfillReaction, rejectReaction);
|
102
156
|
} else {
|
103
157
|
__ecma262_FulfillPromise(promise, value);
|
104
158
|
}
|
@@ -107,12 +161,7 @@ export const __Porffor_promise_resolve = (value: any, promise: any): any => {
|
|
107
161
|
};
|
108
162
|
|
109
163
|
export const __Porffor_promise_reject = (reason: any, promise: any): any => {
|
110
|
-
|
111
|
-
// todo
|
112
|
-
} else {
|
113
|
-
__ecma262_RejectPromise(promise, reason);
|
114
|
-
}
|
115
|
-
|
164
|
+
__ecma262_RejectPromise(promise, reason);
|
116
165
|
return undefined;
|
117
166
|
};
|
118
167
|
|
@@ -138,18 +187,8 @@ export const __Porffor_promise_create = (): any[] => {
|
|
138
187
|
return obj;
|
139
188
|
};
|
140
189
|
|
141
|
-
export const __Porffor_promise_newReaction = (handler: Function, promise: any, type: i32): any[] => {
|
142
|
-
// enum ReactionType { then = 0, finally = 1 }
|
143
|
-
const out: any[] = Porffor.allocateBytes(32);
|
144
|
-
out[0] = handler;
|
145
|
-
out[1] = promise;
|
146
|
-
out[2] = type;
|
147
|
-
|
148
|
-
return out;
|
149
|
-
};
|
150
|
-
|
151
190
|
export const __Porffor_promise_runNext = (func: Function) => {
|
152
|
-
const reaction = __Porffor_promise_newReaction(func, undefined, 1);
|
191
|
+
const reaction: any[] = __Porffor_promise_newReaction(func, undefined, 1);
|
153
192
|
__ecma262_HostEnqueuePromiseJob(__ecma262_NewPromiseReactionJob(reaction, undefined));
|
154
193
|
};
|
155
194
|
|
@@ -161,21 +200,26 @@ export const __Porffor_promise_runJobs = () => {
|
|
161
200
|
const reaction: any[] = x[0];
|
162
201
|
const handler: Function = reaction[0];
|
163
202
|
const outPromise: any = reaction[1];
|
164
|
-
const
|
203
|
+
const flags: i32 = reaction[2];
|
165
204
|
|
166
205
|
const value: any = x[1];
|
167
206
|
|
168
207
|
// todo: handle thrown errors in handler?
|
169
208
|
let outValue: any;
|
170
|
-
if (
|
171
|
-
outValue = handler(value);
|
172
|
-
} else { // 1: finally reaction
|
209
|
+
if (flags & 0b01) { // finally reaction
|
173
210
|
handler();
|
174
211
|
outValue = value;
|
212
|
+
} else { // then reaction
|
213
|
+
outValue = handler(value);
|
175
214
|
}
|
176
215
|
|
177
|
-
|
178
|
-
|
216
|
+
if (outPromise) if (flags & 0b10) {
|
217
|
+
// reject reaction
|
218
|
+
__Porffor_promise_reject(outValue, outPromise);
|
219
|
+
} else {
|
220
|
+
// resolve reaction
|
221
|
+
__Porffor_promise_resolve(outValue, outPromise);
|
222
|
+
}
|
179
223
|
}
|
180
224
|
};
|
181
225
|
|
@@ -242,52 +286,15 @@ export const __Promise_prototype_then = (_this: any, onFulfilled: any, onRejecte
|
|
242
286
|
// 2. If IsPromise(promise) is false, throw a TypeError exception.
|
243
287
|
if (!__ecma262_IsPromise(_this)) throw new TypeError('Promise.prototype.then called on non-Promise');
|
244
288
|
|
245
|
-
// 27.2.5.4.1 PerformPromiseThen (promise, onFulfilled, onRejected [, resultCapability])
|
246
|
-
// https://tc39.es/ecma262/#sec-performpromisethen
|
247
|
-
|
248
289
|
if (Porffor.rawType(onFulfilled) != Porffor.TYPES.function) onFulfilled = __Porffor_promise_noop;
|
249
290
|
if (Porffor.rawType(onRejected) != Porffor.TYPES.function) onRejected = __Porffor_promise_noop;
|
250
291
|
|
251
|
-
const promise: any[] = _this;
|
252
|
-
const state: i32 = promise[1];
|
253
|
-
|
254
292
|
const outPromise: any[] = __Porffor_promise_create();
|
255
293
|
|
256
294
|
const fulfillReaction: any[] = __Porffor_promise_newReaction(onFulfilled, outPromise, 0);
|
257
|
-
const rejectReaction: any[] = __Porffor_promise_newReaction(onRejected, outPromise,
|
295
|
+
const rejectReaction: any[] = __Porffor_promise_newReaction(onRejected, outPromise, 2);
|
258
296
|
|
259
|
-
|
260
|
-
if (state == 0) { // pending
|
261
|
-
// a. Append fulfillReaction to promise.[[PromiseFulfillReactions]].
|
262
|
-
const fulfillReactions: any[] = promise[2];
|
263
|
-
Porffor.array.fastPush(fulfillReactions, fulfillReaction);
|
264
|
-
|
265
|
-
// b. Append rejectReaction to promise.[[PromiseRejectReactions]].
|
266
|
-
const rejectReactions: any[] = promise[3];
|
267
|
-
Porffor.array.fastPush(rejectReactions, rejectReaction);
|
268
|
-
} else if (state == 1) { // fulfilled
|
269
|
-
// 10. Else if promise.[[PromiseState]] is fulfilled, then
|
270
|
-
// a. Let value be promise.[[PromiseResult]].
|
271
|
-
const value: any = promise[0];
|
272
|
-
|
273
|
-
// b. Let fulfillJob be NewPromiseReactionJob(fulfillReaction, value).
|
274
|
-
// c. Perform HostEnqueuePromiseJob(fulfillJob.[[Job]], fulfillJob.[[Realm]]).
|
275
|
-
__ecma262_HostEnqueuePromiseJob(__ecma262_NewPromiseReactionJob(fulfillReaction, value));
|
276
|
-
} else { // rejected
|
277
|
-
// 11. Else,
|
278
|
-
// a. Assert: The value of promise.[[PromiseState]] is rejected.
|
279
|
-
// todo
|
280
|
-
|
281
|
-
// b. Let reason be promise.[[PromiseResult]].
|
282
|
-
const reason: any = promise[0];
|
283
|
-
|
284
|
-
// c. If promise.[[PromiseIsHandled]] is false, perform HostPromiseRejectionTracker(promise, "handle").
|
285
|
-
// unimplemented
|
286
|
-
|
287
|
-
// d. Let rejectJob be NewPromiseReactionJob(rejectReaction, reason).
|
288
|
-
// e. Perform HostEnqueuePromiseJob(rejectJob.[[Job]], rejectJob.[[Realm]]).
|
289
|
-
__ecma262_HostEnqueuePromiseJob(__ecma262_NewPromiseReactionJob(rejectReaction, reason));
|
290
|
-
}
|
297
|
+
__Porffor_then(_this, fulfillReaction, rejectReaction);
|
291
298
|
|
292
299
|
const pro: Promise = outPromise;
|
293
300
|
return pro;
|
@@ -2220,19 +2220,33 @@ locals:[124,124,127,127,124,127,124,124],localNames:["promise","promise#type","r
|
|
2220
2220
|
usedTypes:[80],
|
2221
2221
|
}
|
2222
2222
|
this.__Porffor_promise_noop = {
|
2223
|
-
wasm:()=>[[
|
2224
|
-
params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
2225
|
-
locals:[],localNames:[],
|
2223
|
+
wasm:()=>[[32,0],[32,1],[15]],
|
2224
|
+
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2225
|
+
locals:[],localNames:["x","x#type"],
|
2226
|
+
}
|
2227
|
+
this.__Porffor_promise_newReaction = {
|
2228
|
+
wasm:(_,{builtin})=>[[65,32],[16,builtin('__Porffor_allocateBytes')],[183],[34,6],[33,8],[68,0],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,0],[57,0,4],[32,7],[65,6],[58,0,12],[32,6],[33,8],[68,1],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,2],[57,0,4],[32,7],[32,3],[58,0,12],[32,6],[33,8],[68,2],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,4],[57,0,4],[32,7],[65,1],[58,0,12],[32,6],[65,208,0],[15]],
|
2229
|
+
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2230
|
+
locals:[124,127,124,124],localNames:["handler","handler#type","promise","promise#type","flags","flags#type","out","#member_setter_ptr_tmp","#member_obj_assign","#member_prop_assign"],
|
2231
|
+
usedTypes:[80],
|
2232
|
+
}
|
2233
|
+
this.__Porffor_then = {
|
2234
|
+
wasm:(_,{builtin})=>[[32,0],[33,7],[68,1],[34,8],[252,3],[65,9],[108],[32,7],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,9],[34,6],[68,0],[97],[4,64],[32,0],[33,7],[68,2],[34,8],[252,3],[65,9],[108],[32,7],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,9],[34,11],[65,208,0],[32,2],[65,208,0],[16,builtin('__Porffor_array_fastPush')],[33,9],[26],[32,0],[33,7],[68,3],[34,8],[252,3],[65,9],[108],[32,7],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[33,9],[34,12],[65,208,0],[32,4],[65,208,0],[16,builtin('__Porffor_array_fastPush')],[33,9],[26],[5],[32,6],[68,1],[97],[4,64],[32,0],[33,7],[68,0],[34,8],[252,3],[65,9],[108],[32,7],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[34,9],[33,14],[33,13],[32,2],[65,208,0],[32,13],[32,14],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,9],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,9],[26],[5],[32,0],[33,7],[68,0],[34,8],[252,3],[65,9],[108],[32,7],[252,3],[106],[34,10],[43,0,4],[32,10],[45,0,12],[34,9],[33,16],[33,15],[32,4],[65,208,0],[32,15],[32,16],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,9],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,9],[26],[11],[11],[68,0],[65,128,1],[15]],
|
2235
|
+
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2236
|
+
locals:[124,124,124,127,127,124,124,124,127,124,127],localNames:["promise","promise#type","fulfillReaction","fulfillReaction#type","rejectReaction","rejectReaction#type","state","#member_obj","#member_prop","#last_type","#loadArray_offset","fulfillReactions","rejectReactions","value","value#type","reason","reason#type"],
|
2237
|
+
usedTypes:[80],
|
2226
2238
|
}
|
2227
2239
|
this.__Porffor_promise_resolve = {
|
2228
|
-
wasm:(_,{t,builtin})=>[[32,0],[32,1],[16,builtin('__ecma262_IsPromise')],[33,
|
2240
|
+
wasm:(_,{t,builtin,funcRef,internalThrow})=>[[2,127],[32,0],[34,4],[32,2],[34,5],[32,1],[65,128,1],[114],[65,195,1],[70],[32,3],[65,128,1],[114],[65,195,1],[70],[114],[4,64],[32,4],[32,1],[32,5],[32,3],[16,builtin('__Porffor_compareStrings')],[26],[252,3],[12,1],[11],[97],[11],[32,1],[65,128,1],[114],[32,3],[65,128,1],[114],[70],[113],[4,64],...internalThrow(_,'TypeError',`cannot resolve promise with itself`),[11],[32,0],[32,1],[16,builtin('__ecma262_IsPromise')],[33,6],[33,7],[32,6],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],...funcRef('__Porffor_promise_noop'),[65,6],[32,2],[32,3],[68,0],[65,1],[16,builtin('__Porffor_promise_newReaction')],[33,6],[33,9],...funcRef('__Porffor_promise_noop'),[65,6],[32,2],[32,3],[68,2],[65,1],[16,builtin('__Porffor_promise_newReaction')],[33,6],[33,10],[32,0],[32,1],[32,9],[65,208,0],[32,10],[65,208,0],[16,builtin('__Porffor_then')],[33,6],[26],[5],[32,2],[32,3],[32,0],[32,1],[16,builtin('__ecma262_FulfillPromise')],[33,6],[26],[11],[68,0],[65,128,1],[15]],
|
2229
2241
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2230
|
-
locals:[127,124,127],localNames:["value","value#type","promise","promise#type","#last_type","#logicinner_tmp","#typeswitch_tmp1"],
|
2242
|
+
locals:[124,124,127,124,127,124,124],localNames:["value","value#type","promise","promise#type","__tmpop_left","__tmpop_right","#last_type","#logicinner_tmp","#typeswitch_tmp1","fulfillReaction","rejectReaction"],
|
2243
|
+
usedTypes:[80],
|
2244
|
+
usesTag:1,
|
2231
2245
|
}
|
2232
2246
|
this.__Porffor_promise_reject = {
|
2233
|
-
wasm:(_,{
|
2247
|
+
wasm:(_,{builtin})=>[[32,2],[32,3],[32,0],[32,1],[16,builtin('__ecma262_RejectPromise')],[26],[26],[68,0],[65,128,1],[15]],
|
2234
2248
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2235
|
-
locals:[127
|
2249
|
+
locals:[127],localNames:["reason","reason#type","promise","promise#type","#last_type"],
|
2236
2250
|
}
|
2237
2251
|
this.__Porffor_promise_create = {
|
2238
2252
|
wasm:(_,{builtin})=>[[65,192,0],[16,builtin('__Porffor_allocateBytes')],[183],[34,0],[33,2],[68,0],[33,3],[32,2],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,1],[68,0],[57,0,4],[32,1],[65,128,1],[58,0,12],[32,0],[33,2],[68,1],[33,3],[32,2],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,1],[68,0],[57,0,4],[32,1],[65,1],[58,0,12],[65,128,4],[16,builtin('__Porffor_allocateBytes')],[183],[33,4],[32,0],[33,2],[68,2],[33,3],[32,2],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,1],[32,4],[57,0,4],[32,1],[65,208,0],[58,0,12],[65,128,4],[16,builtin('__Porffor_allocateBytes')],[183],[33,5],[32,0],[33,2],[68,3],[33,3],[32,2],[252,3],[32,3],[252,3],[65,9],[108],[106],[34,1],[32,5],[57,0,4],[32,1],[65,208,0],[58,0,12],[32,0],[65,208,0],[15]],
|
@@ -2240,21 +2254,16 @@ params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
|
2240
2254
|
locals:[124,127,124,124,124,124],localNames:["obj","#member_setter_ptr_tmp","#member_obj_assign","#member_prop_assign","fulfillReactions","rejectReactions"],
|
2241
2255
|
usedTypes:[80],
|
2242
2256
|
}
|
2243
|
-
this.__Porffor_promise_newReaction = {
|
2244
|
-
wasm:(_,{builtin})=>[[65,32],[16,builtin('__Porffor_allocateBytes')],[183],[34,6],[33,8],[68,0],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,0],[57,0,4],[32,7],[65,6],[58,0,12],[32,6],[33,8],[68,1],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,2],[57,0,4],[32,7],[32,3],[58,0,12],[32,6],[33,8],[68,2],[33,9],[32,8],[252,3],[32,9],[252,3],[65,9],[108],[106],[34,7],[32,4],[57,0,4],[32,7],[65,1],[58,0,12],[32,6],[65,208,0],[15]],
|
2245
|
-
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2246
|
-
locals:[124,127,124,124],localNames:["handler","handler#type","promise","promise#type","type","type#type","out","#member_setter_ptr_tmp","#member_obj_assign","#member_prop_assign"],
|
2247
|
-
usedTypes:[80],
|
2248
|
-
}
|
2249
2257
|
this.__Porffor_promise_runNext = {
|
2250
|
-
wasm:(_,{builtin})=>[[32,0],[65,6],[68,0],[65,128,1],[68,1],[65,1],[16,builtin('__Porffor_promise_newReaction')],[
|
2258
|
+
wasm:(_,{builtin})=>[[32,0],[65,6],[68,0],[65,128,1],[68,1],[65,1],[16,builtin('__Porffor_promise_newReaction')],[33,3],[34,2],[65,208,0],[68,0],[65,128,1],[16,builtin('__ecma262_NewPromiseReactionJob')],[34,3],[16,builtin('__ecma262_HostEnqueuePromiseJob')],[33,3],[26],[68,0],[65,128,1],[15]],
|
2251
2259
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2252
|
-
locals:[124,127
|
2260
|
+
locals:[124,127],localNames:["func","func#type","reaction","#last_type"],
|
2261
|
+
usedTypes:[80],
|
2253
2262
|
}
|
2254
2263
|
this.__Porffor_promise_runJobs = {
|
2255
|
-
wasm:(_,{t,glbl,builtin,internalThrow})=>[[3,64],[65,1],[4,64],...glbl(35,'jobQueue',124),[252,3],[34,3],[40,1,0],[33,2],[2,124],[32,2],[69],[4,64],[68,0],[12,1],[11],[32,3],[32,2],[65,1],[107],[34,2],[54,1,0],[32,3],[43,0,4],[32,3],[45,0,12],[65,4],[32,3],[106],[65,13],[32,3],[106],[32,2],[65,9],[108],[252,10,0,0],[33,4],[11],[33,0],[32,4],[33,1],[32,0],[33,5],[32,1],[33,6],[2,127],...t([0,128],()=>[[32,6],[65,0],[70],[32,6],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,6],[65,7],[70],[4,64],[32,5],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],[12,1],[11],[32,0],[33,8],[68,0],[33,9],[32,1],[33,6],[2,124],...t([67],()=>[[32,6],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[65,2],[108],[32,8],[252,3],[106],[47,0,4],[59,0,4],[32,10],[184],[65,195,0],[33,4],[12,1],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[32,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[12,1],[11]]),...t([88],()=>[[32,6],[65,216,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([91],()=>[[32,6],[65,219,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([92],()=>[[32,6],[65,220,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([93],()=>[[32,6],[65,221,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([94],()=>[[32,6],[65,222,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([95],()=>[[32,6],[65,223,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11]]),...t([96],()=>[[32,6],[65,224,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11]]),...t([128],()=>[[32,6],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,6],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[32,8],[252,3],[106],[45,0,4],[58,0,4],[32,10],[184],[65,195,1],[33,4],[12,1],[11]]),[32,8],[252,2],[32,1],[32,9],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,12],[252,2],[32,12],[16,builtin('__Porffor_object_get')],[33,4],[11],[34,7],[33,8],[68,0],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[33,13],[32,7],[33,8],[68,1],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[34,4],[33,15],[33,14],[32,7],[33,8],[68,2],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[33,16],[32,0],[33,8],[68,1],[33,9],[32,1],[33,6],[2,124],...t([67],()=>[[32,6],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[65,2],[108],[32,8],[252,3],[106],[47,0,4],[59,0,4],[32,10],[184],[65,195,0],[33,4],[12,1],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[32,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[12,1],[11]]),...t([88],()=>[[32,6],[65,216,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([91],()=>[[32,6],[65,219,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([92],()=>[[32,6],[65,220,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([93],()=>[[32,6],[65,221,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([94],()=>[[32,6],[65,222,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([95],()=>[[32,6],[65,223,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11]]),...t([96],()=>[[32,6],[65,224,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11]]),...t([128],()=>[[32,6],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,6],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[32,8],[252,3],[106],[45,0,4],[58,0,4],[32,10],[184],[65,195,1],[33,4],[12,1],[11]]),[32,8],[252,2],[32,1],[32,9],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,12],[252,2],[32,12],[16,builtin('__Porffor_object_get')],[33,4],[11],[33,17],[32,4],[33,18],[32,16],[68,
|
2264
|
+
wasm:(_,{t,glbl,builtin,internalThrow})=>[[3,64],[65,1],[4,64],...glbl(35,'jobQueue',124),[252,3],[34,3],[40,1,0],[33,2],[2,124],[32,2],[69],[4,64],[68,0],[12,1],[11],[32,3],[32,2],[65,1],[107],[34,2],[54,1,0],[32,3],[43,0,4],[32,3],[45,0,12],[65,4],[32,3],[106],[65,13],[32,3],[106],[32,2],[65,9],[108],[252,10,0,0],[33,4],[11],[33,0],[32,4],[33,1],[32,0],[33,5],[32,1],[33,6],[2,127],...t([0,128],()=>[[32,6],[65,0],[70],[32,6],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,6],[65,7],[70],[4,64],[32,5],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],[12,1],[11],[32,0],[33,8],[68,0],[33,9],[32,1],[33,6],[2,124],...t([67],()=>[[32,6],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[65,2],[108],[32,8],[252,3],[106],[47,0,4],[59,0,4],[32,10],[184],[65,195,0],[33,4],[12,1],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[32,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[12,1],[11]]),...t([88],()=>[[32,6],[65,216,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([91],()=>[[32,6],[65,219,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([92],()=>[[32,6],[65,220,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([93],()=>[[32,6],[65,221,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([94],()=>[[32,6],[65,222,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([95],()=>[[32,6],[65,223,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11]]),...t([96],()=>[[32,6],[65,224,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11]]),...t([128],()=>[[32,6],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,6],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[32,8],[252,3],[106],[45,0,4],[58,0,4],[32,10],[184],[65,195,1],[33,4],[12,1],[11]]),[32,8],[252,2],[32,1],[32,9],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,12],[252,2],[32,12],[16,builtin('__Porffor_object_get')],[33,4],[11],[34,7],[33,8],[68,0],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[33,13],[32,7],[33,8],[68,1],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[34,4],[33,15],[33,14],[32,7],[33,8],[68,2],[34,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[33,16],[32,0],[33,8],[68,1],[33,9],[32,1],[33,6],[2,124],...t([67],()=>[[32,6],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[65,2],[108],[32,8],[252,3],[106],[47,0,4],[59,0,4],[32,10],[184],[65,195,0],[33,4],[12,1],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[32,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,4],[12,1],[11]]),...t([88],()=>[[32,6],[65,216,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[44,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([91],()=>[[32,6],[65,219,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([92],()=>[[32,6],[65,220,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([93],()=>[[32,6],[65,221,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,4],[12,1],[11]]),...t([94],()=>[[32,6],[65,222,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,4],[12,1],[11]]),...t([95],()=>[[32,6],[65,223,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,4],[12,1],[11]]),...t([96],()=>[[32,6],[65,224,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,4],[12,1],[11]]),...t([128],()=>[[32,6],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,6],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[32,8],[252,3],[106],[45,0,4],[58,0,4],[32,10],[184],[65,195,1],[33,4],[12,1],[11]]),[32,8],[252,2],[32,1],[32,9],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,12],[252,2],[32,12],[16,builtin('__Porffor_object_get')],[33,4],[11],[33,17],[32,4],[33,18],[32,16],[68,1],[16,builtin('f64_&')],[252,3],[4,64],[32,13],[33,21],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,21],[252,3],[17,10,0],[33,4],[26],[32,17],[33,19],[32,18],[33,20],[5],[32,13],[33,21],[68,0],[65,128,1],[68,0],[65,128,1],[32,17],[32,18],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,21],[252,3],[17,10,0],[34,4],[33,20],[33,19],[11],[32,14],[33,5],[32,15],[33,6],[2,127],...t([67,195],()=>[[32,6],[65,195,0],[70],[32,6],[65,195,1],[70],[114],[4,64],[32,5],[252,3],[40,1,0],[12,1],[11]]),[32,5],[252,3],[11],[4,64],[32,16],[68,2],[16,builtin('f64_&')],[252,3],[4,64],[32,19],[32,20],[32,14],[32,15],[16,builtin('__Porffor_promise_reject')],[33,4],[26],[5],[32,19],[32,20],[32,14],[32,15],[16,builtin('__Porffor_promise_resolve')],[33,4],[26],[11],[11],[12,1],[11],[11],[68,0],[65,128,1],[15]],
|
2256
2265
|
params:[],typedParams:1,returns:[124,127],typedReturns:1,
|
2257
|
-
locals:[124,127,127,127,127,124,127,124,124,124,127,127,127,124,124,127,124,124,127,124,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","
|
2266
|
+
locals:[124,127,127,127,127,124,127,124,124,124,127,127,127,124,124,127,124,124,127,124,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","flags","value","value#type","outValue","outValue#type","#indirect_callee"],
|
2258
2267
|
usedTypes:[80,67,195],
|
2259
2268
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
2260
2269
|
table:1,usesTag:1,
|
@@ -2299,9 +2308,9 @@ locals:[124,127,124],localNames:["reason","reason#type","obj","#last_type","pro"
|
|
2299
2308
|
usedTypes:[80,36],
|
2300
2309
|
}
|
2301
2310
|
this.__Promise_prototype_then = {
|
2302
|
-
wasm:(_,{t,builtin,funcRef,internalThrow})=>[[32,0],[32,1],[16,builtin('__ecma262_IsPromise')],[33,6],[33,7],[32,6],[33,8],[2,124],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,7],[68,0],[97],[184],[11],[252,3],[4,64],...internalThrow(_,'TypeError',`Promise.prototype.then called on non-Promise`),[11],[32,3],[184],[68,6],[98],[4,64],...funcRef('__Porffor_promise_noop'),[33,2],[65,6],[33,3],[11],[32,5],[184],[68,6],[98],[4,64],...funcRef('__Porffor_promise_noop'),[33,4],[65,6],[33,5],[11],[
|
2311
|
+
wasm:(_,{t,builtin,funcRef,internalThrow})=>[[32,0],[32,1],[16,builtin('__ecma262_IsPromise')],[33,6],[33,7],[32,6],[33,8],[2,124],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,7],[68,0],[97],[184],[11],[252,3],[4,64],...internalThrow(_,'TypeError',`Promise.prototype.then called on non-Promise`),[11],[32,3],[184],[68,6],[98],[4,64],...funcRef('__Porffor_promise_noop'),[33,2],[65,6],[33,3],[11],[32,5],[184],[68,6],[98],[4,64],...funcRef('__Porffor_promise_noop'),[33,4],[65,6],[33,5],[11],[16,builtin('__Porffor_promise_create')],[33,6],[33,9],[32,2],[32,3],[32,9],[65,208,0],[68,0],[65,1],[16,builtin('__Porffor_promise_newReaction')],[33,6],[33,10],[32,4],[32,5],[32,9],[65,208,0],[68,2],[65,1],[16,builtin('__Porffor_promise_newReaction')],[33,6],[33,11],[32,0],[32,1],[32,10],[65,208,0],[32,11],[65,208,0],[16,builtin('__Porffor_then')],[33,6],[26],[32,9],[34,12],[65,36],[15]],
|
2303
2312
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2304
|
-
locals:[127,124,127,124,124,124,124
|
2313
|
+
locals:[127,124,127,124,124,124,124],localNames:["_this","_this#type","onFulfilled","onFulfilled#type","onRejected","onRejected#type","#last_type","#logicinner_tmp","#typeswitch_tmp1","outPromise","fulfillReaction","rejectReaction","pro"],
|
2305
2314
|
usedTypes:[80,36],
|
2306
2315
|
usesTag:1,
|
2307
2316
|
}
|
@@ -2318,7 +2327,7 @@ usedTypes:[80,36],
|
|
2318
2327
|
usesTag:1,
|
2319
2328
|
}
|
2320
2329
|
this.__Promise_all = {
|
2321
|
-
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,
|
2330
|
+
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,23],[65,6],[68,0],[65,7],...funcRef('#anonymous_3'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2322
2331
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2323
2332
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2324
2333
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
@@ -2353,7 +2362,7 @@ globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/j
|
|
2353
2362
|
table:1,usesTag:1,
|
2354
2363
|
}
|
2355
2364
|
this.__Promise_allSettled = {
|
2356
|
-
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,
|
2365
|
+
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,23],[65,6],[68,0],[65,7],...funcRef('#anonymous_7'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2357
2366
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2358
2367
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2359
2368
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
@@ -2390,13 +2399,13 @@ globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/j
|
|
2390
2399
|
table:1,usesTag:1,
|
2391
2400
|
}
|
2392
2401
|
this.__Promise_any = {
|
2393
|
-
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,
|
2402
|
+
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,23],[65,6],[68,0],[65,7],...funcRef('#anonymous_11'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2394
2403
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2395
2404
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2396
2405
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
2397
2406
|
}
|
2398
2407
|
this['#anonymous_11'] = {
|
2399
|
-
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),[65,208,0],...glbl(36,'_allOut#type',127),[68,0],...glbl(36,'_allLen',124),[65,1],...glbl(36,'_allLen#type',127),...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,50],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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([50],()=>[[32,15],[65,50],[70],[4,64],[12,1],[11]]),...t([67],()=>[[32,15],[65,195,0],[70],[4,64],[65,195,0],[33,10],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,19],[65,1],[54,0,0],[3,64],[32,19],[32,5],[47,0,4],[59,0,4],[32,19],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,19],[65,1],[54,0,0],[3,64],[32,19],[32,5],[32,7],[106],[45,0,4],[58,0,4],[32,19],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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,'_allRej',124),[33,18],...glbl(35,'_allRej#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[68,44],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('AggregateError')],[34,13],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRej is not a function`),[68,0],[11],[26],[11],[68,0],[65,128,1],[15]],
|
2408
|
+
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),[65,208,0],...glbl(36,'_allOut#type',127),[68,0],...glbl(36,'_allLen',124),[65,1],...glbl(36,'_allLen#type',127),...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,50],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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([50],()=>[[32,15],[65,50],[70],[4,64],[12,1],[11]]),...t([67],()=>[[32,15],[65,195,0],[70],[4,64],[65,195,0],[33,10],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,19],[65,1],[54,0,0],[3,64],[32,19],[32,5],[47,0,4],[59,0,4],[32,19],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,19],[65,1],[54,0,0],[3,64],[32,19],[32,5],[32,7],[106],[45,0,4],[58,0,4],[32,19],[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_12'),[65,6],...funcRef('#anonymous_13'),[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,'_allRes',124),[33,18],...glbl(35,'_allRes#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,11],[32,12],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[32,13],[15],[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,'_allRej',124),[33,18],...glbl(35,'_allRej#type',127),[33,15],[2,124],...t([6],()=>[[32,15],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[68,46],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('AggregateError')],[34,13],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,18],[252,3],[17,10,0],[33,13],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRej is not a function`),[68,0],[11],[26],[11],[68,0],[65,128,1],[15]],
|
2400
2409
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2401
2410
|
locals:[124,127,127,127,127,124,127,124,127,127,124,127,124,127,124,127],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","#indirect_callee","#forof_allocd"],
|
2402
2411
|
usedTypes:[80,67,195],
|
@@ -2411,14 +2420,14 @@ globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/j
|
|
2411
2420
|
table:1,usesTag:1,
|
2412
2421
|
}
|
2413
2422
|
this['#anonymous_13'] = {
|
2414
|
-
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,5],...glbl(35,'_allRes#type',127),[33,6],[2,124],...t([6],()=>[[32,6],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[68,
|
2423
|
+
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,5],...glbl(35,'_allRes#type',127),[33,6],[2,124],...t([6],()=>[[32,6],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[68,46],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('AggregateError')],[34,2],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,5],[252,3],[17,10,0],[33,2],[12,1],[11]]),...internalThrow(_,'TypeError',`_allRes is not a function`),[68,0],[11],[26],[11],[68,0],[65,128,1],[15]],
|
2415
2424
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2416
2425
|
locals:[127,124,124,124,127],localNames:["r","r#type","#last_type","__tmpop_left","__tmpop_right","#indirect_callee","#typeswitch_tmp2"],
|
2417
2426
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
2418
2427
|
table:1,usesTag:1,
|
2419
2428
|
}
|
2420
2429
|
this.__Promise_race = {
|
2421
|
-
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,
|
2430
|
+
wasm:(_,{glbl,builtin,funcRef})=>[[32,0],...glbl(36,'_allPromises',124),[32,1],...glbl(36,'_allPromises#type',127),[68,23],[65,6],[68,0],[65,7],...funcRef('#anonymous_14'),[65,6],[16,builtin('Promise')],[34,2],[15]],
|
2422
2431
|
params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
2423
2432
|
locals:[127],localNames:["promises","promises#type","#last_type"],
|
2424
2433
|
globalInits:{jobQueue:(_,{allocPage,glbl})=>[...number(allocPage(_,'promise.ts/jobQueue'),124),...glbl(36,'jobQueue',124),[65,16],[26]]},
|
package/package.json
CHANGED