porffor 0.28.10 → 0.28.12
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/CONTRIBUTING.md +1 -1
- package/compiler/builtins/_internal_object.ts +6 -0
- package/compiler/builtins/array.ts +8 -7
- package/compiler/builtins/boolean.ts +7 -0
- package/compiler/builtins/console.ts +121 -121
- package/compiler/builtins/dataview.ts +4 -4
- package/compiler/builtins/object.ts +3 -3
- package/compiler/builtins/porffor.d.ts +1 -1
- package/compiler/builtins_precompiled.js +20 -13
- package/compiler/codegen.js +32 -20
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/CONTRIBUTING.md
CHANGED
@@ -202,7 +202,7 @@ Store the character code into the `out` pointer variable, and increment it.
|
|
202
202
|
- Attempt to avoid object/string/array-heavy code and use more variables instead if possible, easier on memory and CPU/perf.
|
203
203
|
- Do not set a return type for prototype methods, it can cause errors/unexpected results.
|
204
204
|
- You cannot use other functions in the file not exported, or variables not inside the current function.
|
205
|
-
- `if (...)` uses a fast truthy implementation which is not spec-compliant as most conditions should be strictly checked. To use spec-compliant behavior, use `if (
|
205
|
+
- `if (...)` uses a fast truthy implementation which is not spec-compliant as most conditions should be strictly checked. To use spec-compliant behavior, use `if (!!...)`.
|
206
206
|
- For object (string/array/etc) literals, you must use a variable eg `const out: bytestring = 'foobar'; console.log(out);` instead of `console.log('foobar')` due to precompile's allocator constraints.
|
207
207
|
- You should generally use non-strict equality ops (`==`/`!=`).
|
208
208
|
|
@@ -102,6 +102,8 @@ export const __Porffor_object_accessorSet = (entryPtr: i32): Function => {
|
|
102
102
|
|
103
103
|
|
104
104
|
export const __Porffor_object_lookup = (obj: object, target: any): i32 => {
|
105
|
+
if (Porffor.wasm`local.get ${obj}` == 0) return -1;
|
106
|
+
|
105
107
|
const targetType: i32 = Porffor.wasm`local.get ${target+1}`;
|
106
108
|
|
107
109
|
let ptr: i32 = Porffor.wasm`local.get ${obj}` + 5;
|
@@ -145,6 +147,8 @@ export const __Porffor_object_lookup = (obj: object, target: any): i32 => {
|
|
145
147
|
};
|
146
148
|
|
147
149
|
export const __Porffor_object_get = (obj: any, key: any): any => {
|
150
|
+
if (Porffor.wasm`local.get ${obj}` == 0) throw new TypeError('Cannot get property of null');
|
151
|
+
|
148
152
|
if (Porffor.wasm`local.get ${obj+1}` == Porffor.TYPES.function) {
|
149
153
|
let tmp: bytestring = '';
|
150
154
|
tmp = 'name';
|
@@ -241,6 +245,8 @@ export const __Porffor_object_writeKey = (ptr: i32, key: any): void => {
|
|
241
245
|
};
|
242
246
|
|
243
247
|
export const __Porffor_object_set = (obj: object, key: any, value: any): any => {
|
248
|
+
if (Porffor.wasm`local.get ${obj}` == 0) throw new TypeError('Cannot set property of null');
|
249
|
+
|
244
250
|
let entryPtr: i32 = __Porffor_object_lookup(obj, key);
|
245
251
|
let flags: i32;
|
246
252
|
if (entryPtr == -1) {
|
@@ -435,7 +435,7 @@ export const __Array_prototype_filter = (_this: any[], callbackFn: any) => {
|
|
435
435
|
let j: i32 = 0;
|
436
436
|
while (i < len) {
|
437
437
|
const el: any = _this[i];
|
438
|
-
if (
|
438
|
+
if (!!callbackFn(el, i++, _this)) out[j++] = el;
|
439
439
|
}
|
440
440
|
|
441
441
|
out.length = j;
|
@@ -478,7 +478,7 @@ export const __Array_prototype_find = (_this: any[], callbackFn: any) => {
|
|
478
478
|
let i: i32 = 0;
|
479
479
|
while (i < len) {
|
480
480
|
const el: any = _this[i];
|
481
|
-
if (
|
481
|
+
if (!!callbackFn(el, i++, _this)) return el;
|
482
482
|
}
|
483
483
|
};
|
484
484
|
|
@@ -487,7 +487,7 @@ export const __Array_prototype_findLast = (_this: any[], callbackFn: any) => {
|
|
487
487
|
let i: i32 = _this.length;
|
488
488
|
while (i > 0) {
|
489
489
|
const el: any = _this[--i];
|
490
|
-
if (
|
490
|
+
if (!!callbackFn(el, i, _this)) return el;
|
491
491
|
}
|
492
492
|
};
|
493
493
|
|
@@ -496,7 +496,7 @@ export const __Array_prototype_findIndex = (_this: any[], callbackFn: any) => {
|
|
496
496
|
const len: i32 = _this.length;
|
497
497
|
let i: i32 = 0;
|
498
498
|
while (i < len) {
|
499
|
-
if (
|
499
|
+
if (!!callbackFn(_this[i], i++, _this)) return i;
|
500
500
|
}
|
501
501
|
};
|
502
502
|
|
@@ -504,7 +504,7 @@ export const __Array_prototype_findIndex = (_this: any[], callbackFn: any) => {
|
|
504
504
|
export const __Array_prototype_findLastIndex = (_this: any[], callbackFn: any) => {
|
505
505
|
let i: i32 = _this.length;
|
506
506
|
while (i > 0) {
|
507
|
-
if (
|
507
|
+
if (!!callbackFn(_this[--i], i, _this)) return i;
|
508
508
|
}
|
509
509
|
};
|
510
510
|
|
@@ -513,7 +513,8 @@ export const __Array_prototype_every = (_this: any[], callbackFn: any) => {
|
|
513
513
|
const len: i32 = _this.length;
|
514
514
|
let i: i32 = 0;
|
515
515
|
while (i < len) {
|
516
|
-
if (
|
516
|
+
if (!!callbackFn(_this[i], i++, _this)) {}
|
517
|
+
else return false;
|
517
518
|
}
|
518
519
|
|
519
520
|
return true;
|
@@ -524,7 +525,7 @@ export const __Array_prototype_some = (_this: any[], callbackFn: any) => {
|
|
524
525
|
const len: i32 = _this.length;
|
525
526
|
let i: i32 = 0;
|
526
527
|
while (i < len) {
|
527
|
-
if (
|
528
|
+
if (!!callbackFn(_this[i], i++, _this)) return true;
|
528
529
|
}
|
529
530
|
|
530
531
|
return false;
|
@@ -1,5 +1,12 @@
|
|
1
1
|
import type {} from './porffor.d.ts';
|
2
2
|
|
3
|
+
export const Boolean = function (value: any): boolean {
|
4
|
+
// hack: allow to be called via new but we do not have prim objects yet
|
5
|
+
new.target;
|
6
|
+
|
7
|
+
return !!value;
|
8
|
+
};
|
9
|
+
|
3
10
|
// 20.3.3.2 Boolean.prototype.toString ()
|
4
11
|
// https://tc39.es/ecma262/#sec-boolean.prototype.tostring
|
5
12
|
export const __Boolean_prototype_toString = (_this: boolean) => {
|
@@ -18,12 +18,12 @@ export const __Porffor_printString = (arg: bytestring|string) => {
|
|
18
18
|
|
19
19
|
export const __Porffor_printHexDigit = (arg: number) => {
|
20
20
|
switch (arg) {
|
21
|
-
case 0xf: printStatic('f'); return;
|
22
|
-
case 0xe: printStatic('e'); return;
|
23
|
-
case 0xd: printStatic('d'); return;
|
24
|
-
case 0xc: printStatic('c'); return;
|
25
|
-
case 0xb: printStatic('b'); return;
|
26
|
-
case 0xa: printStatic('a'); return;
|
21
|
+
case 0xf: Porffor.printStatic('f'); return;
|
22
|
+
case 0xe: Porffor.printStatic('e'); return;
|
23
|
+
case 0xd: Porffor.printStatic('d'); return;
|
24
|
+
case 0xc: Porffor.printStatic('c'); return;
|
25
|
+
case 0xb: Porffor.printStatic('b'); return;
|
26
|
+
case 0xa: Porffor.printStatic('a'); return;
|
27
27
|
|
28
28
|
default: print(arg);
|
29
29
|
}
|
@@ -31,7 +31,7 @@ export const __Porffor_printHexDigit = (arg: number) => {
|
|
31
31
|
|
32
32
|
export const __Porffor_numberLog = (arg: number) => {
|
33
33
|
print(arg);
|
34
|
-
printStatic('\n');
|
34
|
+
Porffor.printStatic('\n');
|
35
35
|
};
|
36
36
|
|
37
37
|
export const __Porffor_miniLog = (arg: any) => {
|
@@ -42,48 +42,48 @@ export const __Porffor_miniLog = (arg: any) => {
|
|
42
42
|
|
43
43
|
case Porffor.TYPES.boolean:
|
44
44
|
if (arg) {
|
45
|
-
printStatic('true');
|
45
|
+
Porffor.printStatic('true');
|
46
46
|
} else {
|
47
|
-
printStatic('false');
|
47
|
+
Porffor.printStatic('false');
|
48
48
|
}
|
49
49
|
break;
|
50
50
|
|
51
51
|
case Porffor.TYPES.bytestring:
|
52
52
|
case Porffor.TYPES.string:
|
53
|
-
printStatic("'");
|
53
|
+
Porffor.printStatic("'");
|
54
54
|
__Porffor_printString(arg);
|
55
|
-
printStatic("'");
|
55
|
+
Porffor.printStatic("'");
|
56
56
|
break;
|
57
57
|
|
58
58
|
case Porffor.TYPES.array:
|
59
59
|
const arrLen: i32 = arg.length - 1;
|
60
60
|
if (arrLen == -1) {
|
61
|
-
printStatic('[]');
|
61
|
+
Porffor.printStatic('[]');
|
62
62
|
} else {
|
63
|
-
printStatic('[ ');
|
63
|
+
Porffor.printStatic('[ ');
|
64
64
|
for (let i: i32 = 0; i <= arrLen; i++) {
|
65
65
|
__Porffor_miniLog(arg[i]);
|
66
|
-
if (i != arrLen) printStatic(', ');
|
66
|
+
if (i != arrLen) Porffor.printStatic(', ');
|
67
67
|
}
|
68
|
-
printStatic(' ]');
|
68
|
+
Porffor.printStatic(' ]');
|
69
69
|
}
|
70
70
|
break;
|
71
71
|
|
72
72
|
case Porffor.TYPES.empty:
|
73
73
|
case Porffor.TYPES.undefined:
|
74
|
-
printStatic('undefined');
|
74
|
+
Porffor.printStatic('undefined');
|
75
75
|
break;
|
76
76
|
|
77
77
|
case Porffor.TYPES.object:
|
78
78
|
if (arg) {
|
79
|
-
printStatic('[Object]');
|
79
|
+
Porffor.printStatic('[Object]');
|
80
80
|
} else {
|
81
|
-
printStatic('null');
|
81
|
+
Porffor.printStatic('null');
|
82
82
|
}
|
83
83
|
break;
|
84
84
|
}
|
85
85
|
|
86
|
-
printStatic('\n');
|
86
|
+
Porffor.printStatic('\n');
|
87
87
|
};
|
88
88
|
|
89
89
|
export const __Porffor_print = (arg: any, colors: boolean = true) => {
|
@@ -94,102 +94,102 @@ export const __Porffor_print = (arg: any, colors: boolean = true) => {
|
|
94
94
|
const arrLen: i32 = arg.length - 1;
|
95
95
|
|
96
96
|
if (length) {
|
97
|
-
printStatic('(');
|
97
|
+
Porffor.printStatic('(');
|
98
98
|
print(arrLen + 1);
|
99
|
-
printStatic(') ');
|
99
|
+
Porffor.printStatic(') ');
|
100
100
|
}
|
101
101
|
|
102
102
|
if (arrLen == -1) {
|
103
|
-
printStatic('[]');
|
103
|
+
Porffor.printStatic('[]');
|
104
104
|
} else {
|
105
|
-
printStatic('[ ');
|
105
|
+
Porffor.printStatic('[ ');
|
106
106
|
for (let i: i32 = 0; i <= arrLen; i++) {
|
107
107
|
__Porffor_print(arg[i], colors);
|
108
|
-
if (i != arrLen) printStatic(', ');
|
108
|
+
if (i != arrLen) Porffor.printStatic(', ');
|
109
109
|
}
|
110
|
-
printStatic(' ]');
|
110
|
+
Porffor.printStatic(' ]');
|
111
111
|
}
|
112
112
|
};
|
113
113
|
|
114
114
|
switch (Porffor.rawType(arg)) {
|
115
115
|
case Porffor.TYPES.number:
|
116
|
-
if (colors) printStatic('\x1b[33m'); // yellow
|
116
|
+
if (colors) Porffor.printStatic('\x1b[33m'); // yellow
|
117
117
|
print(arg);
|
118
|
-
if (colors) printStatic('\x1b[0m');
|
118
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
119
119
|
return;
|
120
120
|
|
121
121
|
case Porffor.TYPES.boolean:
|
122
|
-
if (colors) printStatic('\x1b[33m'); // yellow
|
122
|
+
if (colors) Porffor.printStatic('\x1b[33m'); // yellow
|
123
123
|
if (arg) {
|
124
|
-
printStatic('true');
|
124
|
+
Porffor.printStatic('true');
|
125
125
|
} else {
|
126
|
-
printStatic('false');
|
126
|
+
Porffor.printStatic('false');
|
127
127
|
}
|
128
|
-
if (colors) printStatic('\x1b[0m');
|
128
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
129
129
|
return;
|
130
130
|
|
131
131
|
case Porffor.TYPES.bytestring:
|
132
132
|
case Porffor.TYPES.string:
|
133
|
-
if (colors) printStatic('\x1b[32m'); // green
|
134
|
-
printStatic("'");
|
133
|
+
if (colors) Porffor.printStatic('\x1b[32m'); // green
|
134
|
+
Porffor.printStatic("'");
|
135
135
|
|
136
136
|
__Porffor_printString(arg);
|
137
137
|
|
138
|
-
printStatic("'");
|
139
|
-
if (colors) printStatic('\x1b[0m');
|
138
|
+
Porffor.printStatic("'");
|
139
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
140
140
|
return;
|
141
141
|
|
142
142
|
case Porffor.TYPES.empty:
|
143
143
|
case Porffor.TYPES.undefined:
|
144
|
-
if (colors) printStatic('\x1b[2m'); // dim
|
145
|
-
printStatic('undefined');
|
146
|
-
if (colors) printStatic('\x1b[0m');
|
144
|
+
if (colors) Porffor.printStatic('\x1b[2m'); // dim
|
145
|
+
Porffor.printStatic('undefined');
|
146
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
147
147
|
return;
|
148
148
|
|
149
149
|
case Porffor.TYPES.object:
|
150
150
|
if (arg) {
|
151
|
-
printStatic('{\n');
|
151
|
+
Porffor.printStatic('{\n');
|
152
152
|
|
153
153
|
const keys = Object.keys(arg);
|
154
154
|
const len = keys.length - 1;
|
155
155
|
for (let i: i32 = 0; i <= len; i++) {
|
156
156
|
const x = keys[i];
|
157
157
|
|
158
|
-
printStatic(' ');
|
158
|
+
Porffor.printStatic(' ');
|
159
159
|
__Porffor_printString(x);
|
160
160
|
|
161
|
-
printStatic(': ');
|
161
|
+
Porffor.printStatic(': ');
|
162
162
|
__Porffor_print(arg[x]);
|
163
163
|
|
164
|
-
if (i != len) printStatic(',\n');
|
164
|
+
if (i != len) Porffor.printStatic(',\n');
|
165
165
|
}
|
166
166
|
|
167
|
-
printStatic('\n}');
|
167
|
+
Porffor.printStatic('\n}');
|
168
168
|
} else {
|
169
|
-
if (colors) printStatic('\x1b[1m'); // bold
|
170
|
-
printStatic('null');
|
169
|
+
if (colors) Porffor.printStatic('\x1b[1m'); // bold
|
170
|
+
Porffor.printStatic('null');
|
171
171
|
}
|
172
172
|
|
173
|
-
if (colors) printStatic('\x1b[0m');
|
173
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
174
174
|
return;
|
175
175
|
|
176
176
|
case Porffor.TYPES.function:
|
177
177
|
// todo: this actually doesn't work because we don't have function name information at runtime
|
178
|
-
printStatic('[Function ');
|
178
|
+
Porffor.printStatic('[Function ');
|
179
179
|
__Porffor_printString(arg.name);
|
180
|
-
printStatic(']');
|
180
|
+
Porffor.printStatic(']');
|
181
181
|
return;
|
182
182
|
|
183
183
|
case Porffor.TYPES.date:
|
184
|
-
if (colors) printStatic('\x1b[35m'); // purple
|
184
|
+
if (colors) Porffor.printStatic('\x1b[35m'); // purple
|
185
185
|
__Porffor_printString(__Date_prototype_toISOString(arg));
|
186
|
-
if (colors) printStatic('\x1b[0m');
|
186
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
187
187
|
return;
|
188
188
|
|
189
189
|
case Porffor.TYPES.symbol:
|
190
|
-
if (colors) printStatic('\x1b[32m'); // green
|
190
|
+
if (colors) Porffor.printStatic('\x1b[32m'); // green
|
191
191
|
__Porffor_printString(__Symbol_prototype_toString(arg));
|
192
|
-
if (colors) printStatic('\x1b[0m');
|
192
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
193
193
|
return;
|
194
194
|
|
195
195
|
case Porffor.TYPES.array:
|
@@ -197,60 +197,60 @@ export const __Porffor_print = (arg: any, colors: boolean = true) => {
|
|
197
197
|
return;
|
198
198
|
|
199
199
|
case Porffor.TYPES.uint8array:
|
200
|
-
printStatic('Uint8Array');
|
200
|
+
Porffor.printStatic('Uint8Array');
|
201
201
|
__Porffor_printArray(arg, colors, true);
|
202
202
|
return;
|
203
203
|
|
204
204
|
case Porffor.TYPES.int8array:
|
205
|
-
printStatic('Int8Array');
|
205
|
+
Porffor.printStatic('Int8Array');
|
206
206
|
__Porffor_printArray(arg, colors, true);
|
207
207
|
return;
|
208
208
|
|
209
209
|
case Porffor.TYPES.uint8clampedarray:
|
210
|
-
printStatic('Uint8ClampedArray');
|
210
|
+
Porffor.printStatic('Uint8ClampedArray');
|
211
211
|
__Porffor_printArray(arg, colors, true);
|
212
212
|
return;
|
213
213
|
|
214
214
|
case Porffor.TYPES.uint16array:
|
215
|
-
printStatic('Uint16Array');
|
215
|
+
Porffor.printStatic('Uint16Array');
|
216
216
|
__Porffor_printArray(arg, colors, true);
|
217
217
|
return;
|
218
218
|
|
219
219
|
case Porffor.TYPES.int16array:
|
220
|
-
printStatic('Int16Array');
|
220
|
+
Porffor.printStatic('Int16Array');
|
221
221
|
__Porffor_printArray(arg, colors, true);
|
222
222
|
return;
|
223
223
|
|
224
224
|
case Porffor.TYPES.uint32array:
|
225
|
-
printStatic('Uint32Array');
|
225
|
+
Porffor.printStatic('Uint32Array');
|
226
226
|
__Porffor_printArray(arg, colors, true);
|
227
227
|
return;
|
228
228
|
|
229
229
|
case Porffor.TYPES.int32array:
|
230
|
-
printStatic('Int32Array');
|
230
|
+
Porffor.printStatic('Int32Array');
|
231
231
|
__Porffor_printArray(arg, colors, true);
|
232
232
|
return;
|
233
233
|
|
234
234
|
case Porffor.TYPES.float32array:
|
235
|
-
printStatic('Float32Array');
|
235
|
+
Porffor.printStatic('Float32Array');
|
236
236
|
__Porffor_printArray(arg, colors, true);
|
237
237
|
return;
|
238
238
|
|
239
239
|
case Porffor.TYPES.float64array:
|
240
|
-
printStatic('Float64Array');
|
240
|
+
Porffor.printStatic('Float64Array');
|
241
241
|
__Porffor_printArray(arg, colors, true);
|
242
242
|
return;
|
243
243
|
|
244
244
|
case Porffor.TYPES.sharedarraybuffer:
|
245
245
|
case Porffor.TYPES.arraybuffer:
|
246
|
-
if (Porffor.rawType(arg) == Porffor.TYPES.sharedarraybuffer) printStatic('SharedArrayBuffer');
|
247
|
-
else printStatic('ArrayBuffer');
|
248
|
-
printStatic(' {\n');
|
246
|
+
if (Porffor.rawType(arg) == Porffor.TYPES.sharedarraybuffer) Porffor.printStatic('SharedArrayBuffer');
|
247
|
+
else Porffor.printStatic('ArrayBuffer');
|
248
|
+
Porffor.printStatic(' {\n');
|
249
249
|
|
250
|
-
if (colors) printStatic('\x1b[34m'); // blue
|
251
|
-
printStatic(' [Uint8Contents]');
|
252
|
-
if (colors) printStatic('\x1b[0m');
|
253
|
-
printStatic('): <');
|
250
|
+
if (colors) Porffor.printStatic('\x1b[34m'); // blue
|
251
|
+
Porffor.printStatic(' [Uint8Contents]');
|
252
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
253
|
+
Porffor.printStatic('): <');
|
254
254
|
|
255
255
|
const buffer = new Uint8Array(arg);
|
256
256
|
const bufferLen = buffer.length - 1;
|
@@ -258,70 +258,70 @@ export const __Porffor_print = (arg: any, colors: boolean = true) => {
|
|
258
258
|
const ele = buffer[i];
|
259
259
|
__Porffor_printHexDigit((ele & 0xF0) / 16);
|
260
260
|
__Porffor_printHexDigit(ele & 0xF);
|
261
|
-
if (i != bufferLen) printStatic(' ');
|
261
|
+
if (i != bufferLen) Porffor.printStatic(' ');
|
262
262
|
}
|
263
263
|
|
264
|
-
printStatic('>,\n byteLength: ');
|
265
|
-
if (colors) printStatic('\x1b[33m'); // yellow
|
264
|
+
Porffor.printStatic('>,\n byteLength: ');
|
265
|
+
if (colors) Porffor.printStatic('\x1b[33m'); // yellow
|
266
266
|
print(arg.byteLength);
|
267
|
-
if (colors) printStatic('\x1b[0m');
|
268
|
-
printStatic('\n}');
|
267
|
+
if (colors) Porffor.printStatic('\x1b[0m');
|
268
|
+
Porffor.printStatic('\n}');
|
269
269
|
return;
|
270
270
|
|
271
271
|
case Porffor.TYPES.dataview:
|
272
|
-
printStatic('DataView {\n');
|
273
|
-
printStatic(' byteLength: ');
|
272
|
+
Porffor.printStatic('DataView {\n');
|
273
|
+
Porffor.printStatic(' byteLength: ');
|
274
274
|
__Porffor_print(arg.byteLength, colors);
|
275
|
-
printStatic(',\n byteOffset: ');
|
275
|
+
Porffor.printStatic(',\n byteOffset: ');
|
276
276
|
__Porffor_print(arg.byteOffset, colors);
|
277
|
-
printStatic(',\n buffer: ');
|
277
|
+
Porffor.printStatic(',\n buffer: ');
|
278
278
|
__Porffor_print(arg.buffer, colors);
|
279
|
-
printStatic('\n}');
|
279
|
+
Porffor.printStatic('\n}');
|
280
280
|
return;
|
281
281
|
|
282
282
|
case Porffor.TYPES.weakmap:
|
283
283
|
case Porffor.TYPES.map:
|
284
|
-
if (Porffor.rawType(arg) == Porffor.TYPES.weakmap) printStatic('WeakMap');
|
285
|
-
else printStatic('Map');
|
286
|
-
printStatic('(');
|
284
|
+
if (Porffor.rawType(arg) == Porffor.TYPES.weakmap) Porffor.printStatic('WeakMap');
|
285
|
+
else Porffor.printStatic('Map');
|
286
|
+
Porffor.printStatic('(');
|
287
287
|
|
288
288
|
const map = __Map_prototype_keys(arg);
|
289
289
|
const mapLen: i32 = map.length - 1;
|
290
290
|
print(mapLen + 1);
|
291
|
-
printStatic(') { ');
|
291
|
+
Porffor.printStatic(') { ');
|
292
292
|
|
293
293
|
for (let i: i32 = 0; i < mapLen; i++) {
|
294
294
|
const key = map[i];
|
295
295
|
__Porffor_print(key);
|
296
|
-
printStatic(' => ');
|
296
|
+
Porffor.printStatic(' => ');
|
297
297
|
__Porffor_print(__Map_prototype_get(arg, key), colors);
|
298
|
-
if (i != mapLen) printStatic(', ');
|
298
|
+
if (i != mapLen) Porffor.printStatic(', ');
|
299
299
|
}
|
300
300
|
|
301
|
-
printStatic(' }');
|
301
|
+
Porffor.printStatic(' }');
|
302
302
|
return;
|
303
303
|
|
304
304
|
case Porffor.TYPES.weakset:
|
305
305
|
case Porffor.TYPES.set:
|
306
|
-
if (Porffor.rawType(arg) == Porffor.TYPES.weakset) printStatic('WeakSet');
|
307
|
-
else printStatic('Set');
|
308
|
-
printStatic('(');
|
306
|
+
if (Porffor.rawType(arg) == Porffor.TYPES.weakset) Porffor.printStatic('WeakSet');
|
307
|
+
else Porffor.printStatic('Set');
|
308
|
+
Porffor.printStatic('(');
|
309
309
|
|
310
310
|
const set = __Set_prototype_values(arg);
|
311
311
|
const setLen: i32 = set.length - 1;
|
312
312
|
print(setLen + 1);
|
313
|
-
printStatic(') { ');
|
313
|
+
Porffor.printStatic(') { ');
|
314
314
|
|
315
315
|
for (let i: i32 = 0; i <= setLen; i++) {
|
316
316
|
__Porffor_print(set[i], colors);
|
317
|
-
if (i != setLen) printStatic(', ');
|
317
|
+
if (i != setLen) Porffor.printStatic(', ');
|
318
318
|
}
|
319
319
|
|
320
|
-
printStatic(' }');
|
320
|
+
Porffor.printStatic(' }');
|
321
321
|
return;
|
322
322
|
|
323
323
|
case Porffor.TYPES.weakref:
|
324
|
-
printStatic('WeakRef {}');
|
324
|
+
Porffor.printStatic('WeakRef {}');
|
325
325
|
return;
|
326
326
|
|
327
327
|
// case Porffor.TYPES.regexp:
|
@@ -336,12 +336,12 @@ export const __Porffor_print = (arg: any, colors: boolean = true) => {
|
|
336
336
|
let tabLevel = 0;
|
337
337
|
export const __Porffor_consoleIndent = () => {
|
338
338
|
for (let i = 0; i < tabLevel; i++) {
|
339
|
-
printStatic('\t');
|
339
|
+
Porffor.printStatic('\t');
|
340
340
|
}
|
341
341
|
};
|
342
342
|
|
343
343
|
export const __console_clear = () => {
|
344
|
-
printStatic('\x1b[1;1H\x1b[J');
|
344
|
+
Porffor.printStatic('\x1b[1;1H\x1b[J');
|
345
345
|
tabLevel = 0;
|
346
346
|
};
|
347
347
|
|
@@ -375,10 +375,10 @@ export const __console_log = (...args: any[]) => {
|
|
375
375
|
__Porffor_consoleIndent();
|
376
376
|
__Porffor_consolePrint(args[i]);
|
377
377
|
|
378
|
-
if (i != argLen) printStatic(' ');
|
378
|
+
if (i != argLen) Porffor.printStatic(' ');
|
379
379
|
}
|
380
380
|
|
381
|
-
printStatic('\n');
|
381
|
+
Porffor.printStatic('\n');
|
382
382
|
};
|
383
383
|
|
384
384
|
export const __console_debug = (...args: any[]) => {
|
@@ -387,10 +387,10 @@ export const __console_debug = (...args: any[]) => {
|
|
387
387
|
__Porffor_consoleIndent();
|
388
388
|
__Porffor_consolePrint(args[i]);
|
389
389
|
|
390
|
-
if (i != argLen) printStatic(' ');
|
390
|
+
if (i != argLen) Porffor.printStatic(' ');
|
391
391
|
}
|
392
392
|
|
393
|
-
printStatic('\n');
|
393
|
+
Porffor.printStatic('\n');
|
394
394
|
};
|
395
395
|
|
396
396
|
export const __console_info = (...args: any[]) => {
|
@@ -399,10 +399,10 @@ export const __console_info = (...args: any[]) => {
|
|
399
399
|
__Porffor_consoleIndent();
|
400
400
|
__Porffor_consolePrint(args[i]);
|
401
401
|
|
402
|
-
if (i != argLen) printStatic(' ');
|
402
|
+
if (i != argLen) Porffor.printStatic(' ');
|
403
403
|
}
|
404
404
|
|
405
|
-
printStatic('\n');
|
405
|
+
Porffor.printStatic('\n');
|
406
406
|
};
|
407
407
|
|
408
408
|
export const __console_warn = (...args: any[]) => {
|
@@ -411,10 +411,10 @@ export const __console_warn = (...args: any[]) => {
|
|
411
411
|
__Porffor_consoleIndent();
|
412
412
|
__Porffor_consolePrint(args[i]);
|
413
413
|
|
414
|
-
if (i != argLen) printStatic(' ');
|
414
|
+
if (i != argLen) Porffor.printStatic(' ');
|
415
415
|
}
|
416
416
|
|
417
|
-
printStatic('\n');
|
417
|
+
Porffor.printStatic('\n');
|
418
418
|
};
|
419
419
|
|
420
420
|
export const __console_error = (...args: any[]) => {
|
@@ -423,28 +423,28 @@ export const __console_error = (...args: any[]) => {
|
|
423
423
|
__Porffor_consoleIndent();
|
424
424
|
__Porffor_consolePrint(args[i]);
|
425
425
|
|
426
|
-
if (i != argLen) printStatic(' ');
|
426
|
+
if (i != argLen) Porffor.printStatic(' ');
|
427
427
|
}
|
428
428
|
|
429
|
-
printStatic('\n');
|
429
|
+
Porffor.printStatic('\n');
|
430
430
|
};
|
431
431
|
|
432
432
|
export const __console_assert = (assertion: any, ...args: any[]) => {
|
433
433
|
if (assertion) return;
|
434
434
|
|
435
435
|
__Porffor_consoleIndent();
|
436
|
-
printStatic('Assertion failed');
|
436
|
+
Porffor.printStatic('Assertion failed');
|
437
437
|
if (args.length != 0) {
|
438
|
-
printStatic(': ');
|
438
|
+
Porffor.printStatic(': ');
|
439
439
|
}
|
440
440
|
|
441
441
|
const argLen: i32 = args.length - 1;
|
442
442
|
for (let i = 0; i <= argLen; i++) {
|
443
443
|
__Porffor_consolePrint(args[i]);
|
444
|
-
if (i != argLen) printStatic(' ');
|
444
|
+
if (i != argLen) Porffor.printStatic(' ');
|
445
445
|
}
|
446
446
|
|
447
|
-
printStatic('\n');
|
447
|
+
Porffor.printStatic('\n');
|
448
448
|
};
|
449
449
|
|
450
450
|
export const __Porffor_dirObject = (obj: any, colors: boolean, depth: i32, showHidden: boolean) => {
|
@@ -453,22 +453,22 @@ export const __Porffor_dirObject = (obj: any, colors: boolean, depth: i32, showH
|
|
453
453
|
return;
|
454
454
|
}
|
455
455
|
|
456
|
-
printStatic('{ ');
|
456
|
+
Porffor.printStatic('{ ');
|
457
457
|
|
458
458
|
const keys = __Object_keys(obj);
|
459
459
|
const keysLen = keys.length - 1;
|
460
460
|
for (let i = 0; i <= keysLen; i++) {
|
461
461
|
const key = keys[i];
|
462
462
|
__Porffor_consolePrint(key);
|
463
|
-
printStatic(': ');
|
463
|
+
Porffor.printStatic(': ');
|
464
464
|
|
465
465
|
const value = __Porffor_object_get(obj, key);
|
466
466
|
__Porffor_dirObject(value, colors, depth - 1, showHidden);
|
467
467
|
|
468
|
-
if (i != keysLen) printStatic(', ');
|
468
|
+
if (i != keysLen) Porffor.printStatic(', ');
|
469
469
|
}
|
470
470
|
|
471
|
-
printStatic(' }');
|
471
|
+
Porffor.printStatic(' }');
|
472
472
|
};
|
473
473
|
|
474
474
|
export const __console_dir = (obj: any, options: any) => {
|
@@ -486,7 +486,7 @@ export const __console_dir = (obj: any, options: any) => {
|
|
486
486
|
|
487
487
|
__Porffor_consoleIndent();
|
488
488
|
__Porffor_dirObject(obj, colors, depth, showHidden);
|
489
|
-
printStatic('\n');
|
489
|
+
Porffor.printStatic('\n');
|
490
490
|
};
|
491
491
|
|
492
492
|
export const __console_dirxml = (obj: any) => __console_dir(obj);
|
@@ -499,9 +499,9 @@ export const __console_count = (label: any) => {
|
|
499
499
|
|
500
500
|
__Porffor_consoleIndent();
|
501
501
|
__Porffor_consolePrint(label);
|
502
|
-
printStatic(': ');
|
502
|
+
Porffor.printStatic(': ');
|
503
503
|
print(val);
|
504
|
-
printStatic('\n');
|
504
|
+
Porffor.printStatic('\n');
|
505
505
|
};
|
506
506
|
|
507
507
|
export const __console_countReset = (label: any) => {
|
@@ -516,9 +516,9 @@ export const __console_time = (label: any) => {
|
|
516
516
|
|
517
517
|
// warn if label already exists
|
518
518
|
if (timeMap.has(label)) {
|
519
|
-
printStatic("Warning: Timer '");
|
519
|
+
Porffor.printStatic("Warning: Timer '");
|
520
520
|
__Porffor_consolePrint(label);
|
521
|
-
printStatic("' already exists for console.time()\n");
|
521
|
+
Porffor.printStatic("' already exists for console.time()\n");
|
522
522
|
}
|
523
523
|
|
524
524
|
timeMap.set(label, performance.now());
|
@@ -530,17 +530,17 @@ export const __console_timeLog = (label: any) => {
|
|
530
530
|
|
531
531
|
const val = timeMap.get(label);
|
532
532
|
if (!val) {
|
533
|
-
printStatic("Timer '");
|
533
|
+
Porffor.printStatic("Timer '");
|
534
534
|
__Porffor_consolePrint(label);
|
535
|
-
printStatic("' does not exist\n");
|
535
|
+
Porffor.printStatic("' does not exist\n");
|
536
536
|
return;
|
537
537
|
}
|
538
538
|
|
539
539
|
__Porffor_consolePrint(label);
|
540
|
-
printStatic(': ');
|
540
|
+
Porffor.printStatic(': ');
|
541
541
|
|
542
542
|
print(performance.now() - val);
|
543
|
-
printStatic(' ms\n');
|
543
|
+
Porffor.printStatic(' ms\n');
|
544
544
|
};
|
545
545
|
|
546
546
|
export const __console_timeEnd = (label: any) => {
|
@@ -116,7 +116,7 @@ i32.load16_u 0 4
|
|
116
116
|
i32.from_u
|
117
117
|
local.set ${int}`;
|
118
118
|
|
119
|
-
if (
|
119
|
+
if (!!littleEndian) return int;
|
120
120
|
return (int >>> 8) | ((int & 0xFF) << 8);
|
121
121
|
};
|
122
122
|
|
@@ -125,7 +125,7 @@ export const __DataView_prototype_setUint16 = (_this: DataView, byteOffset: numb
|
|
125
125
|
if (Porffor.fastOr(byteOffset < 0, byteOffset + 1 >= len)) throw new RangeError('Byte offset is out of bounds of the DataView');
|
126
126
|
|
127
127
|
let int: i32 = 0;
|
128
|
-
if (
|
128
|
+
if (!!littleEndian) {
|
129
129
|
int = value;
|
130
130
|
} else {
|
131
131
|
int = (value >>> 8) | ((value & 0xFF) << 8);
|
@@ -173,7 +173,7 @@ i32.load 0 4
|
|
173
173
|
i32.from_u
|
174
174
|
local.set ${int}`;
|
175
175
|
|
176
|
-
if (
|
176
|
+
if (!!littleEndian) return int;
|
177
177
|
return (int >>> 24) |
|
178
178
|
((int >>> 8) & 0x0000ff00) |
|
179
179
|
((int << 8) & 0x00ff0000) |
|
@@ -185,7 +185,7 @@ export const __DataView_prototype_setUint32 = (_this: DataView, byteOffset: numb
|
|
185
185
|
if (Porffor.fastOr(byteOffset < 0, byteOffset + 3 >= len)) throw new RangeError('Byte offset is out of bounds of the DataView');
|
186
186
|
|
187
187
|
let int: i32 = 0;
|
188
|
-
if (
|
188
|
+
if (!!littleEndian) {
|
189
189
|
int = value;
|
190
190
|
} else {
|
191
191
|
int = (value >>> 24) |
|
@@ -369,8 +369,8 @@ export const __Object_getOwnPropertyDescriptor = (obj: any, prop: any): any => {
|
|
369
369
|
const out: object = {};
|
370
370
|
|
371
371
|
const tail: i32 = Porffor.wasm.i32.load16_u(entryPtr, 0, 12);
|
372
|
-
out.configurable =
|
373
|
-
out.enumerable =
|
372
|
+
out.configurable = !!(tail & 0b0010);
|
373
|
+
out.enumerable = !!(tail & 0b0100);
|
374
374
|
|
375
375
|
if (tail & 0b0001) {
|
376
376
|
out.get = Porffor.object.accessorGet(entryPtr);
|
@@ -388,7 +388,7 @@ i32.const 8
|
|
388
388
|
i32.shr_u
|
389
389
|
local.set ${value+1}`;
|
390
390
|
|
391
|
-
out.writable =
|
391
|
+
out.writable = !!(tail & 0b1000);
|
392
392
|
out.value = value;
|
393
393
|
|
394
394
|
return out;
|
@@ -115,6 +115,7 @@ type PorfforGlobal = {
|
|
115
115
|
s(...args: any): string;
|
116
116
|
bs(...args: any): bytestring;
|
117
117
|
|
118
|
+
printStatic(str: string): void;
|
118
119
|
readArgv(index: i32, out: bytestring): i32;
|
119
120
|
readFile(path: bytestring, out: bytestring): i32;
|
120
121
|
};
|
@@ -133,7 +134,6 @@ declare global {
|
|
133
134
|
|
134
135
|
const print: (arg: any) => void;
|
135
136
|
const printChar: (char: number) => void;
|
136
|
-
const printStatic: (str: string) => void;
|
137
137
|
|
138
138
|
type i32 = number;
|
139
139
|
type i64 = number;
|
@@ -45,13 +45,13 @@ export const BuiltinFuncs = function() {
|
|
45
45
|
locals: [127], localNames: ["entryPtr","entryPtr#type","out"],
|
46
46
|
};
|
47
47
|
this.__Porffor_object_lookup = {
|
48
|
-
wasm: (scope, {}) => [[32,3],[33,4],[32,0],[65,5],[106],[33,5],[32,0],[40,0,0],[33,6],[32,5],[32,6],[65,14],[108],[106],[33,7],[32,4],[65,195,1],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,31],[118],[4,64],[12,1],[11],[32,9],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[33,15],[3,64],[32,14],[32,11],[106],[45,0,4],[32,14],[32,13],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,1],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,4],[65,195,0],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,2],[70],[4,64],[32,9],[65,255,255,255,255,7],[113],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[65,2],[108],[33,15],[3,64],[32,14],[32,11],[106],[47,0,4],[32,14],[32,13],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,2],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,2],[33,16],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,3],[70],[4,64],[32,9],[65,255,255,255,255,3],[113],[34,17],[32,16],[70],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[11],[11],[65,127],[65,1],[15]],
|
48
|
+
wasm: (scope, {}) => [[32,0],[69],[4,64],[65,127],[65,1],[15],[11],[32,3],[33,4],[32,0],[65,5],[106],[33,5],[32,0],[40,0,0],[33,6],[32,5],[32,6],[65,14],[108],[106],[33,7],[32,4],[65,195,1],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,31],[118],[4,64],[12,1],[11],[32,9],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[33,15],[3,64],[32,14],[32,11],[106],[45,0,4],[32,14],[32,13],[106],[45,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,1],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,4],[65,195,0],[70],[4,64],[32,2],[33,8],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,2],[70],[4,64],[32,9],[65,255,255,255,255,7],[113],[34,10],[32,8],[33,13],[34,11],[32,13],[71],[4,127],[32,11],[40,0,0],[34,12],[32,13],[40,0,0],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,14],[32,12],[65,2],[108],[33,15],[3,64],[32,14],[32,11],[106],[47,0,4],[32,14],[32,13],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,14],[65,2],[106],[34,14],[32,15],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[5],[32,2],[33,16],[3,64],[32,5],[32,7],[72],[4,64],[2,64],[32,5],[40,0,0],[34,9],[69],[4,64],[12,2],[11],[32,9],[65,30],[118],[65,3],[70],[4,64],[32,9],[65,255,255,255,255,3],[113],[34,17],[32,16],[70],[4,64],[32,5],[65,1],[15],[11],[11],[11],[32,5],[65,14],[106],[34,5],[12,1],[11],[11],[11],[11],[65,127],[65,1],[15]],
|
49
49
|
params: [127,127,127,127], typedParams: 1,
|
50
50
|
returns: [127,127], typedReturns: 1,
|
51
51
|
locals: [127,127,127,127,127,127,127,127,127,127,127,127,127,127], localNames: ["obj","obj#type","target","target#type","targetType","ptr","size","endPtr","targetStr","keyRaw","keyStr","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end","targetSym","keySym"],
|
52
52
|
};
|
53
53
|
this.__Porffor_object_get = {
|
54
|
-
wasm: (scope, {allocPage,builtin}) => [[32,1],[65,6],[70],[4,64],...number(allocPage(scope, 'bytestring: __Porffor_object_get/tmp', 'i8') * pageSize, 127),[34,4],[34,5],[65,4],[54,1,0],[32,5],[65,238,0],[58,0,4],[32,5],[65,225,0],[58,0,5],[32,5],[65,237,0],[58,0,6],[32,5],[65,229,0],[58,0,7],[32,5],[33,4],[32,2],[32,4],[33,8],[34,6],[32,8],[71],[4,127],[32,6],[40,0,0],[34,7],[32,8],[40,0,0],[32,3],[65,195,1],[70],[4,64],[32,6],[32,7],[16, builtin('__Porffor_bytestringToString')],[33,6],[11],[65,195,1],[65,195,1],[70],[4,64],[32,8],[32,8],[40,0,0],[16, builtin('__Porffor_bytestringToString')],[33,8],[11],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,9],[32,7],[65,2],[108],[33,10],[3,64],[32,9],[32,6],[106],[47,0,4],[32,9],[32,8],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,9],[65,2],[106],[34,9],[32,10],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,0],[16, builtin('__Porffor_funcLut_name')],[33,11],[65,195,1],[33,12],[32,11],[184],[32,12],[15],[11],[32,4],[34,5],[65,6],[54,1,0],[32,5],[65,236,0],[58,0,4],[32,5],[65,229,0],[58,0,5],[32,5],[65,238,0],[58,0,6],[32,5],[65,231,0],[58,0,7],[32,5],[65,244,0],[58,0,8],[32,5],[65,232,0],[58,0,9],[32,5],[33,4],[32,2],[32,4],[33,8],[34,6],[32,8],[71],[4,127],[32,6],[40,0,0],[34,7],[32,8],[40,0,0],[32,3],[65,195,1],[70],[4,64],[32,6],[32,7],[16, builtin('__Porffor_bytestringToString')],[33,6],[11],[65,195,1],[65,195,1],[70],[4,64],[32,8],[32,8],[40,0,0],[16, builtin('__Porffor_bytestringToString')],[33,8],[11],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,9],[32,7],[65,2],[108],[33,10],[3,64],[32,9],[32,6],[106],[47,0,4],[32,9],[32,8],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,9],[65,2],[106],[34,9],[32,10],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,0],[16, builtin('__Porffor_funcLut_length')],[34,11],[184],[65,1],[15],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,0],[32,1],[32,2],[32,3],[16, builtin('__Porffor_object_lookup')],[26],[34,13],[65,127],[70],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,13],[47,0,12],[34,15],[65,1],[113],[4,64],[32,13],[65,1],[16, builtin('__Porffor_object_accessorGet')],[26],[34,16],[69],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,16],[16, builtin('__Porffor_funcLut_flags')],[34,17],[65,2],[113],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[32,0],[184],[32,1],[32,16],[17,2,0],[15],[5],[32,16],[17,0,0],[15],[11],[11],[32,13],[43,0,4],[32,15],[65,8],[118],[15]],
|
54
|
+
wasm: (scope, {allocPage,builtin,internalThrow}) => [[32,0],[69],[4,64],...internalThrow(scope, 'TypeError', `Cannot get property of null`),[11],[32,1],[65,6],[70],[4,64],...number(allocPage(scope, 'bytestring: __Porffor_object_get/tmp', 'i8') * pageSize, 127),[34,4],[34,5],[65,4],[54,1,0],[32,5],[65,238,0],[58,0,4],[32,5],[65,225,0],[58,0,5],[32,5],[65,237,0],[58,0,6],[32,5],[65,229,0],[58,0,7],[32,5],[33,4],[32,2],[32,4],[33,8],[34,6],[32,8],[71],[4,127],[32,6],[40,0,0],[34,7],[32,8],[40,0,0],[32,3],[65,195,1],[70],[4,64],[32,6],[32,7],[16, builtin('__Porffor_bytestringToString')],[33,6],[11],[65,195,1],[65,195,1],[70],[4,64],[32,8],[32,8],[40,0,0],[16, builtin('__Porffor_bytestringToString')],[33,8],[11],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,9],[32,7],[65,2],[108],[33,10],[3,64],[32,9],[32,6],[106],[47,0,4],[32,9],[32,8],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,9],[65,2],[106],[34,9],[32,10],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,0],[16, builtin('__Porffor_funcLut_name')],[33,11],[65,195,1],[33,12],[32,11],[184],[32,12],[15],[11],[32,4],[34,5],[65,6],[54,1,0],[32,5],[65,236,0],[58,0,4],[32,5],[65,229,0],[58,0,5],[32,5],[65,238,0],[58,0,6],[32,5],[65,231,0],[58,0,7],[32,5],[65,244,0],[58,0,8],[32,5],[65,232,0],[58,0,9],[32,5],[33,4],[32,2],[32,4],[33,8],[34,6],[32,8],[71],[4,127],[32,6],[40,0,0],[34,7],[32,8],[40,0,0],[32,3],[65,195,1],[70],[4,64],[32,6],[32,7],[16, builtin('__Porffor_bytestringToString')],[33,6],[11],[65,195,1],[65,195,1],[70],[4,64],[32,8],[32,8],[40,0,0],[16, builtin('__Porffor_bytestringToString')],[33,8],[11],[71],[4,64],[65,0],[12,1],[11],[65,0],[33,9],[32,7],[65,2],[108],[33,10],[3,64],[32,9],[32,6],[106],[47,0,4],[32,9],[32,8],[106],[47,0,4],[71],[4,64],[65,0],[12,2],[11],[32,9],[65,2],[106],[34,9],[32,10],[72],[13,0],[11],[65,1],[5],[65,1],[11],[4,64],[32,0],[16, builtin('__Porffor_funcLut_length')],[34,11],[184],[65,1],[15],[11],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,0],[32,1],[32,2],[32,3],[16, builtin('__Porffor_object_lookup')],[26],[34,13],[65,127],[70],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,13],[47,0,12],[34,15],[65,1],[113],[4,64],[32,13],[65,1],[16, builtin('__Porffor_object_accessorGet')],[26],[34,16],[69],[4,64],[68,0,0,0,0,0,0,0,0],[65,128,1],[15],[11],[32,16],[16, builtin('__Porffor_funcLut_flags')],[34,17],[65,2],[113],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[32,0],[184],[32,1],[32,16],[17,2,0],[15],[5],[32,16],[17,0,0],[15],[11],[11],[32,13],[43,0,4],[32,15],[65,8],[118],[15]],
|
55
55
|
params: [127,127,127,127], typedParams: 1,
|
56
56
|
returns: [124,127], typedReturns: 1,
|
57
57
|
locals: [127,127,127,127,127,127,127,127,127,127,127,127,127,127], localNames: ["obj","obj#type","key","key#type","tmp","#makearray_pointer_tmp","compare_left_pointer","compare_left_length","compare_right_pointer","compare_index","compare_index_end","o","t","entryPtr","#last_type","tail","get","funcFlags"],
|
@@ -63,7 +63,7 @@ export const BuiltinFuncs = function() {
|
|
63
63
|
locals: [127], localNames: ["ptr","ptr#type","key","key#type","keyEnc"],
|
64
64
|
};
|
65
65
|
this.__Porffor_object_set = {
|
66
|
-
wasm: (scope, {builtin}) => [[32,0],[65,7],[32,2],[32,3],[16, builtin('__Porffor_object_lookup')],[26],[34,6],[65,127],[70],[4,64],[32,0],[65,7],[16, builtin('__Porffor_object_isInextensible')],[33,7],[33,9],[32,7],[33,10],[2,127],[32,10],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,9],[40,1,0],[12,1],[11],[32,10],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[40,1,0],[12,1],[11],[32,9],[11,"TYPESWITCH_end"],[4,64],[32,4],[32,5],[15],[11],[32,0],[40,0,0],[33,11],[32,0],[32,11],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,11],[65,14],[108],[106],[34,6],[65,1],[32,2],[32,3],[16, builtin('__Porffor_object_writeKey')],[33,7],[26],[65,14],[33,8],[5],[32,6],[47,0,12],[34,12],[65,1],[113],[4,64],[32,6],[65,1],[16, builtin('__Porffor_object_accessorSet')],[26],[34,13],[69],[4,64],[32,4],[32,5],[15],[11],[32,13],[16, builtin('__Porffor_funcLut_flags')],[34,14],[65,2],[113],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[32,0],[184],[65,7],[32,4],[32,5],[32,13],[17,3,0],[26],[26],[5],[32,4],[32,5],[32,13],[17,1,0],[26],[26],[11],[32,4],[32,5],[15],[11],[32,12],[65,8],[113],[69],[4,64],[32,4],[32,5],[15],[11],[32,12],[65,255,1],[113],[33,8],[11],[32,6],[32,4],[57,0,4],[32,6],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
|
66
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[69],[4,64],...internalThrow(scope, 'TypeError', `Cannot set property of null`),[11],[32,0],[65,7],[32,2],[32,3],[16, builtin('__Porffor_object_lookup')],[26],[34,6],[65,127],[70],[4,64],[32,0],[65,7],[16, builtin('__Porffor_object_isInextensible')],[33,7],[33,9],[32,7],[33,10],[2,127],[32,10],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,9],[40,1,0],[12,1],[11],[32,10],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,9],[40,1,0],[12,1],[11],[32,9],[11,"TYPESWITCH_end"],[4,64],[32,4],[32,5],[15],[11],[32,0],[40,0,0],[33,11],[32,0],[32,11],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,11],[65,14],[108],[106],[34,6],[65,1],[32,2],[32,3],[16, builtin('__Porffor_object_writeKey')],[33,7],[26],[65,14],[33,8],[5],[32,6],[47,0,12],[34,12],[65,1],[113],[4,64],[32,6],[65,1],[16, builtin('__Porffor_object_accessorSet')],[26],[34,13],[69],[4,64],[32,4],[32,5],[15],[11],[32,13],[16, builtin('__Porffor_funcLut_flags')],[34,14],[65,2],[113],[4,64],[68,0,0,0,0,0,0,0,0],[65,0],[32,0],[184],[65,7],[32,4],[32,5],[32,13],[17,3,0],[26],[26],[5],[32,4],[32,5],[32,13],[17,1,0],[26],[26],[11],[32,4],[32,5],[15],[11],[32,12],[65,8],[113],[69],[4,64],[32,4],[32,5],[15],[11],[32,12],[65,255,1],[113],[33,8],[11],[32,6],[32,4],[57,0,4],[32,6],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
|
67
67
|
params: [127,127,127,127,124,127], typedParams: 1,
|
68
68
|
returns: [124,127], typedReturns: 1,
|
69
69
|
locals: [127,127,127,127,127,127,127,127,127], localNames: ["obj","obj#type","key","key#type","value","value#type","entryPtr","#last_type","flags","#logicinner_tmp","#typeswitch_tmp1","size","tail","set","funcFlags"],
|
@@ -450,7 +450,7 @@ export const BuiltinFuncs = function() {
|
|
450
450
|
table: 1,
|
451
451
|
};
|
452
452
|
this.__Array_prototype_every = {
|
453
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[34,7],[252,3],[65,9],[108],[32,6],[252,3],[106],[34,8],[43,0,4],[32,8],[45,0,12],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,208,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
453
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[34,7],[252,3],[65,9],[108],[32,6],[252,3],[106],[34,8],[43,0,4],[32,8],[45,0,12],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,208,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
454
454
|
params: [124,127,124,127], typedParams: 1,
|
455
455
|
returns: [124,127], typedReturns: 1,
|
456
456
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -652,6 +652,13 @@ export const BuiltinFuncs = function() {
|
|
652
652
|
locals: [127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127], localNames: ["input","input#type","lut","lutPtr","output","i","j","endPtr","endPtr#type","enc1","enc2","#last_type","enc3","enc4","chr1","chr2","chr3","__length_setter_tmp"],
|
653
653
|
data: [[0,[123,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,62,64,64,64,63,52,53,54,55,56,57,58,59,60,61,64,64,64,64,64,64,64,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,64,64,64,64,64,64,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]]],
|
654
654
|
};
|
655
|
+
this.Boolean = {
|
656
|
+
wasm: (scope, {}) => [[32,4],[33,6],[32,5],[33,7],[2,124],[32,7],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,6],[252,3],[40,1,0],[184],[12,1],[11],[32,7],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,6],[252,3],[40,1,0],[184],[12,1],[11],[32,6],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[65,2],[15]],
|
657
|
+
params: [124,127,124,127,124,127], typedParams: 1,
|
658
|
+
returns: [124,127], typedReturns: 1,
|
659
|
+
locals: [124,127], localNames: ["#newtarget","#newtarget#type","#this","#this#type","value","value#type","#logicinner_tmp","#typeswitch_tmp1"],
|
660
|
+
constr: 1,
|
661
|
+
};
|
655
662
|
this.__Boolean_prototype_toString = {
|
656
663
|
wasm: (scope, {allocPage,builtin}) => [[16, builtin('__Porffor_allocate')],[183],[33,2],[32,0],[252,3],[4,64],...number(allocPage(scope, 'bytestring: __Boolean_prototype_toString/out', 'i8') * pageSize, 124),[33,2],[5],[32,2],[252,3],[34,3],[65,5],[54,1,0],[32,3],[65,230,0],[58,0,4],[32,3],[65,225,0],[58,0,5],[32,3],[65,236,0],[58,0,6],[32,3],[65,243,0],[58,0,7],[32,3],[65,229,0],[58,0,8],[32,3],[184],[33,2],[11],[32,2],[65,195,1],[15]],
|
657
664
|
params: [124,127], typedParams: 1,
|
@@ -2850,7 +2857,7 @@ export const BuiltinFuncs = function() {
|
|
2850
2857
|
table: 1,
|
2851
2858
|
};
|
2852
2859
|
this.__Uint8Array_prototype_every = {
|
2853
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[45,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,216,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
2860
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[45,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,216,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
2854
2861
|
params: [124,127,124,127], typedParams: 1,
|
2855
2862
|
returns: [124,127], typedReturns: 1,
|
2856
2863
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -3071,7 +3078,7 @@ export const BuiltinFuncs = function() {
|
|
3071
3078
|
table: 1,
|
3072
3079
|
};
|
3073
3080
|
this.__Int8Array_prototype_every = {
|
3074
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[44,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,217,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
3081
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[44,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,217,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
3075
3082
|
params: [124,127,124,127], typedParams: 1,
|
3076
3083
|
returns: [124,127], typedReturns: 1,
|
3077
3084
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -3292,7 +3299,7 @@ export const BuiltinFuncs = function() {
|
|
3292
3299
|
table: 1,
|
3293
3300
|
};
|
3294
3301
|
this.__Uint8ClampedArray_prototype_every = {
|
3295
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[45,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,218,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
3302
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[106],[45,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,218,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
3296
3303
|
params: [124,127,124,127], typedParams: 1,
|
3297
3304
|
returns: [124,127], typedReturns: 1,
|
3298
3305
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -3513,7 +3520,7 @@ export const BuiltinFuncs = function() {
|
|
3513
3520
|
table: 1,
|
3514
3521
|
};
|
3515
3522
|
this.__Uint16Array_prototype_every = {
|
3516
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,219,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
3523
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,219,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
3517
3524
|
params: [124,127,124,127], typedParams: 1,
|
3518
3525
|
returns: [124,127], typedReturns: 1,
|
3519
3526
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -3734,7 +3741,7 @@ export const BuiltinFuncs = function() {
|
|
3734
3741
|
table: 1,
|
3735
3742
|
};
|
3736
3743
|
this.__Int16Array_prototype_every = {
|
3737
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,220,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
3744
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,220,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
3738
3745
|
params: [124,127,124,127], typedParams: 1,
|
3739
3746
|
returns: [124,127], typedReturns: 1,
|
3740
3747
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -3955,7 +3962,7 @@ export const BuiltinFuncs = function() {
|
|
3955
3962
|
table: 1,
|
3956
3963
|
};
|
3957
3964
|
this.__Uint32Array_prototype_every = {
|
3958
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,221,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
3965
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,221,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
3959
3966
|
params: [124,127,124,127], typedParams: 1,
|
3960
3967
|
returns: [124,127], typedReturns: 1,
|
3961
3968
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -4176,7 +4183,7 @@ export const BuiltinFuncs = function() {
|
|
4176
4183
|
table: 1,
|
4177
4184
|
};
|
4178
4185
|
this.__Int32Array_prototype_every = {
|
4179
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,222,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
4186
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,222,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
4180
4187
|
params: [124,127,124,127], typedParams: 1,
|
4181
4188
|
returns: [124,127], typedReturns: 1,
|
4182
4189
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -4397,7 +4404,7 @@ export const BuiltinFuncs = function() {
|
|
4397
4404
|
table: 1,
|
4398
4405
|
};
|
4399
4406
|
this.__Float32Array_prototype_every = {
|
4400
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,223,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
4407
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,223,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
4401
4408
|
params: [124,127,124,127], typedParams: 1,
|
4402
4409
|
returns: [124,127], typedReturns: 1,
|
4403
4410
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
@@ -4618,7 +4625,7 @@ export const BuiltinFuncs = function() {
|
|
4618
4625
|
table: 1,
|
4619
4626
|
};
|
4620
4627
|
this.__Float64Array_prototype_every = {
|
4621
|
-
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,224,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[
|
4628
|
+
wasm: (scope, {builtin,internalThrow}) => [[32,0],[252,3],[40,1,0],[184],[33,4],[68,0,0,0,0,0,0,0,0],[33,5],[3,64],[32,5],[32,4],[99],[4,64],[32,2],[33,24],[32,3],[33,25],[2,124],[32,25],[65,6],[70],[4,64,"TYPESWITCH|Function"],[32,0],[33,6],[32,5],[33,7],[32,6],[252,3],[40,0,4],[32,7],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[34,9],[33,12],[33,13],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[65,1],[33,14],[33,15],[32,0],[65,224,0],[33,16],[33,17],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,18],[33,19],[68,0,0,0,0,0,0,0,0],[65,128,1],[33,20],[33,21],[32,24],[252,3],[34,22],[65,128,1],[108],[65,4],[106],[45,0,0,"read func lut"],[34,23],[65,2],[113],[69],[65,0],[113],[4,64],...internalThrow(scope, 'TypeError', `callbackFn is not a constructor`),[11],[2,124],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,22],[65,128,1],[108],[47,0,0,"read func lut"],[14,6,0,1,2,3,4,5,0],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0,"no_type_return"],[5],[32,22],[17,0,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,22],[17,2,0],[33,9],[5],[32,22],[17,0,0],[33,9],[11],[11],[12,5],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0,"no_type_return"],[5],[32,13],[32,12],[32,22],[17,1,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,22],[17,3,0],[33,9],[5],[32,13],[32,12],[32,22],[17,1,0],[33,9],[11],[11],[12,4],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,22],[17,4,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,22],[17,2,0],[33,9],[11],[11],[12,3],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,5,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,22],[17,3,0],[33,9],[11],[11],[12,2],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,6,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,22],[17,4,0],[33,9],[11],[11],[12,1],[11],[32,23],[65,1],[113],[4,124],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0,"no_type_return"],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0,"no_type_return"],[11],[5],[32,23],[65,2],[113],[4,124],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('#get_globalThis')],[184],[65,7],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,7,0],[33,9],[5],[32,13],[32,12],[32,15],[32,14],[32,17],[32,16],[32,19],[32,18],[32,21],[32,20],[32,22],[17,5,0],[33,9],[11],[11],[11],[12,1],[11],...internalThrow(scope, 'TypeError', `callbackFn is not a function`),[68,0,0,0,0,0,0,0,0],[11,"TYPESWITCH_end"],[33,26],[32,9],[33,25],[2,124],[32,25],[65,195,0],[70],[4,64,"TYPESWITCH|String"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,25],[65,195,1],[70],[4,64,"TYPESWITCH|ByteString"],[32,26],[252,3],[40,1,0],[184],[12,1],[11],[32,26],[252,2],[69],[69],[183],[11,"TYPESWITCH_end"],[252,3],[4,64],[5],[68,0,0,0,0,0,0,0,0],[65,2],[15],[11],[12,1],[11],[11],[68,0,0,0,0,0,0,240,63],[65,2],[15]],
|
4622
4629
|
params: [124,127,124,127], typedParams: 1,
|
4623
4630
|
returns: [124,127], typedReturns: 1,
|
4624
4631
|
locals: [124,124,124,124,127,127,127,127,127,124,127,124,127,124,127,124,127,124,127,127,124,127,124], localNames: ["_this","_this#type","callbackFn","callbackFn#type","len","i","#member_obj","#member_prop","#loadArray_offset","#last_type","#member_allocd","#swap","#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_tmp1","#logicinner_tmp"],
|
package/compiler/codegen.js
CHANGED
@@ -825,10 +825,38 @@ const truthy = (scope, wasm, type, intIn = false, intOut = false, forceTruthyMod
|
|
825
825
|
];
|
826
826
|
};
|
827
827
|
|
828
|
-
const falsy = (scope, wasm, type, intIn = false, intOut = false) => {
|
828
|
+
const falsy = (scope, wasm, type, intIn = false, intOut = false, forceTruthyMode = undefined) => {
|
829
829
|
const useTmp = knownType(scope, type) == null;
|
830
830
|
const tmp = useTmp && localTmp(scope, `#logicinner_tmp${intIn ? '_int' : ''}`, intIn ? Valtype.i32 : valtypeBinary);
|
831
831
|
|
832
|
+
const def = (truthyMode => {
|
833
|
+
if (truthyMode === 'full') return [
|
834
|
+
// if value == 0 or NaN
|
835
|
+
...(!useTmp ? [] : [ [ Opcodes.local_get, tmp ] ]),
|
836
|
+
...(intIn ? [] : [ Opcodes.i32_to ]),
|
837
|
+
|
838
|
+
[ Opcodes.i32_eqz ],
|
839
|
+
|
840
|
+
...(intOut ? [] : [ Opcodes.i32_from ]),
|
841
|
+
];
|
842
|
+
|
843
|
+
if (truthyMode === 'no_negative') return [
|
844
|
+
// if value == 0 or NaN, non-binary output. negative numbers not truthy :/
|
845
|
+
...(!useTmp ? [] : [ [ Opcodes.local_get, tmp ] ]),
|
846
|
+
...(intIn ? [] : [ Opcodes.i32_to ]),
|
847
|
+
[ Opcodes.i32_eqz ],
|
848
|
+
...(intOut ? [] : [ Opcodes.i32_from ])
|
849
|
+
];
|
850
|
+
|
851
|
+
if (truthyMode === 'no_nan_negative') return [
|
852
|
+
// simpler and faster but makes NaN truthy and negative numbers not truthy,
|
853
|
+
// plus non-binary output
|
854
|
+
...(!useTmp ? [] : [ [ Opcodes.local_get, tmp ] ]),
|
855
|
+
...(intIn ? [ [ Opcodes.i32_eqz ] ] : [ ...Opcodes.eqz ]),
|
856
|
+
...(intOut ? [] : [ Opcodes.i32_from_u ])
|
857
|
+
];
|
858
|
+
})(forceTruthyMode ?? Prefs.truthy ?? 'full');
|
859
|
+
|
832
860
|
return [
|
833
861
|
...wasm,
|
834
862
|
...(!useTmp ? [] : [ [ Opcodes.local_set, tmp ] ]),
|
@@ -856,13 +884,7 @@ const falsy = (scope, wasm, type, intIn = false, intOut = false) => {
|
|
856
884
|
[ Opcodes.i32_eqz ],
|
857
885
|
...(intOut ? [] : [ Opcodes.i32_from_u ])
|
858
886
|
],
|
859
|
-
default:
|
860
|
-
// if value == 0
|
861
|
-
...(!useTmp ? [] : [ [ Opcodes.local_get, tmp ] ]),
|
862
|
-
|
863
|
-
...(intIn ? [ [ Opcodes.i32_eqz ] ] : [ ...Opcodes.eqz ]),
|
864
|
-
...(intOut ? [] : [ Opcodes.i32_from_u ])
|
865
|
-
]
|
887
|
+
default: def
|
866
888
|
}, intOut ? Valtype.i32 : valtypeBinary)
|
867
889
|
];
|
868
890
|
};
|
@@ -3647,7 +3669,7 @@ const generateUnary = (scope, decl) => {
|
|
3647
3669
|
const arg = decl.argument;
|
3648
3670
|
if (arg.type === 'UnaryExpression' && arg.operator === '!') {
|
3649
3671
|
// opt: !!x -> is x truthy
|
3650
|
-
return truthy(scope, generate(scope, arg.argument), getNodeType(scope, arg.argument), false, false);
|
3672
|
+
return truthy(scope, generate(scope, arg.argument), getNodeType(scope, arg.argument), false, false, 'full');
|
3651
3673
|
}
|
3652
3674
|
|
3653
3675
|
// !=
|
@@ -5814,16 +5836,6 @@ const internalConstrs = {
|
|
5814
5836
|
notConstr: true
|
5815
5837
|
},
|
5816
5838
|
|
5817
|
-
Boolean: {
|
5818
|
-
generate: (scope, decl) => {
|
5819
|
-
// todo: boolean object when used as constructor
|
5820
|
-
const arg = decl.arguments[0] ?? DEFAULT_VALUE();
|
5821
|
-
return truthy(scope, generate(scope, arg), getNodeType(scope, arg), false, false, 'full');
|
5822
|
-
},
|
5823
|
-
type: TYPES.boolean,
|
5824
|
-
length: 1
|
5825
|
-
},
|
5826
|
-
|
5827
5839
|
__Math_max: {
|
5828
5840
|
generate: (scope, decl) => {
|
5829
5841
|
const out = [
|
@@ -5864,7 +5876,7 @@ const internalConstrs = {
|
|
5864
5876
|
length: 2
|
5865
5877
|
},
|
5866
5878
|
|
5867
|
-
|
5879
|
+
__Porffor_printStatic: {
|
5868
5880
|
generate: (scope, decl) => {
|
5869
5881
|
const str = decl.arguments[0].value;
|
5870
5882
|
return printStaticStr(str);
|
package/package.json
CHANGED