porffor 0.55.9 → 0.55.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/builtins/array.ts +1 -1
- package/compiler/builtins/number.ts +25 -25
- package/compiler/builtins/string.ts +2 -6
- package/compiler/builtins_precompiled.js +32 -32
- package/compiler/codegen.js +1 -1
- package/package.json +1 -1
- package/r.js +32 -0
- package/runner/index.js +1 -1
@@ -69,7 +69,7 @@ export const __Array_from = (arg: any, mapFn: any): any[] => {
|
|
69
69
|
const obj: object = arg;
|
70
70
|
|
71
71
|
const lengthKey: bytestring = 'length';
|
72
|
-
len = obj[lengthKey];
|
72
|
+
len = ecma262.ToIntegerOrInfinity(obj[lengthKey]);
|
73
73
|
|
74
74
|
for (let i: i32 = 0; i < len; i++) {
|
75
75
|
out[i] = obj[i];
|
@@ -31,15 +31,6 @@ export const Number = function (value: any): number|NumberObject {
|
|
31
31
|
|
32
32
|
// radix: number|any for rawType check
|
33
33
|
export const __Number_prototype_toString = (_this: number, radix: number|any) => {
|
34
|
-
let out: bytestring = Porffor.allocate();
|
35
|
-
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
36
|
-
|
37
|
-
if (!Number.isFinite(_this)) {
|
38
|
-
if (Number.isNaN(_this)) return out = 'NaN';
|
39
|
-
if (_this == Infinity) return out = 'Infinity';
|
40
|
-
return out = '-Infinity';
|
41
|
-
}
|
42
|
-
|
43
34
|
if (Porffor.rawType(radix) != Porffor.TYPES.number) {
|
44
35
|
// todo: string to number
|
45
36
|
radix = 10;
|
@@ -50,10 +41,19 @@ export const __Number_prototype_toString = (_this: number, radix: number|any) =>
|
|
50
41
|
throw new RangeError('toString() radix argument must be between 2 and 36');
|
51
42
|
}
|
52
43
|
|
44
|
+
if (!Number.isFinite(_this)) {
|
45
|
+
if (Number.isNaN(_this)) return 'NaN';
|
46
|
+
if (_this == Infinity) return 'Infinity';
|
47
|
+
return '-Infinity';
|
48
|
+
}
|
49
|
+
|
53
50
|
if (_this == 0) {
|
54
|
-
return
|
51
|
+
return '0';
|
55
52
|
}
|
56
53
|
|
54
|
+
let out: bytestring = Porffor.allocate();
|
55
|
+
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
56
|
+
|
57
57
|
// if negative value
|
58
58
|
if (_this < 0) {
|
59
59
|
_this = -_this; // turn value positive for later use
|
@@ -264,20 +264,20 @@ export const __Number_prototype_toString = (_this: number, radix: number|any) =>
|
|
264
264
|
};
|
265
265
|
|
266
266
|
export const __Number_prototype_toFixed = (_this: number, fractionDigits: number) => {
|
267
|
-
let out: bytestring = Porffor.allocate();
|
268
|
-
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
269
|
-
|
270
|
-
if (!Number.isFinite(_this)) {
|
271
|
-
if (Number.isNaN(_this)) return out = 'NaN';
|
272
|
-
if (_this == Infinity) return out = 'Infinity';
|
273
|
-
return out = '-Infinity';
|
274
|
-
}
|
275
|
-
|
276
267
|
fractionDigits |= 0;
|
277
268
|
if (fractionDigits < 0 || fractionDigits > 100) {
|
278
269
|
throw new RangeError('toFixed() fractionDigits argument must be between 0 and 100');
|
279
270
|
}
|
280
271
|
|
272
|
+
if (!Number.isFinite(_this)) {
|
273
|
+
if (Number.isNaN(_this)) return 'NaN';
|
274
|
+
if (_this == Infinity) return 'Infinity';
|
275
|
+
return '-Infinity';
|
276
|
+
}
|
277
|
+
|
278
|
+
let out: bytestring = Porffor.allocate();
|
279
|
+
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
280
|
+
|
281
281
|
// if negative value
|
282
282
|
if (_this < 0) {
|
283
283
|
_this = -_this; // turn value positive for later use
|
@@ -353,13 +353,10 @@ export const __Number_prototype_toLocaleString = (_this: number) => __Number_pro
|
|
353
353
|
|
354
354
|
// fractionDigits: number|any for rawType check
|
355
355
|
export const __Number_prototype_toExponential = (_this: number, fractionDigits: number|any) => {
|
356
|
-
let out: bytestring = Porffor.allocate();
|
357
|
-
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
358
|
-
|
359
356
|
if (!Number.isFinite(_this)) {
|
360
|
-
if (Number.isNaN(_this)) return
|
361
|
-
if (_this == Infinity) return
|
362
|
-
return
|
357
|
+
if (Number.isNaN(_this)) return 'NaN';
|
358
|
+
if (_this == Infinity) return 'Infinity';
|
359
|
+
return '-Infinity';
|
363
360
|
}
|
364
361
|
|
365
362
|
if (Porffor.rawType(fractionDigits) != Porffor.TYPES.number) {
|
@@ -372,6 +369,9 @@ export const __Number_prototype_toExponential = (_this: number, fractionDigits:
|
|
372
369
|
}
|
373
370
|
}
|
374
371
|
|
372
|
+
let out: bytestring = Porffor.allocate();
|
373
|
+
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
374
|
+
|
375
375
|
// if negative value
|
376
376
|
if (_this < 0) {
|
377
377
|
_this = -_this; // turn value positive for later use
|
@@ -1157,12 +1157,10 @@ local.set ${out}`;
|
|
1157
1157
|
};
|
1158
1158
|
|
1159
1159
|
export const __String_prototype_repeat = (_this: string, cnt: any) => {
|
1160
|
-
let out: string = Porffor.allocate();
|
1161
1160
|
const count: number = ecma262.ToIntegerOrInfinity(cnt);
|
1162
|
-
|
1163
|
-
count |= 0;
|
1164
1161
|
if (count < 0) throw new RangeError('Invalid count value');
|
1165
1162
|
|
1163
|
+
let out: string = Porffor.allocate();
|
1166
1164
|
const thisLen: i32 = _this.length * 2;
|
1167
1165
|
for (let i: i32 = 0; i < count; i++) {
|
1168
1166
|
Porffor.wasm`
|
@@ -1191,12 +1189,10 @@ memory.copy 0 0`;
|
|
1191
1189
|
};
|
1192
1190
|
|
1193
1191
|
export const __ByteString_prototype_repeat = (_this: string, cnt: any) => {
|
1194
|
-
let out: bytestring = Porffor.allocate();
|
1195
1192
|
const count: number = ecma262.ToIntegerOrInfinity(cnt);
|
1196
|
-
|
1197
|
-
count |= 0;
|
1198
1193
|
if (count < 0) throw new RangeError('Invalid count value');
|
1199
1194
|
|
1195
|
+
let out: bytestring = Porffor.allocate();
|
1200
1196
|
const thisLen: i32 = _this.length;
|
1201
1197
|
for (let i: i32 = 0; i < count; i++) {
|
1202
1198
|
Porffor.wasm`
|
@@ -21,22 +21,22 @@ locals:[127,127,127,127,127],localNames:["a","a#type","b","b#type","al","bl","ou
|
|
21
21
|
usedTypes:[195,67],
|
22
22
|
}
|
23
23
|
this.__Porffor_object_preventExtensions = {
|
24
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
24
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,2],[252,2],[33,0],[32,2],[34,1],[65,7],[71],[4,64],[65,0],[65,128,1],[15],[26],[11],[11],[32,0],[45,0,4],[34,3],[65,1],[114],[33,3],[32,0],[32,3],[58,0,4],[65,0],[65,128,1],[15]],
|
25
25
|
params:[127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
26
26
|
locals:[127,127],localNames:["obj","obj#type","#last_type","rootFlags"],
|
27
27
|
}
|
28
28
|
this.__Porffor_object_isInextensible = {
|
29
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
29
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,2],[252,2],[33,0],[32,2],[34,1],[65,7],[71],[4,64],[65,0],[65,2],[15],[26],[11],[11],[32,0],[45,0,4],[65,1],[113],[34,3],[65,2],[15]],
|
30
30
|
params:[127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
31
31
|
locals:[127,127],localNames:["obj","obj#type","#last_type","out"],
|
32
32
|
}
|
33
33
|
this.__Porffor_object_overrideAllFlags = {
|
34
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
34
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[34,1],[65,7],[71],[4,64],[65,0],[65,128,1],[15],[26],[11],[11],[32,0],[65,5],[106],[33,7],[32,0],[40,0,0],[33,8],[32,7],[32,8],[65,14],[108],[106],[33,9],[3,64],[32,7],[32,9],[72],[4,64],[32,7],[45,0,12],[34,10],[32,2],[114],[32,4],[113],[33,10],[32,7],[32,10],[58,0,12],[32,7],[65,14],[106],[33,7],[12,1],[11],[11],[65,0],[65,128,1],[15]],
|
35
35
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
36
36
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","overrideOr","overrideOr#type","overrideAnd","overrideAnd#type","#last_type","ptr","size","endPtr","flags"],
|
37
37
|
}
|
38
38
|
this.__Porffor_object_checkAllFlags = {
|
39
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
39
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,10],[252,2],[33,0],[32,10],[34,1],[65,7],[71],[4,64],[65,0],[65,2],[15],[26],[11],[11],[32,0],[65,5],[106],[33,11],[32,0],[40,0,0],[33,12],[32,11],[32,12],[65,14],[108],[106],[33,13],[3,64],[32,11],[32,13],[72],[4,64],[32,11],[45,0,12],[34,14],[65,1],[113],[4,64],[32,14],[32,4],[113],[32,8],[71],[4,64],[65,0],[65,2],[15],[26],[11],[5],[32,14],[32,2],[113],[32,6],[71],[4,64],[65,0],[65,2],[15],[26],[11],[11],[32,11],[65,14],[106],[33,11],[12,1],[11],[11],[65,1],[65,2],[15]],
|
40
40
|
params:[127,127,127,127,127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
41
41
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","dataAnd","dataAnd#type","accessorAnd","accessorAnd#type","dataExpected","dataExpected#type","accessorExpected","accessorExpected#type","#last_type","ptr","size","endPtr","flags"],
|
42
42
|
}
|
@@ -56,7 +56,7 @@ params:[127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
|
56
56
|
locals:[127],localNames:["entryPtr","entryPtr#type","out"],
|
57
57
|
}
|
58
58
|
this.__Porffor_object_lookup = {
|
59
|
-
wasm:(_,{t,builtin})=>[[32,0],[69],[4,64],[65,127],[65,1],[15],[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[
|
59
|
+
wasm:(_,{t,builtin})=>[[32,0],[69],[4,64],[65,127],[65,1],[15],[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,4],[252,2],[33,0],[32,4],[34,1],[65,7],[71],[4,64],[65,127],[65,1],[15],[26],[11],[11],[32,3],[33,5],[32,0],[65,5],[106],[33,6],[32,0],[40,0,0],[33,7],[32,6],[32,7],[65,14],[108],[106],[33,8],[32,5],[65,5],[70],[4,64],[32,2],[33,9],[3,64],[32,6],[32,8],[72],[4,64],[2,64],[32,6],[40,0,0],[34,10],[69],[4,64],[12,2],[26],[11],[32,10],[65,30],[118],[65,3],[70],[4,64],[32,10],[65,255,255,255,255,3],[113],[34,11],[32,9],[70],[4,64],[32,6],[65,1],[15],[26],[11],[11],[11],[32,6],[65,14],[106],[33,6],[12,1],[11],[11],[5],[3,64],[32,6],[32,8],[72],[4,64],[2,64],[32,6],[40,0,0],[34,10],[69],[4,64],[12,2],[26],[11],[32,10],[65,30],[118],[34,12],[69],[4,64],[32,10],[34,13],[65,195,1],[32,2],[32,3],[16,builtin('__Porffor_strcmp')],[33,4],[33,14],[32,4],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[40,1,0],[12,1],[11]]),[32,14],[11],[4,64],[32,6],[65,1],[15],[26],[11],[5],[32,12],[65,2],[70],[4,64],[32,10],[65,255,255,255,255,7],[113],[34,13],[65,195,0],[32,2],[32,3],[16,builtin('__Porffor_strcmp')],[33,4],[33,14],[32,4],[33,15],[2,127],...t([67,195],()=>[[32,15],[65,195,0],[70],[32,15],[65,195,1],[70],[114],[4,64],[32,14],[40,1,0],[12,1],[11]]),[32,14],[11],[4,64],[32,6],[65,1],[15],[26],[11],[11],[11],[11],[32,6],[65,14],[106],[33,6],[12,1],[11],[11],[11],[65,127],[65,1],[15]],
|
60
60
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
61
61
|
locals:[127,127,127,127,127,127,127,127,127,127,127,127],localNames:["obj","obj#type","target","target#type","#last_type","targetType","ptr","size","endPtr","targetSym","keyRaw","keySym","msb","keyStr","#logicinner_tmp","#typeswitch_tmp1"],
|
62
62
|
usedTypes:[5,195,67],
|
@@ -67,7 +67,7 @@ params:[127,127],typedParams:1,returns:[124,127],typedReturns:1,
|
|
67
67
|
locals:[],localNames:["entryPtr","entryPtr#type"],
|
68
68
|
}
|
69
69
|
this.__Porffor_object_get = {
|
70
|
-
wasm:(_,{hasFunc,Valtype,i32ify,Opcodes,t,makeString,builtin,internalThrow,generate})=>[[32,1],[34,4],[65,7],[71],[4,64],[32,0],[184],[32,1],[16,builtin('__Porffor_object_underlying')],[33,5],[252,2],[33,0],[32,5],[33,1],[11],[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot get property of null`),[26],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,5],[34,6],[65,127],[70],[4,64],...i32ify(makeString(_,"__proto__",1)),[33,7],[32,0],[33,8],[32,1],[33,9],[32,2],[183],[32,3],[32,7],[183],[65,195,1],[16,builtin('__Porffor_compareStrings')],[26],[252,3],[69],[4,64],[3,64],[65,1],[4,64],[32,0],[32,1],[32,7],[65,195,1],[16,builtin('__Porffor_object_get')],[33,5],[252,2],[33,0],[32,5],[33,1],[null,()=>{if(hasFunc('#get___String_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_string"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_bytestring"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_stringobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__String_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Number_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_number"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_numberobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Number_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Boolean_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_boolean"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_booleanobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Boolean_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Function_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_function"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Function_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Array_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_array"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Array_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Date_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_date"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Date_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Error_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_error"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Error_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[32,0],[33,10],[32,1],[33,11],[2,127],...t([0,128],()=>[[32,11],[69],[32,11],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,11],[65,7],[70],[4,64],[32,10],[69],[12,1],[11]]),[65,0],[11],[32,0],[32,8],[70],[114],[4,64],[12,1],[26],[11],[32,0],[33,8],[32,1],[33,9],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,5],[34,6],[65,127],[71],[4,64],[12,1],[26],[11],[12,1],[11],[11],[5],[16,builtin('#get___Object_prototype')],[33,12],[32,4],[65,6],[70],[4,64],[16,builtin('#get___Function_prototype')],[33,12],[11],[32,12],[184],[65,7],[15],[26],[11],[32,6],[65,127],[70],[4,64],[68,0],[65,128,1],[15],[26],[11],[11],[32,6],[47,0,12],[34,13],[65,1],[113],[4,64],[32,6],[65,1],[16,builtin('__Porffor_object_accessorGet')],[33,5],[34,14],[69],[4,64],[68,0],[65,128,1],[15],[26],[11],[32,14],[33,17],[65,0],[65,128,1],[33,18],[183],[32,18],[32,0],[34,15],[32,1],[34,16],[33,18],[183],[32,18],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[32,17],[17,12,0],[34,5],[15],[26],[11],[32,6],[43,0,4],[32,13],[65,8],[118],[15]],
|
70
|
+
wasm:(_,{hasFunc,Valtype,i32ify,Opcodes,t,makeString,builtin,internalThrow,generate})=>[[32,1],[34,4],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,5],[252,2],[33,0],[32,5],[33,1],[11],[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot get property of null`),[26],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,5],[34,6],[65,127],[70],[4,64],...i32ify(makeString(_,"__proto__",1)),[33,7],[32,0],[33,8],[32,1],[33,9],[32,2],[183],[32,3],[32,7],[183],[65,195,1],[16,builtin('__Porffor_compareStrings')],[26],[252,3],[69],[4,64],[3,64],[65,1],[4,64],[32,0],[32,1],[32,7],[65,195,1],[16,builtin('__Porffor_object_get')],[33,5],[252,2],[33,0],[32,5],[33,1],[null,()=>{if(hasFunc('#get___String_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_string"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_bytestring"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_stringobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__String_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Number_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_number"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_numberobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Number_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Boolean_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"CallExpression","callee":{"type":"Identifier","name":"__Porffor_fastOr"},"arguments":[{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_boolean"}},{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_booleanobject"}}],"optional":false},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Boolean_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Function_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_function"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Function_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Array_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_array"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Array_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Date_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_date"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Date_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[null,()=>{if(hasFunc('#get___Error_prototype')){const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];const valtypeInd=['i32','i64','f64'].indexOf(valtype);Opcodes.i32_to=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_s][valtypeInd];Opcodes.i32_to_u=[[],[Opcodes.i32_wrap_i64],Opcodes.i32_trunc_sat_f64_u][valtypeInd];Opcodes.i32_from=[[],[Opcodes.i64_extend_i32_s],[Opcodes.f64_convert_i32_s]][valtypeInd];Opcodes.i32_from_u=[[],[Opcodes.i64_extend_i32_u],[ Opcodes.f64_convert_i32_u]][valtypeInd]};const a=Prefs;Prefs={"treeshakeWasmImports":false,"alwaysMemory":true,"indirectCalls":true,"optUnused":true,"data":true,"passiveData":false,"rmUnusedTypes":false,"optTypes":true,"coctc":false,"valtype":"i32","module":true,"todoTime":"compile","truthy":"no_nan_negative","scopedPageNames":true,"funsafeNoUnlikelyProtoChecks":true,"zeroChecks":"charCodeAt","fastLength":true,"parseTypes":true,"activeData":true};r();const b=generate(_,{"type":"BlockStatement","body":[{"type":"IfStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"trueType"},"operator":"==","right":{"type":"Identifier","name":"__Porffor_TYPES_error"}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"obj"},"right":{"type":"Identifier","name":"__Error_prototype"}}}]},"alternate":null}]});Prefs=a;r();return b;}return []}],[32,0],[33,10],[32,1],[33,11],[2,127],...t([0,128],()=>[[32,11],[69],[32,11],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,11],[65,7],[70],[4,64],[32,10],[69],[12,1],[11]]),[65,0],[11],[32,0],[32,8],[70],[114],[4,64],[12,1],[26],[11],[32,0],[33,8],[32,1],[33,9],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,5],[34,6],[65,127],[71],[4,64],[12,1],[26],[11],[12,1],[11],[11],[5],[16,builtin('#get___Object_prototype')],[33,12],[32,4],[65,6],[70],[4,64],[16,builtin('#get___Function_prototype')],[33,12],[11],[32,12],[184],[65,7],[15],[26],[11],[32,6],[65,127],[70],[4,64],[68,0],[65,128,1],[15],[26],[11],[11],[32,6],[47,0,12],[34,13],[65,1],[113],[4,64],[32,6],[65,1],[16,builtin('__Porffor_object_accessorGet')],[33,5],[34,14],[69],[4,64],[68,0],[65,128,1],[15],[26],[11],[32,14],[33,17],[65,0],[65,128,1],[33,18],[183],[32,18],[32,0],[34,15],[32,1],[34,16],[33,18],[183],[32,18],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[32,17],[17,12,0],[34,5],[15],[26],[11],[32,6],[43,0,4],[32,13],[65,8],[118],[15]],
|
71
71
|
params:[127,127,127,127],typedParams:1,returns:[124,127],typedReturns:1,
|
72
72
|
locals:[127,127,127,127,127,127,127,127,127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","trueType","#last_type","entryPtr","protoKey","lastProto","lastProto#type","#logicinner_tmp","#typeswitch_tmp1","proto","tail","get","#call_val","#call_type","#indirect_4_callee","#swap"],
|
73
73
|
usedTypes:[195,7],
|
@@ -79,31 +79,31 @@ params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
|
79
79
|
locals:[127],localNames:["ptr","ptr#type","key","key#type","keyEnc"],
|
80
80
|
}
|
81
81
|
this.__Porffor_object_set = {
|
82
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
82
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[34,1],[65,7],[71],[4,64],[32,4],[32,5],[15],[26],[11],[11],[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot set property of null`),[26],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[34,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,9],[32,6],[33,10],[2,127],...t([67,195],()=>[[32,10],[65,195,0],[70],[32,10],[65,195,1],[70],[114],[4,64],[32,9],[40,1,0],[12,1],[11]]),[32,9],[11],[4,64],[32,4],[32,5],[15],[26],[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,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[65,14],[33,8],[5],[32,7],[47,0,12],[34,12],[65,1],[113],[4,64],[32,7],[65,1],[16,builtin('__Porffor_object_accessorSet')],[33,6],[34,13],[69],[4,64],[32,4],[32,5],[15],[26],[11],[32,13],[33,16],[65,0],[65,128,1],[33,17],[183],[32,17],[32,0],[34,14],[32,1],[34,15],[33,17],[183],[32,17],[32,4],[32,5],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[32,16],[17,12,0],[33,6],[26],[32,4],[32,5],[15],[26],[11],[32,12],[65,8],[113],[69],[4,64],[32,4],[32,5],[15],[26],[11],[32,12],[65,255,1],[113],[33,8],[11],[32,7],[32,4],[57,0,4],[32,7],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
|
83
83
|
params:[127,127,127,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
84
84
|
locals:[127,127,127,127,127,127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","#last_type","entryPtr","flags","#logicinner_tmp","#typeswitch_tmp1","size","tail","set","#call_val","#call_type","#indirect_5_callee","#swap"],
|
85
85
|
table:1,usesTag:1,
|
86
86
|
}
|
87
87
|
this.__Porffor_object_setStrict = {
|
88
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot set property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[
|
88
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot set property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[34,1],[65,7],[71],[4,64],[32,4],[32,5],[15],[26],[11],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[34,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,9],[32,6],[33,10],[2,127],...t([67,195],()=>[[32,10],[65,195,0],[70],[32,10],[65,195,1],[70],[114],[4,64],[32,9],[40,1,0],[12,1],[11]]),[32,9],[11],[4,64],...internalThrow(_,'TypeError',`Cannot add property to inextensible object`),[26],[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,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[65,14],[33,8],[5],[32,7],[47,0,12],[34,12],[65,1],[113],[4,64],[32,7],[65,1],[16,builtin('__Porffor_object_accessorSet')],[33,6],[34,13],[69],[4,64],...internalThrow(_,'TypeError',`Cannot set property with no setter of object`),[26],[11],[32,13],[33,16],[65,0],[65,128,1],[33,17],[183],[32,17],[32,0],[34,14],[32,1],[34,15],[33,17],[183],[32,17],[32,4],[32,5],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[65,0],[183],[65,128,1],[32,16],[17,12,0],[33,6],[26],[32,4],[32,5],[15],[26],[11],[32,12],[65,8],[113],[69],[4,64],...internalThrow(_,'TypeError',`Cannot modify read-only property of object`),[26],[11],[32,12],[65,255,1],[113],[33,8],[11],[32,7],[32,4],[57,0,4],[32,7],[32,8],[32,5],[65,8],[116],[106],[59,0,12],[32,4],[32,5],[15]],
|
89
89
|
params:[127,127,127,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
90
90
|
locals:[127,127,127,127,127,127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","#last_type","entryPtr","flags","#logicinner_tmp","#typeswitch_tmp1","size","tail","set","#call_val","#call_type","#indirect_6_callee","#swap"],
|
91
91
|
table:1,usesTag:1,
|
92
92
|
}
|
93
93
|
this.__Porffor_object_define = {
|
94
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
94
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,8],[252,2],[33,0],[32,8],[34,1],[65,7],[71],[4,64],[65,0],[65,128,1],[15],[26],[11],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,8],[34,9],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,8],[33,10],[32,8],[33,11],[2,127],...t([67,195],()=>[[32,11],[65,195,0],[70],[32,11],[65,195,1],[70],[114],[4,64],[32,10],[40,1,0],[12,1],[11]]),[32,10],[11],[4,64],...internalThrow(_,'TypeError',`Cannot define property, object is inextensible`),[26],[11],[32,0],[40,0,0],[33,12],[32,0],[32,12],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,12],[65,14],[108],[106],[34,9],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,8],[26],[5],[32,9],[47,0,12],[34,13],[65,2],[113],[69],[4,64],[65,0],[33,14],[32,13],[65,7],[113],[32,6],[65,7],[113],[71],[4,64],[65,1],[33,14],[5],[32,13],[65,8],[113],[69],[4,64],[32,6],[65,8],[113],[4,64],[65,1],[33,14],[5],[32,9],[43,0,4],[32,9],[45,0,13],[32,4],[32,5],[16,builtin('__Object_is')],[26],[252,3],[69],[33,14],[11],[11],[11],[32,14],[4,64],...internalThrow(_,'TypeError',`Cannot redefine property`),[26],[11],[11],[11],[32,9],[32,4],[57,0,4],[32,9],[32,6],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
95
95
|
params:[127,127,127,127,124,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
96
96
|
locals:[127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","flags","flags#type","#last_type","entryPtr","#logicinner_tmp","#typeswitch_tmp1","size","tail","err"],
|
97
97
|
usesTag:1,
|
98
98
|
}
|
99
99
|
this.__Porffor_object_delete = {
|
100
|
-
wasm:(_,{builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot delete property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[
|
100
|
+
wasm:(_,{builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot delete property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,4],[252,2],[33,0],[32,4],[33,1],[11],[32,1],[65,7],[71],[4,64],[65,1],[65,2],[15],[26],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,4],[34,5],[65,127],[70],[4,64],[65,1],[65,2],[15],[26],[11],[32,5],[47,0,12],[34,6],[65,2],[113],[69],[4,64],[65,0],[65,2],[15],[26],[11],[32,5],[32,0],[107],[65,14],[109],[33,7],[32,0],[40,0,0],[33,8],[32,0],[32,8],[65,1],[107],[34,8],[54,0,0],[32,8],[32,7],[74],[4,64],[32,5],[32,5],[65,14],[106],[32,8],[32,7],[107],[65,14],[108],[252,10,0,0],[11],[65,1],[65,2],[15]],
|
101
101
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
102
102
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","#last_type","entryPtr","tail","ind","size"],
|
103
103
|
usesTag:1,
|
104
104
|
}
|
105
105
|
this.__Porffor_object_deleteStrict = {
|
106
|
-
wasm:(_,{builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot delete property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[
|
106
|
+
wasm:(_,{builtin,internalThrow})=>[[32,0],[69],[4,64],...internalThrow(_,'TypeError',`Cannot delete property of null`),[26],[11],[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,4],[252,2],[33,0],[32,4],[33,1],[11],[32,1],[65,7],[71],[4,64],[65,1],[65,2],[15],[26],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,4],[34,5],[65,127],[70],[4,64],[65,1],[65,2],[15],[26],[11],[32,5],[47,0,12],[34,6],[65,2],[113],[69],[4,64],...internalThrow(_,'TypeError',`Cannot delete non-configurable property of object`),[26],[11],[32,5],[32,0],[107],[65,14],[109],[33,7],[32,0],[40,0,0],[33,8],[32,0],[32,8],[65,1],[107],[34,8],[54,0,0],[32,8],[32,7],[74],[4,64],[32,5],[32,5],[65,14],[106],[32,8],[32,7],[107],[65,14],[108],[252,10,0,0],[11],[65,1],[65,2],[15]],
|
107
107
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
108
108
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","#last_type","entryPtr","tail","ind","size"],
|
109
109
|
usesTag:1,
|
@@ -129,45 +129,45 @@ params:[127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
|
129
129
|
locals:[127],localNames:["arg","arg#type","t"],
|
130
130
|
}
|
131
131
|
this.__Porffor_object_expr_init = {
|
132
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
132
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[34,7],[65,127],[70],[4,64],[32,0],[40,0,0],[33,8],[32,0],[32,8],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,8],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[11],[32,7],[32,4],[57,0,4],[32,7],[65,14],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
133
133
|
params:[127,127,127,127,124,127],typedParams:1,returns:[127,127],typedReturns:1,
|
134
134
|
locals:[127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","#last_type","entryPtr","size"],
|
135
135
|
}
|
136
136
|
this.__Porffor_object_expr_initWithFlags = {
|
137
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
137
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,8],[252,2],[33,0],[32,8],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,8],[34,9],[65,127],[70],[4,64],[32,0],[40,0,0],[33,10],[32,0],[32,10],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,10],[65,14],[108],[106],[34,9],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,8],[26],[11],[32,9],[32,4],[57,0,4],[32,9],[32,6],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
138
138
|
params:[127,127,127,127,124,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
139
139
|
locals:[127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","flags","flags#type","#last_type","entryPtr","size"],
|
140
140
|
}
|
141
141
|
this.__Porffor_object_expr_get = {
|
142
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
142
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[33,7],[65,0],[33,8],[65,128,1],[33,9],[32,7],[65,127],[70],[4,64],[32,0],[40,0,0],[33,10],[32,0],[32,10],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,10],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[5],[32,7],[65,1],[16,builtin('__Porffor_object_accessorSet')],[34,6],[33,9],[33,8],[11],[32,7],[32,4],[32,5],[32,8],[32,9],[16,builtin('__Porffor_object_packAccessor')],[33,6],[57,0,4],[32,7],[65,15],[65,1],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
143
143
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
144
144
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","get","get#type","#last_type","entryPtr","set","set#type","size"],
|
145
145
|
}
|
146
146
|
this.__Porffor_object_expr_set = {
|
147
|
-
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
147
|
+
wasm:(_,{builtin})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[33,7],[65,0],[33,8],[65,128,1],[33,9],[32,7],[65,127],[70],[4,64],[32,0],[40,0,0],[33,10],[32,0],[32,10],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,10],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[5],[32,7],[65,1],[16,builtin('__Porffor_object_accessorGet')],[34,6],[33,9],[33,8],[11],[32,7],[32,8],[32,9],[32,4],[32,5],[16,builtin('__Porffor_object_packAccessor')],[33,6],[57,0,4],[32,7],[65,15],[65,1],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
148
148
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
149
149
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","set","set#type","#last_type","entryPtr","get","get#type","size"],
|
150
150
|
}
|
151
151
|
this.__Porffor_object_class_value = {
|
152
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
152
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[34,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,8],[32,6],[33,9],[2,127],...t([67,195],()=>[[32,9],[65,195,0],[70],[32,9],[65,195,1],[70],[114],[4,64],[32,8],[40,1,0],[12,1],[11]]),[32,8],[11],[4,64],...internalThrow(_,'TypeError',`Cannot define property, object is inextensible`),[26],[11],[32,0],[40,0,0],[33,10],[32,0],[32,10],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,10],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[11],[32,7],[32,4],[57,0,4],[32,7],[65,14],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
153
153
|
params:[127,127,127,127,124,127],typedParams:1,returns:[127,127],typedReturns:1,
|
154
154
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","#last_type","entryPtr","#logicinner_tmp","#typeswitch_tmp1","size"],
|
155
155
|
usesTag:1,
|
156
156
|
}
|
157
157
|
this.__Porffor_object_class_method = {
|
158
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
158
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[34,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,8],[32,6],[33,9],[2,127],...t([67,195],()=>[[32,9],[65,195,0],[70],[32,9],[65,195,1],[70],[114],[4,64],[32,8],[40,1,0],[12,1],[11]]),[32,8],[11],[4,64],...internalThrow(_,'TypeError',`Cannot define property, object is inextensible`),[26],[11],[32,0],[40,0,0],[33,10],[32,0],[32,10],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,10],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[11],[32,7],[32,4],[57,0,4],[32,7],[65,10],[32,5],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
159
159
|
params:[127,127,127,127,124,127],typedParams:1,returns:[127,127],typedReturns:1,
|
160
160
|
locals:[127,127,127,127,127],localNames:["obj","obj#type","key","key#type","value","value#type","#last_type","entryPtr","#logicinner_tmp","#typeswitch_tmp1","size"],
|
161
161
|
usesTag:1,
|
162
162
|
}
|
163
163
|
this.__Porffor_object_class_get = {
|
164
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
164
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[33,7],[65,0],[33,8],[65,128,1],[33,9],[32,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,10],[32,6],[33,11],[2,127],...t([67,195],()=>[[32,11],[65,195,0],[70],[32,11],[65,195,1],[70],[114],[4,64],[32,10],[40,1,0],[12,1],[11]]),[32,10],[11],[4,64],...internalThrow(_,'TypeError',`Cannot define property, object is inextensible`),[26],[11],[32,0],[40,0,0],[33,12],[32,0],[32,12],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,12],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[5],[32,7],[65,1],[16,builtin('__Porffor_object_accessorSet')],[34,6],[33,9],[33,8],[11],[32,7],[32,4],[32,5],[32,8],[32,9],[16,builtin('__Porffor_object_packAccessor')],[33,6],[57,0,4],[32,7],[65,11],[65,1],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
165
165
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
166
166
|
locals:[127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","get","get#type","#last_type","entryPtr","set","set#type","#logicinner_tmp","#typeswitch_tmp1","size"],
|
167
167
|
usesTag:1,
|
168
168
|
}
|
169
169
|
this.__Porffor_object_class_set = {
|
170
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[
|
170
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[65,7],[71],[4,64],[32,0],[183],[32,1],[16,builtin('__Porffor_object_underlying')],[33,6],[252,2],[33,0],[32,6],[33,1],[11],[32,0],[32,1],[32,2],[32,3],[16,builtin('__Porffor_object_lookup')],[33,6],[33,7],[65,0],[33,8],[65,128,1],[33,9],[32,7],[65,127],[70],[4,64],[32,0],[32,1],[16,builtin('__Porffor_object_isInextensible')],[33,6],[33,10],[32,6],[33,11],[2,127],...t([67,195],()=>[[32,11],[65,195,0],[70],[32,11],[65,195,1],[70],[114],[4,64],[32,10],[40,1,0],[12,1],[11]]),[32,10],[11],[4,64],...internalThrow(_,'TypeError',`Cannot define property, object is inextensible`),[26],[11],[32,0],[40,0,0],[33,12],[32,0],[32,12],[65,1],[106],[54,0,0],[32,0],[65,5],[106],[32,12],[65,14],[108],[106],[34,7],[65,1],[32,2],[32,3],[16,builtin('__Porffor_object_writeKey')],[33,6],[26],[5],[32,7],[65,1],[16,builtin('__Porffor_object_accessorGet')],[34,6],[33,9],[33,8],[11],[32,7],[32,8],[32,9],[32,4],[32,5],[16,builtin('__Porffor_object_packAccessor')],[33,6],[57,0,4],[32,7],[65,11],[65,1],[65,8],[116],[106],[59,0,12],[65,0],[65,128,1],[15]],
|
171
171
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
172
172
|
locals:[127,127,127,127,127,127,127],localNames:["obj","obj#type","key","key#type","set","set#type","#last_type","entryPtr","get","get#type","#logicinner_tmp","#typeswitch_tmp1","size"],
|
173
173
|
usesTag:1,
|
@@ -338,7 +338,7 @@ params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
|
338
338
|
locals:[],localNames:["x","x#type"],
|
339
339
|
}
|
340
340
|
this.__Array_from = {
|
341
|
-
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([0,128],()=>[[32,5],[65,0],[70],[32,5],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,5],[65,7],[70],[4,64],[32,4],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],...internalThrow(_,'TypeError',`Argument cannot be nullish`),[26],[11],[16,builtin('__Porffor_allocate')],[183],[33,6],[68,0],[33,7],[32,1],[184],[33,8],[65,1],[33,9],[32,8],[68,80],[97],[32,8],[68,67],[97],[114],[32,8],[68,195],[97],[114],[32,8],[68,19],[97],[114],[32,8],[68,88],[102],[32,8],[68,96],[101],[113],[114],[4,64],[68,0],[33,10],[32,3],[184],[68,128],[98],[4,64],[32,3],[184],[68,6],[98],[4,64],...internalThrow(_,'TypeError',`Called Array.from with a non-function mapFn`),[26],[11],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,21],[32,10],[33,22],[32,21],[252,3],[32,22],[252,3],[65,9],[108],[106],[34,20],[32,2],[33,23],[32,3],[33,5],[2,124],...t([6],()=>[[32,5],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[32,16],[32,10],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,23],[252,3],[17,12,0],[33,17],[12,1],[11]]),...internalThrow(_,'TypeError',`mapFn is not a function`),[68,0],[11],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[5],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,24],[32,10],[32,10],[68,1],[160],[33,10],[33,25],[32,24],[252,3],[32,25],[252,3],[65,9],[108],[106],[34,20],[32,15],[57,0,4],[32,20],[32,16],[58,0,12],[12,1],[11],[11],[11],[32,10],[33,7],[11],[32,8],[68,7],[97],[4,64],[32,0],[33,26],...makeString(_,"length",1),[34,27],[33,29],[32,26],[34,28],[252,2],[65,7],[32,29],[65,195,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[33,17],[33,7],[68,0],[33,10],[3,64],[32,10],[32,7],[99],[4,64],[32,6],[33,31],[32,10],[33,32],[32,31],[252,3],[32,32],[252,3],[65,9],[108],[106],[34,20],[32,10],[33,34],[32,26],[34,33],[252,2],[65,7],[32,34],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[33,17],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[252,3],[54,1,0],[32,6],[65,208,0],[15]],
|
341
|
+
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([0,128],()=>[[32,5],[65,0],[70],[32,5],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,5],[65,7],[70],[4,64],[32,4],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],...internalThrow(_,'TypeError',`Argument cannot be nullish`),[26],[11],[16,builtin('__Porffor_allocate')],[183],[33,6],[68,0],[33,7],[32,1],[184],[33,8],[65,1],[33,9],[32,8],[68,80],[97],[32,8],[68,67],[97],[114],[32,8],[68,195],[97],[114],[32,8],[68,19],[97],[114],[32,8],[68,88],[102],[32,8],[68,96],[101],[113],[114],[4,64],[68,0],[33,10],[32,3],[184],[68,128],[98],[4,64],[32,3],[184],[68,6],[98],[4,64],...internalThrow(_,'TypeError',`Called Array.from with a non-function mapFn`),[26],[11],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,21],[32,10],[33,22],[32,21],[252,3],[32,22],[252,3],[65,9],[108],[106],[34,20],[32,2],[33,23],[32,3],[33,5],[2,124],...t([6],()=>[[32,5],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[32,16],[32,10],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,23],[252,3],[17,12,0],[33,17],[12,1],[11]]),...internalThrow(_,'TypeError',`mapFn is not a function`),[68,0],[11],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[5],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,24],[32,10],[32,10],[68,1],[160],[33,10],[33,25],[32,24],[252,3],[32,25],[252,3],[65,9],[108],[106],[34,20],[32,15],[57,0,4],[32,20],[32,16],[58,0,12],[12,1],[11],[11],[11],[32,10],[33,7],[11],[32,8],[68,7],[97],[4,64],[32,0],[33,26],...makeString(_,"length",1),[34,27],[33,29],[32,26],[34,28],[252,2],[65,7],[32,29],[65,195,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[34,17],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,17],[33,7],[68,0],[33,10],[3,64],[32,10],[32,7],[99],[4,64],[32,6],[33,31],[32,10],[33,32],[32,31],[252,3],[32,32],[252,3],[65,9],[108],[106],[34,20],[32,10],[33,34],[32,26],[34,33],[252,2],[65,7],[32,34],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[33,17],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[252,3],[54,1,0],[32,6],[65,208,0],[15]],
|
342
342
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
343
343
|
locals:[124,127,124,124,124,127,124,127,127,127,127,124,127,127,127,127,127,124,124,124,124,124,124,124,124,124,127,124,124,124,124],localNames:["arg","arg#type","mapFn","mapFn#type","#logicinner_tmp","#typeswitch_tmp1","out","len","type","type#type","i","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","x","x#type","#last_type","#forof_allocd","#forof_mapptr","#member_setter_ptr_tmp","#member_obj_9","#member_prop_9","#indirect_10_callee","#member_obj_11","#member_prop_11","obj","lengthKey","#member_obj_12","#member_prop_12","#swap","#member_obj_13","#member_prop_13","#member_obj_14","#member_prop_14"],
|
344
344
|
usedTypes:[67,195,80,7],
|
@@ -1941,16 +1941,16 @@ usedTypes:[38],
|
|
1941
1941
|
constr:1,
|
1942
1942
|
}
|
1943
1943
|
this.__Number_prototype_toString = {
|
1944
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toString expects 'this' to be a Number`),[11],[
|
1944
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toString expects 'this' to be a Number`),[11],[32,3],[184],[68,1],[98],[4,64],[68,10],[33,2],[65,1],[33,3],[11],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,2],[99],[34,4],[69],[4,127],[32,2],[68,36],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toString() radix argument must be between 2 and 36`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,0],[68,0],[97],[4,64],...makeString(_,"0",1),[65,195,1],[15],[26],[11],[16,builtin('__Porffor_allocate')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[16,builtin('__Math_trunc')],[33,8],[68,0],[33,9],[68,0],[33,10],[32,2],[68,10],[97],[4,64],[32,8],[68,1e+21],[102],[4,64],[68,1],[33,11],[68,-1],[33,12],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[32,2],[16,builtin('f64_%')],[33,13],[32,8],[32,2],[163],[16,builtin('__Math_trunc')],[33,8],[32,12],[68,1],[160],[33,12],[32,11],[252,3],[4,64],[32,13],[68,0],[97],[4,64],[12,3],[26],[11],[68,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[32,7],[68,1],[160],[33,16],[3,64],[32,7],[32,15],[99],[4,64],[32,7],[32,16],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,15],[68,1],[160],[33,15],[11],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[68,0],[33,10],[3,64],[32,12],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,12],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,12],[32,2],[163],[16,builtin('__Math_trunc')],[33,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15],[26],[11],[32,0],[68,0.000001],[99],[4,64],[32,0],[33,17],[68,1],[33,12],[3,64],[65,1],[4,64],[32,17],[32,2],[162],[34,17],[16,builtin('__Math_trunc')],[34,18],[68,0],[100],[4,64],[32,17],[32,18],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,12],[68,1],[160],[33,12],[11],[12,1],[11],[11],[3,64],[32,17],[68,0],[100],[4,64],[32,17],[32,2],[16,builtin('f64_%')],[33,13],[32,17],[32,2],[163],[16,builtin('__Math_trunc')],[33,17],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[32,7],[68,1],[160],[33,16],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[33,13],[32,7],[32,16],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,15],[68,1],[160],[33,15],[11],[32,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[68,0],[33,10],[3,64],[32,12],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,12],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,12],[32,2],[163],[16,builtin('__Math_trunc')],[33,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15],[26],[11],[11],[32,8],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[3,64],[32,8],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,8],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,8],[32,2],[163],[16,builtin('__Math_trunc')],[33,8],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16,builtin('__Math_trunc')],[161],[34,17],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,17],[68,1],[160],[33,17],[68,16],[32,10],[161],[33,19],[68,0],[33,20],[3,64],[32,20],[32,19],[99],[4,64],[32,17],[32,2],[162],[33,17],[32,20],[68,1],[160],[33,20],[12,1],[11],[11],[32,17],[16,builtin('__Math_round')],[33,17],[68,0],[33,10],[68,1],[33,11],[3,64],[32,17],[68,1],[100],[4,64],[32,17],[32,2],[16,builtin('f64_%')],[33,13],[32,17],[32,2],[163],[16,builtin('__Math_trunc')],[33,17],[32,11],[252,3],[4,64],[32,13],[68,0],[97],[4,64],[12,3],[26],[11],[68,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1945
1945
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1946
|
-
locals:[
|
1946
|
+
locals:[127,127,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","radix","radix#type","logictmpi","#last_type","out","outPtr","i","digits","l","trailing","e","digit","digitsPtr","endPtr","dotPlace","decimal","intPart","decimalDigits","j"],
|
1947
1947
|
usedTypes:[195],
|
1948
1948
|
usesTag:1,
|
1949
1949
|
}
|
1950
1950
|
this.__Number_prototype_toFixed = {
|
1951
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toFixed expects 'this' to be a Number`),[11],[16,builtin('
|
1951
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toFixed expects 'this' to be a Number`),[11],[32,2],[68,0],[16,builtin('f64_|')],[34,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toFixed() fractionDigits argument must be between 0 and 100`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[16,builtin('__Porffor_allocate')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[16,builtin('__Math_trunc')],[33,8],[68,0],[33,9],[68,0],[33,10],[32,8],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[3,64],[32,8],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,8],[68,10],[16,builtin('f64_%')],[252,2],[58,0,4],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,11],[32,7],[32,10],[160],[33,12],[3,64],[32,7],[32,12],[99],[4,64],[32,11],[68,1],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16,builtin('__Math_trunc')],[161],[33,14],[32,2],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,14],[68,1],[160],[33,14],[68,0],[33,15],[3,64],[32,15],[32,2],[99],[4,64],[32,14],[68,10],[162],[33,14],[32,15],[68,1],[160],[33,15],[12,1],[11],[11],[32,14],[16,builtin('__Math_round')],[33,14],[68,0],[33,10],[3,64],[32,14],[68,1],[100],[4,64],[32,14],[68,10],[16,builtin('f64_%')],[33,13],[32,14],[68,10],[163],[16,builtin('__Math_trunc')],[33,14],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,11],[32,7],[32,10],[160],[33,12],[3,64],[32,7],[32,12],[99],[4,64],[32,11],[68,1],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1952
1952
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1953
|
-
locals:[
|
1953
|
+
locals:[127,127,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","fractionDigits","fractionDigits#type","logictmpi","#last_type","out","outPtr","i","digits","l","digitsPtr","endPtr","digit","decimal","j"],
|
1954
1954
|
usedTypes:[195],
|
1955
1955
|
usesTag:1,
|
1956
1956
|
}
|
@@ -1961,9 +1961,9 @@ locals:[127],localNames:["_this","_this#type","#last_type"],
|
|
1961
1961
|
usesTag:1,
|
1962
1962
|
}
|
1963
1963
|
this.__Number_prototype_toExponential = {
|
1964
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toExponential expects 'this' to be a Number`),[11],[
|
1964
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toExponential expects 'this' to be a Number`),[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,3],[184],[68,1],[98],[4,64],[68,0],[33,2],[65,128,1],[33,3],[5],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toExponential() fractionDigits argument must be between 0 and 100`),[26],[11],[11],[16,builtin('__Porffor_allocate')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[33,8],[68,0],[33,9],[68,0],[33,10],[68,0],[33,11],[32,0],[68,0],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,48],[58,0,4],[32,2],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[68,0],[33,14],[3,64],[32,14],[32,2],[99],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,48],[58,0,4],[32,14],[68,1],[160],[33,14],[12,1],[11],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[5],[32,0],[68,1],[99],[4,64],[32,3],[184],[68,1],[98],[4,64],[68,1],[33,11],[3,64],[65,1],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[100],[4,64],[32,8],[32,15],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,11],[68,1],[160],[33,11],[11],[12,1],[11],[11],[5],[68,1],[33,11],[68,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[97],[4,64],[32,11],[68,1],[160],[33,11],[5],[32,14],[68,1],[160],[33,14],[11],[12,1],[11],[11],[11],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[68,10],[16,builtin('f64_%')],[33,16],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[32,7],[68,1],[160],[33,17],[3,64],[32,7],[32,13],[99],[4,64],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[33,16],[32,7],[32,17],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,13],[68,1],[160],[33,13],[11],[32,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[5],[68,-1],[33,11],[3,64],[32,8],[68,1],[102],[4,64],[32,8],[68,10],[163],[33,8],[32,11],[68,1],[160],[33,11],[12,1],[11],[11],[32,3],[184],[68,1],[98],[4,64],[3,64],[65,1],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[100],[4,64],[32,8],[32,15],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,11],[68,1],[160],[33,11],[11],[12,1],[11],[11],[5],[68,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,10],[162],[33,8],[32,14],[68,1],[160],[33,14],[12,1],[11],[11],[11],[32,8],[16,builtin('__Math_round')],[33,8],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[68,10],[16,builtin('f64_%')],[33,16],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[32,7],[68,1],[160],[33,17],[3,64],[32,7],[32,13],[99],[4,64],[32,7],[32,17],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,13],[68,1],[160],[33,13],[11],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[11],[11],[32,11],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[68,0],[33,10],[3,64],[32,11],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,11],[68,10],[16,builtin('f64_%')],[252,2],[58,0,4],[32,11],[68,10],[163],[16,builtin('__Math_trunc')],[33,11],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[3,64],[32,7],[32,13],[99],[4,64],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1965
1965
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1966
|
-
locals:[
|
1966
|
+
locals:[127,127,124,124,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","fractionDigits","fractionDigits#type","logictmpi","#last_type","out","outPtr","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace"],
|
1967
1967
|
usedTypes:[195],
|
1968
1968
|
usesTag:1,
|
1969
1969
|
}
|
@@ -2948,16 +2948,16 @@ locals:[127,127,127,127],localNames:["_this","_this#type","vals","vals#type","ou
|
|
2948
2948
|
hasRestArgument:1,
|
2949
2949
|
}
|
2950
2950
|
this.__String_prototype_repeat = {
|
2951
|
-
wasm:(_,{builtin,internalThrow})=>[[
|
2951
|
+
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[65,2],[108],[33,7],[65,0],[33,8],[3,64],[32,8],[32,4],[72],[4,64],[32,6],[65,4],[106],[32,8],[32,7],[108],[106],[32,0],[65,4],[106],[32,7],[252,10,0,0],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,6],[32,7],[32,4],[108],[54,0,0],[32,6],[65,195,0],[15]],
|
2952
2952
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2953
|
-
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","
|
2953
|
+
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","count","#last_type","out","thisLen","i"],
|
2954
2954
|
usedTypes:[67],
|
2955
2955
|
usesTag:1,
|
2956
2956
|
}
|
2957
2957
|
this.__ByteString_prototype_repeat = {
|
2958
|
-
wasm:(_,{builtin,internalThrow})=>[[
|
2958
|
+
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[33,7],[65,0],[33,8],[3,64],[32,8],[32,4],[72],[4,64],[32,6],[65,4],[106],[32,8],[32,7],[108],[106],[32,0],[65,4],[106],[32,7],[252,10,0,0],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,6],[32,7],[32,4],[108],[54,0,0],[32,6],[65,195,1],[15]],
|
2959
2959
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2960
|
-
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","
|
2960
|
+
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","count","#last_type","out","thisLen","i"],
|
2961
2961
|
usedTypes:[195],
|
2962
2962
|
usesTag:1,
|
2963
2963
|
}
|
@@ -2976,14 +2976,14 @@ usedTypes:[80,195],
|
|
2976
2976
|
usesTag:1,
|
2977
2977
|
}
|
2978
2978
|
this.__String_prototype_localeCompare = {
|
2979
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,2],[
|
2979
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToString')],[33,4],[252,2],[33,2],[32,4],[33,3],[32,0],[40,1,0],[33,5],[32,2],[40,1,0],[33,6],[32,5],[32,6],[74],[4,127],[32,5],[65,1],[33,4],[5],[32,6],[65,1],[33,4],[11],[33,7],[65,0],[33,8],[3,64],[32,8],[32,7],[72],[4,64],[2,64],[32,0],[40,1,0],[33,10],[32,8],[65,2],[108],[32,0],[106],[47,0,4],[65,1],[33,4],[33,9],[32,2],[40,1,0],[33,10],[32,3],[33,14],[2,127],...t([39],()=>[[32,14],[65,39],[70],[4,64],[32,8],[65,2],[108],[32,2],[106],[47,0,4],[65,1],[33,4],[12,1],[11]]),...t([67],()=>[[32,14],[65,195,0],[70],[4,64],[32,8],[65,2],[108],[32,2],[106],[47,0,4],[65,1],[33,4],[12,1],[11]]),...t([195],()=>[[32,14],[65,195,1],[70],[4,64],[32,8],[32,2],[106],[45,0,4],[65,1],[33,4],[12,1],[11]]),...internalThrow(_,'TypeError',`'charCodeAt' proto func tried to be called on a type without an impl`),[65,0],[11],[33,13],[32,9],[32,13],[74],[4,64],[65,1],[65,1],[15],[26],[11],[32,13],[32,9],[74],[4,64],[65,127],[65,1],[15],[26],[11],[11],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,5],[32,6],[74],[4,64],[65,1],[65,1],[15],[26],[11],[32,6],[32,5],[74],[4,64],[65,127],[65,1],[15],[26],[11],[65,0],[65,1],[15]],
|
2980
2980
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2981
2981
|
locals:[127,127,127,127,127,127,127,127,127,127,127],localNames:["_this","_this#type","compareString","compareString#type","#last_type","thisLen","compareLen","maxLen","i","a","__proto_length_cache","__proto_pointer_cache","__charCodeAt_tmp","b","#typeswitch_tmp1"],
|
2982
2982
|
usedTypes:[67],
|
2983
2983
|
usesTag:1,
|
2984
2984
|
}
|
2985
2985
|
this.__ByteString_prototype_localeCompare = {
|
2986
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,2],[
|
2986
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToString')],[33,4],[252,2],[33,2],[32,4],[33,3],[32,0],[40,1,0],[33,5],[32,2],[40,1,0],[33,6],[32,5],[32,6],[74],[4,127],[32,5],[65,1],[33,4],[5],[32,6],[65,1],[33,4],[11],[33,7],[65,0],[33,8],[3,64],[32,8],[32,7],[72],[4,64],[2,64],[32,0],[40,1,0],[33,10],[32,8],[32,0],[106],[45,0,4],[65,1],[33,4],[33,9],[32,2],[40,1,0],[33,10],[32,3],[33,14],[2,127],...t([39],()=>[[32,14],[65,39],[70],[4,64],[32,8],[65,2],[108],[32,2],[106],[47,0,4],[65,1],[33,4],[12,1],[11]]),...t([67],()=>[[32,14],[65,195,0],[70],[4,64],[32,8],[65,2],[108],[32,2],[106],[47,0,4],[65,1],[33,4],[12,1],[11]]),...t([195],()=>[[32,14],[65,195,1],[70],[4,64],[32,8],[32,2],[106],[45,0,4],[65,1],[33,4],[12,1],[11]]),...internalThrow(_,'TypeError',`'charCodeAt' proto func tried to be called on a type without an impl`),[65,0],[11],[33,13],[32,9],[32,13],[74],[4,64],[65,1],[65,1],[15],[26],[11],[32,13],[32,9],[74],[4,64],[65,127],[65,1],[15],[26],[11],[11],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,5],[32,6],[74],[4,64],[65,1],[65,1],[15],[26],[11],[32,6],[32,5],[74],[4,64],[65,127],[65,1],[15],[26],[11],[65,0],[65,1],[15]],
|
2987
2987
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2988
2988
|
locals:[127,127,127,127,127,127,127,127,127,127,127],localNames:["_this","_this#type","compareString","compareString#type","#last_type","thisLen","compareLen","maxLen","i","a","__proto_length_cache","__proto_pointer_cache","__charCodeAt_tmp","b","#typeswitch_tmp1"],
|
2989
2989
|
usedTypes:[195],
|
package/compiler/codegen.js
CHANGED
@@ -2683,7 +2683,7 @@ const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
|
2683
2683
|
if (valtypeBinary === Valtype.i32 &&
|
2684
2684
|
(func && func.params[paramOffset + i * (typedParams ? 2 : 1)] === Valtype.f64)
|
2685
2685
|
) {
|
2686
|
-
out.push([ Opcodes.
|
2686
|
+
out.push([ Opcodes.f64_convert_i32_s ]);
|
2687
2687
|
}
|
2688
2688
|
|
2689
2689
|
if (typedParams) out = out.concat(arg._callType ?? getNodeType(scope, arg));
|
package/package.json
CHANGED
package/r.js
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
// Copyright (c) 2012 Ecma International. All rights reserved.
|
2
|
+
// This code is governed by the BSD license found in the LICENSE file.
|
3
|
+
|
4
|
+
/*---
|
5
|
+
esid: sec-array.prototype.every
|
6
|
+
description: >
|
7
|
+
Array.prototype.every - value of 'length' is an Object which has
|
8
|
+
an own toString method
|
9
|
+
---*/
|
10
|
+
|
11
|
+
function callbackfn1(val, idx, obj) {
|
12
|
+
return val > 10;
|
13
|
+
}
|
14
|
+
|
15
|
+
function callbackfn2(val, idx, obj) {
|
16
|
+
return val > 11;
|
17
|
+
}
|
18
|
+
|
19
|
+
var toStringAccessed = false;
|
20
|
+
var obj = {
|
21
|
+
0: 12,
|
22
|
+
1: 11,
|
23
|
+
2: 9,
|
24
|
+
|
25
|
+
length: {
|
26
|
+
toString: function() {
|
27
|
+
toStringAccessed = true;
|
28
|
+
return '2';
|
29
|
+
}
|
30
|
+
}
|
31
|
+
};
|
32
|
+
Array.from(obj)
|