porffor 0.2.0-812b38c → 0.2.0-8858ca7
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/date.ts +123 -72
- package/compiler/codegen.js +24 -18
- package/compiler/generated_builtins.js +98 -52
- package/package.json +1 -1
- package/r.js +52 -0
@@ -1386,81 +1386,132 @@ export const ___date_prototype_setUTCSeconds = (_this: Date, sec: any, ms: any)
|
|
1386
1386
|
// sss is the number of complete milliseconds since the start of the second as three decimal digits.
|
1387
1387
|
// Z is the UTC offset representation specified as "Z" (for UTC with no offset) or as either "+" or "-" followed by a time expression HH:mm (a subset of the time zone offset string format for indicating local time ahead of or behind UTC, respectively)
|
1388
1388
|
|
1389
|
-
//
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1389
|
+
// fast appending single character
|
1390
|
+
export const __Porffor_bytestring_appendChar = (str: bytestring, char: i32): i32 => {
|
1391
|
+
const len: i32 = str.length;
|
1392
|
+
Porffor.wasm.i32.store8(Porffor.wasm`local.get ${str}` + len, char, 0, 4);
|
1393
|
+
str.length = len + 1;
|
1394
|
+
return 1;
|
1395
|
+
};
|
1394
1396
|
|
1395
|
-
//
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
//
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
// // 2 digit hour
|
1426
|
-
// const hour: number = __ecma262_HourFromTime(t);
|
1427
|
-
// out += hour.toString().padStart(2, zeroPadStr);
|
1428
|
-
// __Porffor_bytestring_appendChar(out, 58); // :
|
1429
|
-
|
1430
|
-
// // 2 digit minute
|
1431
|
-
// const min: number = __ecma262_MinFromTime(t);
|
1432
|
-
// out += min.toString().padStart(2, zeroPadStr);
|
1433
|
-
// __Porffor_bytestring_appendChar(out, 58); // :
|
1434
|
-
|
1435
|
-
// // 2 digit second
|
1436
|
-
// const sec: number = __ecma262_SecFromTime(t);
|
1437
|
-
// out += sec.toString().padStart(2, zeroPadStr);
|
1438
|
-
// __Porffor_bytestring_appendChar(out, 58); // :
|
1439
|
-
|
1440
|
-
// // 3 digit millisecond
|
1441
|
-
// const ms: number = __ecma262_msFromTime(t);
|
1442
|
-
// out += ms.toString().padStart(3, zeroPadStr);
|
1443
|
-
// __Porffor_bytestring_appendChar(out, 90); // Z
|
1444
|
-
|
1445
|
-
// return out;
|
1446
|
-
// };
|
1397
|
+
// fast appending padded number
|
1398
|
+
export const __Porffor_bytestring_appendPadNum = (str: bytestring, num: number, len: number): i32 => {
|
1399
|
+
let numStr: bytestring = num.toString();
|
1400
|
+
|
1401
|
+
let strPtr: i32 = Porffor.wasm`local.get ${str}` + str.length;
|
1402
|
+
|
1403
|
+
let numStrLen: i32 = numStr.length;
|
1404
|
+
const strPtrEnd: i32 = strPtr + (len - numStrLen);
|
1405
|
+
while (strPtr < strPtrEnd) {
|
1406
|
+
Porffor.wasm.i32.store8(strPtr++, 48, 0, 4);
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
let numPtr: i32 = Porffor.wasm`local.get ${numStr}`;
|
1410
|
+
const numPtrEnd: i32 = numPtr + numStrLen;
|
1411
|
+
while (numPtr < numPtrEnd) {
|
1412
|
+
Porffor.wasm.i32.store8(strPtr++, Porffor.wasm.i32.load8_u(numPtr++, 0, 4), 0, 4);
|
1413
|
+
}
|
1414
|
+
|
1415
|
+
str.length = strPtr - Porffor.wasm`local.get ${str}`;
|
1416
|
+
|
1417
|
+
return 1;
|
1418
|
+
};
|
1419
|
+
|
1420
|
+
// Timestamp to DTSF
|
1421
|
+
export const __ecma262_ToUTCDTSF = (t: number) => {
|
1422
|
+
const year: number = __ecma262_YearFromTime(t);
|
1423
|
+
|
1424
|
+
let out: bytestring = '';
|
1425
|
+
out.length = 0;
|
1447
1426
|
|
1448
|
-
|
1449
|
-
//
|
1450
|
-
//
|
1451
|
-
|
1452
|
-
// const tv: number = __Porffor_date_read(_this);
|
1427
|
+
if (year < 0 || year >= 10000) {
|
1428
|
+
// extended year format
|
1429
|
+
// sign
|
1430
|
+
__Porffor_bytestring_appendChar(out, year > 0 ? 43 : 45);
|
1453
1431
|
|
1454
|
-
//
|
1455
|
-
//
|
1456
|
-
|
1457
|
-
|
1458
|
-
//
|
1432
|
+
// 6 digit year
|
1433
|
+
// out += year.toString().padStart(6, zeroPadStr);
|
1434
|
+
__Porffor_bytestring_appendPadNum(out, year, 6);
|
1435
|
+
} else {
|
1436
|
+
// 4 digit year
|
1437
|
+
// out += year.toString().padStart(4, zeroPadStr);
|
1438
|
+
__Porffor_bytestring_appendPadNum(out, year, 4);
|
1439
|
+
}
|
1440
|
+
__Porffor_bytestring_appendChar(out, 45); // -
|
1441
|
+
|
1442
|
+
// 2 digit month (01-12)
|
1443
|
+
const month: number = __ecma262_MonthFromTime(t) + 1;
|
1444
|
+
// out += month.toString().padStart(2, zeroPadStr);
|
1445
|
+
__Porffor_bytestring_appendPadNum(out, month, 2);
|
1446
|
+
__Porffor_bytestring_appendChar(out, 45); // -
|
1447
|
+
|
1448
|
+
// 2 digit day of the month
|
1449
|
+
const date: number = __ecma262_DateFromTime(t);
|
1450
|
+
// out += date.toString().padStart(2, zeroPadStr);
|
1451
|
+
__Porffor_bytestring_appendPadNum(out, date, 2);
|
1452
|
+
__Porffor_bytestring_appendChar(out, 84); // T
|
1453
|
+
|
1454
|
+
// 2 digit hour
|
1455
|
+
const hour: number = __ecma262_HourFromTime(t);
|
1456
|
+
// out += hour.toString().padStart(2, zeroPadStr);
|
1457
|
+
__Porffor_bytestring_appendPadNum(out, hour, 2);
|
1458
|
+
__Porffor_bytestring_appendChar(out, 58); // :
|
1459
|
+
|
1460
|
+
// 2 digit minute
|
1461
|
+
const min: number = __ecma262_MinFromTime(t);
|
1462
|
+
// out += min.toString().padStart(2, zeroPadStr);
|
1463
|
+
__Porffor_bytestring_appendPadNum(out, min, 2);
|
1464
|
+
__Porffor_bytestring_appendChar(out, 58); // :
|
1465
|
+
|
1466
|
+
// 2 digit second
|
1467
|
+
const sec: number = __ecma262_SecFromTime(t);
|
1468
|
+
// out += sec.toString().padStart(2, zeroPadStr);
|
1469
|
+
__Porffor_bytestring_appendPadNum(out, sec, 2);
|
1470
|
+
__Porffor_bytestring_appendChar(out, 46); // .
|
1471
|
+
|
1472
|
+
// 3 digit millisecond
|
1473
|
+
const ms: number = __ecma262_msFromTime(t);
|
1474
|
+
// out += ms.toString().padStart(3, zeroPadStr);
|
1475
|
+
__Porffor_bytestring_appendPadNum(out, ms, 3);
|
1476
|
+
__Porffor_bytestring_appendChar(out, 90); // Z
|
1477
|
+
|
1478
|
+
return out;
|
1479
|
+
};
|
1480
|
+
|
1481
|
+
// 21.4.4.36 Date.prototype.toISOString ()
|
1482
|
+
// https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-date.prototype.toisostring
|
1483
|
+
export const ___date_prototype_toISOString = (_this: Date) => {
|
1484
|
+
// 1. Let dateObject be the this value.
|
1485
|
+
// 2. Perform ? RequireInternalSlot(dateObject, [[DateValue]]).
|
1486
|
+
// 3. Let tv be dateObject.[[DateValue]].
|
1487
|
+
const tv: number = __Porffor_date_read(_this);
|
1488
|
+
|
1489
|
+
// 4. If tv is NaN, throw a RangeError exception.
|
1490
|
+
if (Number.isNaN(tv)) {
|
1491
|
+
// todo throw
|
1492
|
+
return;
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
// 5. Assert: tv is an integral Number.
|
1496
|
+
|
1497
|
+
// 6. If tv corresponds with a year that cannot be represented in the Date Time String Format, throw a RangeError exception.
|
1498
|
+
// todo
|
1499
|
+
|
1500
|
+
// 7. Return a String representation of tv in the Date Time String Format on the UTC time scale, including all format elements and the UTC offset representation "Z".
|
1501
|
+
return __ecma262_ToUTCDTSF(tv);
|
1502
|
+
};
|
1459
1503
|
|
1460
|
-
//
|
1504
|
+
// 21.4.4.37 Date.prototype.toJSON (key)
|
1505
|
+
// https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-date.prototype.tojson
|
1506
|
+
export const ___date_prototype_toJSON = (_this: Date, key: any) => {
|
1507
|
+
// 1. Let O be ? ToObject(this value).
|
1508
|
+
// 2. Let tv be ? ToPrimitive(O, number).
|
1509
|
+
// todo: use generic Number() once it supports Date
|
1510
|
+
const tv: number = __Porffor_date_read(_this);
|
1461
1511
|
|
1462
|
-
//
|
1512
|
+
// 3. If tv is a Number and tv is not finite, return null.
|
1513
|
+
if (!Number.isFinite(tv)) return null;
|
1463
1514
|
|
1464
|
-
//
|
1465
|
-
|
1466
|
-
|
1515
|
+
// 4. Return ? Invoke(O, "toISOString").
|
1516
|
+
return ___date_prototype_toISOString(_this);
|
1517
|
+
};
|
package/compiler/codegen.js
CHANGED
@@ -1827,20 +1827,20 @@ const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
|
1827
1827
|
idx = funcIndex[name];
|
1828
1828
|
|
1829
1829
|
// infer arguments types from builtins params
|
1830
|
-
const func = funcs.find(x => x.name === name);
|
1831
|
-
for (let i = 0; i < decl.arguments.length; i++) {
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
}
|
1830
|
+
// const func = funcs.find(x => x.name === name);
|
1831
|
+
// for (let i = 0; i < decl.arguments.length; i++) {
|
1832
|
+
// const arg = decl.arguments[i];
|
1833
|
+
// if (!arg.name) continue;
|
1834
|
+
|
1835
|
+
// const local = scope.locals[arg.name];
|
1836
|
+
// if (!local) continue;
|
1837
|
+
|
1838
|
+
// local.type = func.params[i];
|
1839
|
+
// if (local.type === Valtype.v128) {
|
1840
|
+
// // specify vec subtype inferred from last vec type in function name
|
1841
|
+
// local.vecType = name.split('_').reverse().find(x => x.includes('x'));
|
1842
|
+
// }
|
1843
|
+
// }
|
1844
1844
|
}
|
1845
1845
|
|
1846
1846
|
if (idx === undefined && internalConstrs[name]) return internalConstrs[name].generate(scope, decl, _global, _name);
|
@@ -2270,6 +2270,8 @@ const generateAssign = (scope, decl, _global, _name, valueUnused = false) => {
|
|
2270
2270
|
return [];
|
2271
2271
|
}
|
2272
2272
|
|
2273
|
+
const op = decl.operator.slice(0, -1) || '=';
|
2274
|
+
|
2273
2275
|
// hack: .length setter
|
2274
2276
|
if (decl.left.type === 'MemberExpression' && decl.left.property.name === 'length') {
|
2275
2277
|
const name = decl.left.object.name;
|
@@ -2278,14 +2280,20 @@ const generateAssign = (scope, decl, _global, _name, valueUnused = false) => {
|
|
2278
2280
|
const aotPointer = Prefs.aotPointerOpt && pointer != null;
|
2279
2281
|
|
2280
2282
|
const newValueTmp = localTmp(scope, '__length_setter_tmp');
|
2283
|
+
const pointerTmp = op === '=' ? null : localTmp(scope, '__member_setter_ptr_tmp', Valtype.i32);
|
2281
2284
|
|
2282
2285
|
return [
|
2283
2286
|
...(aotPointer ? number(0, Valtype.i32) : [
|
2284
2287
|
...generate(scope, decl.left.object),
|
2285
2288
|
Opcodes.i32_to_u
|
2286
2289
|
]),
|
2290
|
+
...(!pointerTmp ? [] : [ [ Opcodes.local_tee, pointerTmp ] ]),
|
2287
2291
|
|
2288
|
-
...generate(scope, decl.right),
|
2292
|
+
...(op === '=' ? generate(scope, decl.right) : performOp(scope, op, [
|
2293
|
+
[ Opcodes.local_get, pointerTmp ],
|
2294
|
+
[ Opcodes.i32_load, Math.log2(ValtypeSize.i32) - 1, 0 ],
|
2295
|
+
Opcodes.i32_from_u
|
2296
|
+
], generate(scope, decl.right), number(TYPES.number, Valtype.i32), getNodeType(scope, decl.right))),
|
2289
2297
|
[ Opcodes.local_tee, newValueTmp ],
|
2290
2298
|
|
2291
2299
|
Opcodes.i32_to_u,
|
@@ -2295,8 +2303,6 @@ const generateAssign = (scope, decl, _global, _name, valueUnused = false) => {
|
|
2295
2303
|
];
|
2296
2304
|
}
|
2297
2305
|
|
2298
|
-
const op = decl.operator.slice(0, -1) || '=';
|
2299
|
-
|
2300
2306
|
// arr[i]
|
2301
2307
|
if (decl.left.type === 'MemberExpression' && decl.left.computed) {
|
2302
2308
|
const name = decl.left.object.name;
|
@@ -3100,7 +3106,7 @@ const makeArray = (scope, decl, global = false, name = '$undeclared', initEmpty
|
|
3100
3106
|
// todo: can we just have 1 undeclared array? probably not? but this is not really memory efficient
|
3101
3107
|
const uniqueName = name === '$undeclared' ? name + Math.random().toString().slice(2) : name;
|
3102
3108
|
|
3103
|
-
if (Prefs.scopedPageNames) scope.arrays.set(name, allocPage(scope, `${
|
3109
|
+
if (Prefs.scopedPageNames) scope.arrays.set(name, allocPage(scope, `${getAllocType(itemType)}: ${scope.name}/${uniqueName}`, itemType) * pageSize);
|
3104
3110
|
else scope.arrays.set(name, allocPage(scope, `${getAllocType(itemType)}: ${uniqueName}`, itemType) * pageSize);
|
3105
3111
|
}
|
3106
3112
|
|
@@ -3,7 +3,7 @@ import { number } from './embedding.js';
|
|
3
3
|
|
4
4
|
export const BuiltinFuncs = function() {
|
5
5
|
this.__String_prototype_big = {
|
6
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
6
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_big/out', 'i16') * pageSize, 127),[34,2],[65,10],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,226,0],[59,0,8],[32,3],[65,233,0],[59,0,10],[32,3],[65,231,0],[59,0,12],[32,3],[65,62],[59,0,14],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
7
7
|
params: [127,127],
|
8
8
|
typedParams: true,
|
9
9
|
returns: [127,127],
|
@@ -13,7 +13,7 @@ export const BuiltinFuncs = function() {
|
|
13
13
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,98,0,105,0,103,0,62,0]}],
|
14
14
|
};
|
15
15
|
this.___bytestring_prototype_big = {
|
16
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
16
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_big/out', 'i8') * pageSize, 127),[34,2],[65,5],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,226,0],[58,0,6],[32,3],[65,233,0],[58,0,7],[32,3],[65,231,0],[58,0,8],[32,3],[65,62],[58,0,9],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
17
17
|
params: [127,127],
|
18
18
|
typedParams: true,
|
19
19
|
returns: [127,127],
|
@@ -23,7 +23,7 @@ export const BuiltinFuncs = function() {
|
|
23
23
|
data: [{"offset":0,"bytes":[5,0,0,0,60,98,105,103,62]}],
|
24
24
|
};
|
25
25
|
this.__String_prototype_blink = {
|
26
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
26
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_blink/out', 'i16') * pageSize, 127),[34,2],[65,14],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,226,0],[59,0,8],[32,3],[65,236,0],[59,0,10],[32,3],[65,233,0],[59,0,12],[32,3],[65,238,0],[59,0,14],[32,3],[65,235,0],[59,0,16],[32,3],[65,62],[59,0,18],[32,2],[32,5],[65,15],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
27
27
|
params: [127,127],
|
28
28
|
typedParams: true,
|
29
29
|
returns: [127,127],
|
@@ -33,7 +33,7 @@ export const BuiltinFuncs = function() {
|
|
33
33
|
data: [{"offset":0,"bytes":[7,0,0,0,60,0,98,0,108,0,105,0,110,0,107,0,62,0]}],
|
34
34
|
};
|
35
35
|
this.___bytestring_prototype_blink = {
|
36
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
36
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_blink/out', 'i8') * pageSize, 127),[34,2],[65,7],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,226,0],[58,0,6],[32,3],[65,236,0],[58,0,7],[32,3],[65,233,0],[58,0,8],[32,3],[65,238,0],[58,0,9],[32,3],[65,235,0],[58,0,10],[32,3],[65,62],[58,0,11],[32,2],[32,5],[65,15],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
37
37
|
params: [127,127],
|
38
38
|
typedParams: true,
|
39
39
|
returns: [127,127],
|
@@ -43,7 +43,7 @@ export const BuiltinFuncs = function() {
|
|
43
43
|
data: [{"offset":0,"bytes":[7,0,0,0,60,98,108,105,110,107,62]}],
|
44
44
|
};
|
45
45
|
this.__String_prototype_bold = {
|
46
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
46
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_bold/out', 'i16') * pageSize, 127),[34,2],[65,6],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,226,0],[59,0,8],[32,3],[65,62],[59,0,10],[32,2],[32,5],[65,7],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
47
47
|
params: [127,127],
|
48
48
|
typedParams: true,
|
49
49
|
returns: [127,127],
|
@@ -53,7 +53,7 @@ export const BuiltinFuncs = function() {
|
|
53
53
|
data: [{"offset":0,"bytes":[3,0,0,0,60,0,98,0,62,0]}],
|
54
54
|
};
|
55
55
|
this.___bytestring_prototype_bold = {
|
56
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
56
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_bold/out', 'i8') * pageSize, 127),[34,2],[65,3],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,226,0],[58,0,6],[32,3],[65,62],[58,0,7],[32,2],[32,5],[65,7],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
57
57
|
params: [127,127],
|
58
58
|
typedParams: true,
|
59
59
|
returns: [127,127],
|
@@ -63,7 +63,7 @@ export const BuiltinFuncs = function() {
|
|
63
63
|
data: [{"offset":0,"bytes":[3,0,0,0,60,98,62]}],
|
64
64
|
};
|
65
65
|
this.__String_prototype_fixed = {
|
66
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
66
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_fixed/out', 'i16') * pageSize, 127),[34,2],[65,8],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,244,0],[59,0,8],[32,3],[65,244,0],[59,0,10],[32,3],[65,62],[59,0,12],[32,2],[32,5],[65,9],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
67
67
|
params: [127,127],
|
68
68
|
typedParams: true,
|
69
69
|
returns: [127,127],
|
@@ -73,7 +73,7 @@ export const BuiltinFuncs = function() {
|
|
73
73
|
data: [{"offset":0,"bytes":[4,0,0,0,60,0,116,0,116,0,62,0]}],
|
74
74
|
};
|
75
75
|
this.___bytestring_prototype_fixed = {
|
76
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
76
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_fixed/out', 'i8') * pageSize, 127),[34,2],[65,4],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,244,0],[58,0,6],[32,3],[65,244,0],[58,0,7],[32,3],[65,62],[58,0,8],[32,2],[32,5],[65,9],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
77
77
|
params: [127,127],
|
78
78
|
typedParams: true,
|
79
79
|
returns: [127,127],
|
@@ -83,7 +83,7 @@ export const BuiltinFuncs = function() {
|
|
83
83
|
data: [{"offset":0,"bytes":[4,0,0,0,60,116,116,62]}],
|
84
84
|
};
|
85
85
|
this.__String_prototype_italics = {
|
86
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
86
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_italics/out', 'i16') * pageSize, 127),[34,2],[65,6],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,233,0],[59,0,8],[32,3],[65,62],[59,0,10],[32,2],[32,5],[65,7],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
87
87
|
params: [127,127],
|
88
88
|
typedParams: true,
|
89
89
|
returns: [127,127],
|
@@ -93,7 +93,7 @@ export const BuiltinFuncs = function() {
|
|
93
93
|
data: [{"offset":0,"bytes":[3,0,0,0,60,0,105,0,62,0]}],
|
94
94
|
};
|
95
95
|
this.___bytestring_prototype_italics = {
|
96
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
96
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_italics/out', 'i8') * pageSize, 127),[34,2],[65,3],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,233,0],[58,0,6],[32,3],[65,62],[58,0,7],[32,2],[32,5],[65,7],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
97
97
|
params: [127,127],
|
98
98
|
typedParams: true,
|
99
99
|
returns: [127,127],
|
@@ -103,7 +103,7 @@ export const BuiltinFuncs = function() {
|
|
103
103
|
data: [{"offset":0,"bytes":[3,0,0,0,60,105,62]}],
|
104
104
|
};
|
105
105
|
this.__String_prototype_small = {
|
106
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
106
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_small/out', 'i16') * pageSize, 127),[34,2],[65,14],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,243,0],[59,0,8],[32,3],[65,237,0],[59,0,10],[32,3],[65,225,0],[59,0,12],[32,3],[65,236,0],[59,0,14],[32,3],[65,236,0],[59,0,16],[32,3],[65,62],[59,0,18],[32,2],[32,5],[65,15],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
107
107
|
params: [127,127],
|
108
108
|
typedParams: true,
|
109
109
|
returns: [127,127],
|
@@ -113,7 +113,7 @@ export const BuiltinFuncs = function() {
|
|
113
113
|
data: [{"offset":0,"bytes":[7,0,0,0,60,0,115,0,109,0,97,0,108,0,108,0,62,0]}],
|
114
114
|
};
|
115
115
|
this.___bytestring_prototype_small = {
|
116
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
116
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_small/out', 'i8') * pageSize, 127),[34,2],[65,7],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,243,0],[58,0,6],[32,3],[65,237,0],[58,0,7],[32,3],[65,225,0],[58,0,8],[32,3],[65,236,0],[58,0,9],[32,3],[65,236,0],[58,0,10],[32,3],[65,62],[58,0,11],[32,2],[32,5],[65,15],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
117
117
|
params: [127,127],
|
118
118
|
typedParams: true,
|
119
119
|
returns: [127,127],
|
@@ -123,7 +123,7 @@ export const BuiltinFuncs = function() {
|
|
123
123
|
data: [{"offset":0,"bytes":[7,0,0,0,60,115,109,97,108,108,62]}],
|
124
124
|
};
|
125
125
|
this.__String_prototype_strike = {
|
126
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
126
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_strike/out', 'i16') * pageSize, 127),[34,2],[65,16],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,243,0],[59,0,8],[32,3],[65,244,0],[59,0,10],[32,3],[65,242,0],[59,0,12],[32,3],[65,233,0],[59,0,14],[32,3],[65,235,0],[59,0,16],[32,3],[65,229,0],[59,0,18],[32,3],[65,62],[59,0,20],[32,2],[32,5],[65,17],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
127
127
|
params: [127,127],
|
128
128
|
typedParams: true,
|
129
129
|
returns: [127,127],
|
@@ -133,7 +133,7 @@ export const BuiltinFuncs = function() {
|
|
133
133
|
data: [{"offset":0,"bytes":[8,0,0,0,60,0,115,0,116,0,114,0,105,0,107,0,101,0,62,0]}],
|
134
134
|
};
|
135
135
|
this.___bytestring_prototype_strike = {
|
136
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
136
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_strike/out', 'i8') * pageSize, 127),[34,2],[65,8],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,243,0],[58,0,6],[32,3],[65,244,0],[58,0,7],[32,3],[65,242,0],[58,0,8],[32,3],[65,233,0],[58,0,9],[32,3],[65,235,0],[58,0,10],[32,3],[65,229,0],[58,0,11],[32,3],[65,62],[58,0,12],[32,2],[32,5],[65,17],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
137
137
|
params: [127,127],
|
138
138
|
typedParams: true,
|
139
139
|
returns: [127,127],
|
@@ -143,7 +143,7 @@ export const BuiltinFuncs = function() {
|
|
143
143
|
data: [{"offset":0,"bytes":[8,0,0,0,60,115,116,114,105,107,101,62]}],
|
144
144
|
};
|
145
145
|
this.__String_prototype_sub = {
|
146
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
146
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_sub/out', 'i16') * pageSize, 127),[34,2],[65,10],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,243,0],[59,0,8],[32,3],[65,245,0],[59,0,10],[32,3],[65,226,0],[59,0,12],[32,3],[65,62],[59,0,14],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
147
147
|
params: [127,127],
|
148
148
|
typedParams: true,
|
149
149
|
returns: [127,127],
|
@@ -153,7 +153,7 @@ export const BuiltinFuncs = function() {
|
|
153
153
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,115,0,117,0,98,0,62,0]}],
|
154
154
|
};
|
155
155
|
this.___bytestring_prototype_sub = {
|
156
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
156
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_sub/out', 'i8') * pageSize, 127),[34,2],[65,5],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,243,0],[58,0,6],[32,3],[65,245,0],[58,0,7],[32,3],[65,226,0],[58,0,8],[32,3],[65,62],[58,0,9],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
157
157
|
params: [127,127],
|
158
158
|
typedParams: true,
|
159
159
|
returns: [127,127],
|
@@ -163,7 +163,7 @@ export const BuiltinFuncs = function() {
|
|
163
163
|
data: [{"offset":0,"bytes":[5,0,0,0,60,115,117,98,62]}],
|
164
164
|
};
|
165
165
|
this.__String_prototype_sup = {
|
166
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
166
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_sup/out', 'i16') * pageSize, 127),[34,2],[65,10],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,3],[32,7],[59,0,4],[32,4],[65,2],[106],[33,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,3],[65,60],[59,0,4],[32,3],[65,47],[59,0,6],[32,3],[65,243,0],[59,0,8],[32,3],[65,245,0],[59,0,10],[32,3],[65,240,0],[59,0,12],[32,3],[65,62],[59,0,14],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,2],[15]],
|
167
167
|
params: [127,127],
|
168
168
|
typedParams: true,
|
169
169
|
returns: [127,127],
|
@@ -173,7 +173,7 @@ export const BuiltinFuncs = function() {
|
|
173
173
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,115,0,117,0,112,0,62,0]}],
|
174
174
|
};
|
175
175
|
this.___bytestring_prototype_sup = {
|
176
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
176
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_sup/out', 'i8') * pageSize, 127),[34,2],[65,5],[106],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,7],[32,3],[32,3],[65,1],[106],[33,3],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,60],[58,0,4],[32,3],[65,47],[58,0,5],[32,3],[65,243,0],[58,0,6],[32,3],[65,245,0],[58,0,7],[32,3],[65,240,0],[58,0,8],[32,3],[65,62],[58,0,9],[32,2],[32,5],[65,11],[106],[34,8],[54,1,0],[32,2],[65,18],[15]],
|
177
177
|
params: [127,127],
|
178
178
|
typedParams: true,
|
179
179
|
returns: [127,127],
|
@@ -229,7 +229,7 @@ export const BuiltinFuncs = function() {
|
|
229
229
|
localNames: ["x","x#type"],
|
230
230
|
};
|
231
231
|
this.___array_prototype_slice = {
|
232
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[65,0],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,6],[33,4],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,2],[32,4],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,4],[32,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,2],[160],[34,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[33,2],[11],[11],[32,2],[32,6],[100],[4,64],[32,6],[33,2],[11],[32,4],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,4],[160],[34,4],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[33,4],[11],[11],[32,4],[32,6],[100],[4,64],[32,6],[33,4],[11],[65,0],[65,0],[54,1,0],...number(allocPage(scope, '
|
232
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[65,0],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,6],[33,4],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,2],[32,4],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,4],[32,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,2],[160],[34,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[33,2],[11],[11],[32,2],[32,6],[100],[4,64],[32,6],[33,2],[11],[32,4],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,4],[160],[34,4],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[33,4],[11],[11],[32,4],[32,6],[100],[4,64],[32,6],[33,4],[11],[65,0],[65,0],[54,1,0],...number(allocPage(scope, 'array: ___array_prototype_slice/out', 'f64') * pageSize, 124),[33,7],[32,2],[32,4],[100],[4,64],[32,7],[65,16],[15],[11],[32,7],[33,8],[32,0],[34,9],[32,4],[68,0,0,0,0,0,0,32,64],[162],[160],[33,10],[32,9],[32,2],[68,0,0,0,0,0,0,32,64],[162],[160],[33,9],[3,64],[32,9],[32,10],[99],[4,64],[32,8],[252,2],[32,9],[252,2],[43,0,4],[57,0,4],[32,9],[68,0,0,0,0,0,0,32,64],[160],[33,9],[32,8],[68,0,0,0,0,0,0,32,64],[160],[33,8],[12,1],[11],[11],[32,7],[252,3],[32,4],[32,2],[161],[34,11],[252,3],[54,1,0],[32,7],[65,16],[15]],
|
233
233
|
params: [124,127,124,127,124,127],
|
234
234
|
typedParams: true,
|
235
235
|
returns: [124,127],
|
@@ -268,7 +268,7 @@ export const BuiltinFuncs = function() {
|
|
268
268
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":2}],
|
269
269
|
};
|
270
270
|
this.___array_prototype_with = {
|
271
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,2],[160],[34,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[65,4],[15],[11],[11],[32,2],[32,6],[100],[4,64],[68,0,0,0,0,0,0,0,0],[65,4],[15],[11],[65,0],[65,0],[54,1,128,128,4],...number(allocPage(scope, '
|
271
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,6],[32,2],[160],[34,2],[68,0,0,0,0,0,0,0,0],[99],[4,64],[68,0,0,0,0,0,0,0,0],[65,4],[15],[11],[11],[32,2],[32,6],[100],[4,64],[68,0,0,0,0,0,0,0,0],[65,4],[15],[11],[65,0],[65,0],[54,1,128,128,4],...number(allocPage(scope, 'array: ___array_prototype_with/out', 'f64') * pageSize, 124),[33,7],[32,0],[32,7],[16, builtin('__Porffor_clone')],[32,7],[252,3],[32,2],[252,3],[65,8],[108],[106],[32,4],[34,8],[57,2,4],[32,7],[65,16],[15]],
|
272
272
|
params: [124,127,124,127,124,127],
|
273
273
|
typedParams: true,
|
274
274
|
returns: [124,127],
|
@@ -288,7 +288,7 @@ export const BuiltinFuncs = function() {
|
|
288
288
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":4},{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":5},{"constructor":"TypeError","message":"Cannot assign member with non-array","exceptId":6},{"constructor":"TypeError","message":"Cannot assign member with non-array","exceptId":7}],
|
289
289
|
};
|
290
290
|
this.___array_prototype_toReversed = {
|
291
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[65,0],[65,0],[54,1,128,128,8],...number(allocPage(scope, '
|
291
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,2],[68,0,0,0,0,0,0,0,0],[33,3],[32,2],[68,0,0,0,0,0,0,240,63],[161],[33,4],[65,0],[65,0],[54,1,128,128,8],...number(allocPage(scope, 'array: ___array_prototype_toReversed/out', 'f64') * pageSize, 124),[34,5],[252,3],[32,2],[34,6],[252,3],[54,1,0],[3,64],[32,3],[32,4],[99],[4,64],[32,5],[252,3],[32,3],[252,3],[65,8],[108],[106],[32,4],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[34,7],[57,2,4],[32,5],[252,3],[32,4],[32,4],[68,0,0,0,0,0,0,240,63],[161],[33,4],[252,3],[65,8],[108],[106],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,3],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[34,7],[57,2,4],[12,1],[11],[11],[32,5],[65,16],[15]],
|
292
292
|
params: [124,127],
|
293
293
|
typedParams: true,
|
294
294
|
returns: [124,127],
|
@@ -298,7 +298,7 @@ export const BuiltinFuncs = function() {
|
|
298
298
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":8},{"constructor":"TypeError","message":"Cannot assign member with non-array","exceptId":9},{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":10},{"constructor":"TypeError","message":"Cannot assign member with non-array","exceptId":11}],
|
299
299
|
};
|
300
300
|
this.btoa = {
|
301
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
301
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: btoa/keyStr', 'i8') * pageSize, 127),[34,2],[33,3],[32,0],[40,1,0],[33,4],...number(allocPage(scope, 'bytestring: btoa/output', 'i8') * pageSize, 127),[34,5],[65,4],[32,4],[65,3],[109],[32,4],[65,3],[111],[69],[69],[106],[108],[34,6],[54,1,0],[32,0],[33,7],[32,5],[33,8],[32,7],[32,4],[106],[33,9],[65,0],[33,10],[3,64],[32,7],[32,9],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[33,11],[32,7],[32,9],[72],[4,127],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[65,0],[33,13],[5],[65,127],[65,0],[33,13],[11],[33,12],[32,7],[32,9],[72],[4,127],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[65,0],[33,13],[5],[65,127],[65,0],[33,13],[11],[33,14],[32,11],[65,2],[117],[33,15],[32,11],[65,3],[113],[65,4],[116],[32,12],[65,127],[70],[4,127],[65,0],[65,0],[33,13],[5],[32,12],[65,4],[117],[65,0],[33,13],[11],[114],[33,16],[32,12],[65,15],[113],[65,2],[116],[32,14],[65,127],[70],[4,127],[65,0],[65,0],[33,13],[5],[32,14],[65,6],[117],[65,0],[33,13],[11],[114],[33,17],[32,14],[65,63],[113],[33,18],[32,12],[65,127],[70],[4,64],[65,192,0],[33,17],[65,192,0],[33,18],[5],[32,14],[65,127],[70],[4,64],[65,192,0],[33,18],[11],[11],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,15],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,16],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,17],[106],[45,0,4],[58,0,4],[32,8],[32,8],[65,1],[106],[33,8],[32,3],[32,18],[106],[45,0,4],[58,0,4],[12,1],[11],[11],[32,5],[15]],
|
302
302
|
params: [127,127],
|
303
303
|
typedParams: true,
|
304
304
|
returns: [127],
|
@@ -308,7 +308,7 @@ export const BuiltinFuncs = function() {
|
|
308
308
|
data: [{"offset":0,"bytes":[65,0,0,0,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47,61]}],
|
309
309
|
};
|
310
310
|
this.__crypto_randomUUID = {
|
311
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
311
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __crypto_randomUUID/bytes', 'i8') * pageSize, 127),[34,0],[34,1],[34,2],[65,16],[106],[33,3],[3,64],[32,2],[32,3],[72],[4,64],[32,2],[32,2],[65,1],[106],[33,2],[16, builtin('__Porffor_randomByte')],[58,0,4],[12,1],[11],[11],[32,1],[32,1],[45,0,10],[65,15],[113],[65,192,0],[114],[58,0,10],[32,1],[32,1],[45,0,12],[65,63],[113],[65,128,1],[114],[58,0,12],...number(allocPage(scope, 'bytestring: __crypto_randomUUID/output', 'i8') * pageSize, 127),[34,4],[33,5],[32,1],[33,6],[32,5],[65,8],[106],[33,7],[3,64],[32,5],[32,7],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[34,8],[65,15],[113],[65,48],[106],[34,9],[65,57],[74],[4,64],[32,9],[65,39],[106],[33,9],[11],[32,8],[65,4],[117],[65,48],[106],[34,10],[65,57],[74],[4,64],[32,10],[65,39],[106],[33,10],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,10],[58,0,4],[32,5],[32,5],[65,1],[106],[33,5],[32,9],[58,0,4],[12,1],[11],[11],[32,5],[65,1],[106],[34,5],[65,4],[106],[33,7],[3,64],[32,5],[32,7],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[34,8],[65,15],[113],[65,48],[106],[34,9],[65,57],[74],[4,64],[32,9],[65,39],[106],[33,9],[11],[32,8],[65,4],[117],[65,48],[106],[34,10],[65,57],[74],[4,64],[32,10],[65,39],[106],[33,10],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,10],[58,0,4],[32,5],[32,5],[65,1],[106],[33,5],[32,9],[58,0,4],[12,1],[11],[11],[32,5],[65,1],[106],[34,5],[65,4],[106],[33,7],[3,64],[32,5],[32,7],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[34,8],[65,15],[113],[65,48],[106],[34,9],[65,57],[74],[4,64],[32,9],[65,39],[106],[33,9],[11],[32,8],[65,4],[117],[65,48],[106],[34,10],[65,57],[74],[4,64],[32,10],[65,39],[106],[33,10],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,10],[58,0,4],[32,5],[32,5],[65,1],[106],[33,5],[32,9],[58,0,4],[12,1],[11],[11],[32,5],[65,1],[106],[34,5],[65,4],[106],[33,7],[3,64],[32,5],[32,7],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[34,8],[65,15],[113],[65,48],[106],[34,9],[65,57],[74],[4,64],[32,9],[65,39],[106],[33,9],[11],[32,8],[65,4],[117],[65,48],[106],[34,10],[65,57],[74],[4,64],[32,10],[65,39],[106],[33,10],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,10],[58,0,4],[32,5],[32,5],[65,1],[106],[33,5],[32,9],[58,0,4],[12,1],[11],[11],[32,5],[65,1],[106],[34,5],[65,12],[106],[33,7],[3,64],[32,5],[32,7],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[34,8],[65,15],[113],[65,48],[106],[34,9],[65,57],[74],[4,64],[32,9],[65,39],[106],[33,9],[11],[32,8],[65,4],[117],[65,48],[106],[34,10],[65,57],[74],[4,64],[32,10],[65,39],[106],[33,10],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,10],[58,0,4],[32,5],[32,5],[65,1],[106],[33,5],[32,9],[58,0,4],[12,1],[11],[11],[32,5],[65,1],[106],[33,5],[32,4],[15]],
|
312
312
|
params: [],
|
313
313
|
typedParams: true,
|
314
314
|
returns: [127],
|
@@ -534,7 +534,7 @@ export const BuiltinFuncs = function() {
|
|
534
534
|
localNames: [],
|
535
535
|
};
|
536
536
|
this.__Porffor_date_allocate = {
|
537
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
537
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Porffor_date_allocate/hack', 'i8') * pageSize, 124),[34,0],[252,3],[40,1,0],[184],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[252,3],[65,1],[64,0],[26],[63,0],[65,1],[107],[65,128,128,4],[108],[184],[34,1],[252,3],[54,1,0],[11],[32,0],[252,3],[40,1,0],[184],[33,2],[32,0],[252,3],[32,2],[68,0,0,0,0,0,0,32,64],[160],[34,1],[252,3],[54,1,0],[32,2],[15]],
|
538
538
|
params: [],
|
539
539
|
typedParams: true,
|
540
540
|
returns: [124],
|
@@ -884,8 +884,54 @@ export const BuiltinFuncs = function() {
|
|
884
884
|
locals: [124,124,124,124,124,127],
|
885
885
|
localNames: ["_this","_this#type","sec","sec#type","ms","ms#type","t","s","milli","date","v","#last_type"],
|
886
886
|
};
|
887
|
+
this.__Porffor_bytestring_appendChar = {
|
888
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,4],[32,0],[32,4],[160],[252,2],[32,2],[252,2],[58,0,4],[32,0],[252,3],[32,4],[68,0,0,0,0,0,0,240,63],[160],[34,5],[252,3],[54,1,0],[68,0,0,0,0,0,0,240,63],[15]],
|
889
|
+
params: [124,127,124,127],
|
890
|
+
typedParams: true,
|
891
|
+
returns: [124],
|
892
|
+
returnType: 0,
|
893
|
+
locals: [124,124],
|
894
|
+
localNames: ["str","str#type","char","char#type","len","__length_setter_tmp"],
|
895
|
+
};
|
896
|
+
this.__Porffor_bytestring_appendPadNum = {
|
897
|
+
wasm: (scope, { allocPage, builtin }) => [[32,2],[65,0],[68,0,0,0,0,0,0,0,0],[65,3],[16, builtin('__Number_prototype_toString')],[33,7],[33,6],[32,0],[32,0],[252,3],[40,1,0],[184],[160],[33,8],[32,6],[252,3],[40,1,0],[184],[33,9],[32,8],[32,4],[32,9],[161],[160],[33,10],[3,64],[32,8],[32,10],[99],[4,64],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,2],[65,48],[58,0,4],[12,1],[11],[11],[32,6],[34,11],[32,9],[160],[33,12],[3,64],[32,11],[32,12],[99],[4,64],[32,8],[32,8],[68,0,0,0,0,0,0,240,63],[160],[33,8],[252,2],[32,11],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[252,2],[45,0,4],[58,0,4],[12,1],[11],[11],[32,0],[252,3],[32,8],[32,0],[161],[34,13],[252,3],[54,1,0],[68,0,0,0,0,0,0,240,63],[15]],
|
898
|
+
params: [124,127,124,127,124,127],
|
899
|
+
typedParams: true,
|
900
|
+
returns: [124],
|
901
|
+
returnType: 0,
|
902
|
+
locals: [124,127,124,124,124,124,124,124],
|
903
|
+
localNames: ["str","str#type","num","num#type","len","len#type","numStr","#last_type","strPtr","numStrLen","strPtrEnd","numPtr","numPtrEnd","__length_setter_tmp"],
|
904
|
+
exceptions: [{"constructor":"TypeError","message":"'toString' proto func tried to be called on a type without an impl","exceptId":0}],
|
905
|
+
};
|
906
|
+
this.__ecma262_ToUTCDTSF = {
|
907
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,0],[16, builtin('__ecma262_YearFromTime')],[33,2],...number(allocPage(scope, 'bytestring: __ecma262_ToUTCDTSF/out', 'i8') * pageSize, 124),[34,3],[252,3],[68,0,0,0,0,0,0,0,0],[34,4],[252,3],[54,1,0],[32,2],[68,0,0,0,0,0,0,0,0],[99],[34,5],[69],[4,127],[32,2],[68,0,0,0,0,0,136,195,64],[102],[65,1],[33,6],[5],[32,5],[65,1],[33,6],[11],[4,64],[32,3],[65,18],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,124],[68,0,0,0,0,0,128,69,64],[65,0],[33,6],[5],[68,0,0,0,0,0,128,70,64],[65,0],[33,6],[11],[32,6],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,3],[65,18],[32,2],[65,0],[68,0,0,0,0,0,0,24,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[5],[32,3],[65,18],[32,2],[65,0],[68,0,0,0,0,0,0,16,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[11],[32,3],[65,18],[68,0,0,0,0,0,128,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_MonthFromTime')],[68,0,0,0,0,0,0,240,63],[160],[33,7],[32,3],[65,18],[32,7],[65,0],[68,0,0,0,0,0,0,0,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,128,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,8],[32,3],[65,18],[32,8],[65,0],[68,0,0,0,0,0,0,0,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,85,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_HourFromTime')],[33,9],[32,3],[65,18],[32,9],[65,0],[68,0,0,0,0,0,0,0,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,77,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_MinFromTime')],[33,10],[32,3],[65,18],[32,10],[65,0],[68,0,0,0,0,0,0,0,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,77,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_SecFromTime')],[33,11],[32,3],[65,18],[32,11],[65,0],[68,0,0,0,0,0,0,0,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,71,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,0],[65,0],[16, builtin('__ecma262_msFromTime')],[33,12],[32,3],[65,18],[32,12],[65,0],[68,0,0,0,0,0,0,8,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,128,86,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,3],[65,18],[15]],
|
908
|
+
params: [124,127],
|
909
|
+
typedParams: true,
|
910
|
+
returns: [124,127],
|
911
|
+
typedReturns: true,
|
912
|
+
locals: [124,124,124,127,127,124,124,124,124,124,124],
|
913
|
+
localNames: ["t","t#type","year","out","__length_setter_tmp","logictmpi","#last_type","month","date","hour","min","sec","ms"],
|
914
|
+
};
|
915
|
+
this.___date_prototype_toISOString = {
|
916
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[34,2],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[65,3],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_ToUTCDTSF')],[34,3],[15]],
|
917
|
+
params: [124,127],
|
918
|
+
typedParams: true,
|
919
|
+
returns: [124,127],
|
920
|
+
typedReturns: true,
|
921
|
+
locals: [124,127],
|
922
|
+
localNames: ["_this","_this#type","tv","#last_type"],
|
923
|
+
};
|
924
|
+
this.___date_prototype_toJSON = {
|
925
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[34,4],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,0,0],[65,4],[15],[11],[32,0],[65,19],[16, builtin('___date_prototype_toISOString')],[34,5],[15]],
|
926
|
+
params: [124,127,124,127],
|
927
|
+
typedParams: true,
|
928
|
+
returns: [124,127],
|
929
|
+
typedReturns: true,
|
930
|
+
locals: [124,127],
|
931
|
+
localNames: ["_this","_this#type","key","key#type","tv","#last_type"],
|
932
|
+
};
|
887
933
|
this.escape = {
|
888
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
934
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: escape/lut', 'i8') * pageSize, 127),[33,2],[32,0],[40,1,0],[34,3],[33,4],[32,0],[33,5],[32,1],[65,18],[70],[4,64],[32,5],[32,3],[106],[33,6],[3,64],[32,5],[32,6],[72],[4,64],[32,5],[32,5],[65,1],[106],[33,5],[45,0,4],[34,7],[65,128,1],[72],[4,64],[32,2],[32,7],[106],[45,0,4],[4,64],[12,3],[11],[11],[32,4],[65,2],[106],[33,4],[12,1],[11],[11],[32,4],[32,3],[70],[4,64],[32,0],[15],[11],...number(allocPage(scope, 'bytestring: escape/output', 'i8') * pageSize, 127),[34,8],[32,4],[34,9],[54,1,0],[32,0],[33,5],[32,8],[33,10],[3,64],[32,5],[32,6],[72],[4,64],[32,5],[32,5],[65,1],[106],[33,5],[45,0,4],[34,7],[65,128,1],[72],[4,64],[32,2],[32,7],[106],[45,0,4],[4,64],[32,10],[32,10],[65,1],[106],[33,10],[32,7],[58,0,4],[12,3],[11],[11],[32,10],[32,10],[65,1],[106],[33,10],[65,37],[58,0,4],[32,7],[65,15],[113],[65,48],[106],[34,11],[65,57],[74],[4,64],[32,11],[65,7],[106],[33,11],[11],[32,7],[65,4],[117],[65,48],[106],[34,12],[65,57],[74],[4,64],[32,12],[65,7],[106],[33,12],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,12],[58,0,4],[32,10],[32,10],[65,1],[106],[33,10],[32,11],[58,0,4],[12,1],[11],[11],[32,8],[15],[11],[32,5],[32,3],[65,2],[108],[106],[33,6],[3,64],[32,5],[32,6],[72],[4,64],[32,5],[47,0,4],[33,7],[32,5],[65,2],[106],[33,5],[32,7],[65,128,1],[72],[4,64],[32,2],[32,7],[106],[45,0,4],[4,64],[12,3],[11],[11],[32,7],[65,128,2],[72],[4,64],[32,4],[65,2],[106],[33,4],[5],[32,4],[65,5],[106],[33,4],[11],[12,1],[11],[11],[32,4],[32,3],[70],[4,64],[32,0],[15],[11],[65,0],[65,0],[54,1,128,128,4],[65,128,128,4],[34,8],[32,4],[34,9],[54,1,0],[32,0],[33,5],[32,8],[33,10],[3,64],[32,5],[32,6],[72],[4,64],[32,5],[47,0,4],[33,7],[32,5],[65,2],[106],[33,5],[32,7],[65,128,1],[72],[4,64],[32,2],[32,7],[106],[45,0,4],[4,64],[32,10],[32,10],[65,1],[106],[33,10],[32,7],[58,0,4],[12,3],[11],[11],[32,7],[65,128,2],[72],[4,64],[32,10],[32,10],[65,1],[106],[33,10],[65,37],[58,0,4],[32,7],[65,15],[113],[65,48],[106],[34,11],[65,57],[74],[4,64],[32,11],[65,7],[106],[33,11],[11],[32,7],[65,4],[117],[65,48],[106],[34,12],[65,57],[74],[4,64],[32,12],[65,7],[106],[33,12],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,12],[58,0,4],[32,10],[32,10],[65,1],[106],[33,10],[32,11],[58,0,4],[5],[32,10],[65,165,234,1],[59,0,4],[32,10],[65,2],[106],[33,10],[32,7],[65,12],[117],[65,15],[113],[65,48],[106],[34,13],[65,57],[74],[4,64],[32,13],[65,7],[106],[33,13],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,13],[58,0,4],[32,7],[65,8],[117],[65,15],[113],[65,48],[106],[34,13],[65,57],[74],[4,64],[32,13],[65,7],[106],[33,13],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,13],[58,0,4],[32,7],[65,4],[117],[65,15],[113],[65,48],[106],[34,13],[65,57],[74],[4,64],[32,13],[65,7],[106],[33,13],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,13],[58,0,4],[32,7],[65,15],[113],[65,48],[106],[34,13],[65,57],[74],[4,64],[32,13],[65,7],[106],[33,13],[11],[32,10],[32,10],[65,1],[106],[33,10],[32,13],[58,0,4],[11],[12,1],[11],[11],[32,8],[15]],
|
889
935
|
params: [127,127],
|
890
936
|
typedParams: true,
|
891
937
|
returns: [127],
|
@@ -904,7 +950,7 @@ export const BuiltinFuncs = function() {
|
|
904
950
|
localNames: ["input","input#type","radix","radix#type","logictmpi","#last_type","nMax","n","inputPtr","len","i","negative","endPtr","startChr","second","chr"],
|
905
951
|
};
|
906
952
|
this.__Number_prototype_toString = {
|
907
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
953
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toString/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[65,0],[65,3],[54,1,0],[65,0],[65,206,0],[58,0,4],[65,0],[65,225,0],[58,0,5],[65,0],[65,206,0],[58,0,6],[68,0,0,0,0,0,0,0,0],[33,4],[5],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[65,0],[65,8],[54,1,0],[65,0],[65,201,0],[58,0,4],[65,0],[65,238,0],[58,0,5],[65,0],[65,230,0],[58,0,6],[65,0],[65,233,0],[58,0,7],[65,0],[65,238,0],[58,0,8],[65,0],[65,233,0],[58,0,9],[65,0],[65,244,0],[58,0,10],[65,0],[65,249,0],[58,0,11],[68,0,0,0,0,0,0,0,0],[33,4],[5],[65,0],[65,9],[54,1,0],[65,0],[65,45],[58,0,4],[65,0],[65,201,0],[58,0,5],[65,0],[65,238,0],[58,0,6],[65,0],[65,230,0],[58,0,7],[65,0],[65,233,0],[58,0,8],[65,0],[65,238,0],[58,0,9],[65,0],[65,233,0],[58,0,10],[65,0],[65,244,0],[58,0,11],[65,0],[65,249,0],[58,0,12],[68,0,0,0,0,0,0,0,0],[33,4],[11],[11],[32,4],[65,18],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,36,64],[34,2],[65,0],[33,3],[26],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,6],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,7],[5],[32,6],[65,1],[33,7],[11],[4,64],[32,4],[65,18],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[65,0],[65,1],[54,1,0],[65,0],[65,48],[58,0,4],[68,0,0,0,0,0,0,0,0],[34,4],[65,18],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,8],...number(allocPage(scope, 'bytestring: __Number_prototype_toString/digits', 'i8') * pageSize, 124),[33,9],[68,0,0,0,0,0,0,0,0],[33,10],[32,2],[68,0,0,0,0,0,0,36,64],[97],[4,64],[32,8],[68,80,239,226,214,228,26,75,68],[102],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[68,0,0,0,0,0,0,240,191],[33,12],[3,64],[32,8],[68,0,0,0,0,0,0,0,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,0,0,0,0,0,0,240,63],[160],[33,12],[32,11],[252,3],[4,64],[32,13],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,16],[3,64],[32,5],[32,15],[99],[4,64],[32,5],[32,16],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[11],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,10],[3,64],[32,12],[68,0,0,0,0,0,0,0,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,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,17],[252,3],[54,1,0],[32,4],[65,18],[15],[11],[32,0],[68,141,237,181,160,247,198,176,62],[99],[4,64],[32,0],[33,18],[68,0,0,0,0,0,0,240,63],[33,12],[3,64],[65,1],[4,64],[32,18],[32,2],[162],[34,18],[16, builtin('__Math_trunc')],[34,19],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,18],[32,19],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,12],[68,0,0,0,0,0,0,240,63],[160],[33,12],[11],[12,1],[11],[11],[3,64],[32,18],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,18],[32,2],[16, builtin('f64_%')],[33,13],[32,18],[32,2],[163],[16, builtin('__Math_trunc')],[33,18],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,16],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[33,13],[32,5],[32,16],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[11],[32,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,10],[3,64],[32,12],[68,0,0,0,0,0,0,0,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,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,17],[252,3],[54,1,0],[32,4],[65,18],[15],[11],[11],[32,8],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,10],[5],[3,64],[32,8],[68,0,0,0,0,0,0,0,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,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16, builtin('__Math_trunc')],[161],[34,18],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,18],[68,0,0,0,0,0,0,240,63],[160],[33,18],[68,0,0,0,0,0,0,48,64],[32,10],[161],[33,20],[68,0,0,0,0,0,0,0,0],[33,21],[3,64],[32,21],[32,20],[99],[4,64],[32,18],[32,2],[162],[33,18],[32,21],[68,0,0,0,0,0,0,240,63],[160],[33,21],[12,1],[11],[11],[32,18],[16, builtin('__Math_round')],[33,18],[68,0,0,0,0,0,0,0,0],[33,10],[68,0,0,0,0,0,0,240,63],[33,11],[3,64],[32,18],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,18],[32,2],[16, builtin('f64_%')],[33,13],[32,18],[32,2],[163],[16, builtin('__Math_trunc')],[33,18],[32,11],[252,3],[4,64],[32,13],[68,0,0,0,0,0,0,0,0],[97],[4,64],[12,3],[11],[68,0,0,0,0,0,0,0,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,5],[32,10],[160],[33,15],[3,64],[32,5],[32,15],[99],[4,64],[32,14],[68,0,0,0,0,0,0,240,63],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,17],[252,3],[54,1,0],[32,4],[65,18],[15]],
|
908
954
|
params: [124,127,124,127],
|
909
955
|
typedParams: true,
|
910
956
|
returns: [124,127],
|
@@ -913,7 +959,7 @@ export const BuiltinFuncs = function() {
|
|
913
959
|
localNames: ["_this","_this#type","radix","radix#type","out","outPtr","logictmpi","#last_type","i","digits","l","trailing","e","digit","digitsPtr","endPtr","dotPlace","__length_setter_tmp","decimal","intPart","decimalDigits","j"],
|
914
960
|
};
|
915
961
|
this.__Number_prototype_toFixed = {
|
916
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
962
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[65,0],[65,3],[54,1,128,128,8],[65,0],[65,206,0],[58,0,132,128,8],[65,0],[65,225,0],[58,0,133,128,8],[65,0],[65,206,0],[58,0,134,128,8],[68,0,0,0,0,0,0,0,65],[33,4],[5],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[65,0],[65,8],[54,1,128,128,8],[65,0],[65,201,0],[58,0,132,128,8],[65,0],[65,238,0],[58,0,133,128,8],[65,0],[65,230,0],[58,0,134,128,8],[65,0],[65,233,0],[58,0,135,128,8],[65,0],[65,238,0],[58,0,136,128,8],[65,0],[65,233,0],[58,0,137,128,8],[65,0],[65,244,0],[58,0,138,128,8],[65,0],[65,249,0],[58,0,139,128,8],[68,0,0,0,0,0,0,0,65],[33,4],[5],[65,0],[65,9],[54,1,128,128,8],[65,0],[65,45],[58,0,132,128,8],[65,0],[65,201,0],[58,0,133,128,8],[65,0],[65,238,0],[58,0,134,128,8],[65,0],[65,230,0],[58,0,135,128,8],[65,0],[65,233,0],[58,0,136,128,8],[65,0],[65,238,0],[58,0,137,128,8],[65,0],[65,233,0],[58,0,138,128,8],[65,0],[65,244,0],[58,0,139,128,8],[65,0],[65,249,0],[58,0,140,128,8],[68,0,0,0,0,0,0,0,65],[33,4],[11],[11],[32,4],[65,18],[15],[11],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[68,0,0,0,0,0,0,0,0],[99],[34,6],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,7],[5],[32,6],[65,1],[33,7],[11],[4,64],[32,4],[65,18],[15],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[16, builtin('__Math_trunc')],[33,8],...number(allocPage(scope, 'bytestring: __Number_prototype_toFixed/digits', 'i8') * pageSize, 124),[33,9],[68,0,0,0,0,0,0,0,0],[33,10],[32,8],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,10],[5],[3,64],[32,8],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,8],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,8],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,8],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,11],[32,5],[32,10],[160],[33,12],[3,64],[32,5],[32,12],[99],[4,64],[32,11],[68,0,0,0,0,0,0,240,63],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[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,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[68,0,0,0,0,0,0,0,0],[33,15],[3,64],[32,15],[32,2],[99],[4,64],[32,14],[68,0,0,0,0,0,0,36,64],[162],[33,14],[32,15],[68,0,0,0,0,0,0,240,63],[160],[33,15],[12,1],[11],[11],[32,14],[16, builtin('__Math_round')],[33,14],[68,0,0,0,0,0,0,0,0],[33,10],[3,64],[32,14],[68,0,0,0,0,0,0,240,63],[100],[4,64],[32,14],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,13],[32,14],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,14],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,11],[32,5],[32,10],[160],[33,12],[3,64],[32,5],[32,12],[99],[4,64],[32,11],[68,0,0,0,0,0,0,240,63],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,13],[68,0,0,0,0,0,0,72,64],[160],[33,13],[5],[32,13],[68,0,0,0,0,0,192,85,64],[160],[33,13],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,16],[252,3],[54,1,0],[32,4],[65,18],[15]],
|
917
963
|
params: [124,127,124,127],
|
918
964
|
typedParams: true,
|
919
965
|
returns: [124,127],
|
@@ -922,7 +968,7 @@ export const BuiltinFuncs = function() {
|
|
922
968
|
localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","logictmpi","#last_type","i","digits","l","digitsPtr","endPtr","digit","decimal","j","__length_setter_tmp"],
|
923
969
|
};
|
924
970
|
this.__Number_prototype_toExponential = {
|
925
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
971
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/out', 'i8') * pageSize, 124),[34,4],[33,5],[32,0],[16, builtin('__Number_isFinite')],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,0],[16, builtin('__Number_isNaN')],[252,3],[4,64],[65,0],[65,3],[54,1,128,128,16],[65,0],[65,206,0],[58,0,132,128,16],[65,0],[65,225,0],[58,0,133,128,16],[65,0],[65,206,0],[58,0,134,128,16],[68,0,0,0,0,0,0,16,65],[33,4],[5],[32,0],[68,0,0,0,0,0,0,240,127],[97],[4,64],[65,0],[65,8],[54,1,128,128,16],[65,0],[65,201,0],[58,0,132,128,16],[65,0],[65,238,0],[58,0,133,128,16],[65,0],[65,230,0],[58,0,134,128,16],[65,0],[65,233,0],[58,0,135,128,16],[65,0],[65,238,0],[58,0,136,128,16],[65,0],[65,233,0],[58,0,137,128,16],[65,0],[65,244,0],[58,0,138,128,16],[65,0],[65,249,0],[58,0,139,128,16],[68,0,0,0,0,0,0,16,65],[33,4],[5],[65,0],[65,9],[54,1,128,128,16],[65,0],[65,45],[58,0,132,128,16],[65,0],[65,201,0],[58,0,133,128,16],[65,0],[65,238,0],[58,0,134,128,16],[65,0],[65,230,0],[58,0,135,128,16],[65,0],[65,233,0],[58,0,136,128,16],[65,0],[65,238,0],[58,0,137,128,16],[65,0],[65,233,0],[58,0,138,128,16],[65,0],[65,244,0],[58,0,139,128,16],[65,0],[65,249,0],[58,0,140,128,16],[68,0,0,0,0,0,0,16,65],[33,4],[11],[11],[32,4],[65,18],[15],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,0,0],[34,2],[65,3],[33,3],[26],[5],[32,2],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[34,2],[65,0],[33,3],[26],[32,2],[68,0,0,0,0,0,0,0,0],[99],[34,6],[69],[4,127],[32,2],[68,0,0,0,0,0,0,89,64],[100],[65,1],[33,7],[5],[32,6],[65,1],[33,7],[11],[4,64],[32,4],[65,18],[15],[11],[11],[32,0],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,0],[154],[33,0],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[11],[32,0],[33,8],...number(allocPage(scope, 'bytestring: __Number_prototype_toExponential/digits', 'i8') * pageSize, 124),[33,9],[68,0,0,0,0,0,0,0,0],[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[32,0],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,2],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[68,0,0,0,0,0,0,0,0],[33,14],[3,64],[32,14],[32,2],[99],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,48],[58,0,4],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[12,1],[11],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[5],[32,0],[68,0,0,0,0,0,0,240,63],[99],[4,64],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[3,64],[65,1],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[162],[34,8],[16, builtin('__Math_trunc')],[34,15],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,8],[32,15],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,240,63],[33,11],[68,0,0,0,0,0,0,0,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[162],[34,8],[16, builtin('__Math_trunc')],[34,15],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[5],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[11],[12,1],[11],[11],[11],[3,64],[32,8],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,16],[32,8],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,5],[32,10],[160],[33,13],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,17],[3,64],[32,5],[32,13],[99],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[161],[34,12],[252,2],[45,0,4],[183],[33,16],[32,5],[32,17],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[11],[32,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,45],[58,0,4],[5],[68,0,0,0,0,0,0,240,191],[33,11],[3,64],[32,8],[68,0,0,0,0,0,0,240,63],[102],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[163],[33,8],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[12,1],[11],[11],[32,2],[32,3],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,0,0],[98],[4,64],[3,64],[65,1],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[162],[34,8],[16, builtin('__Math_trunc')],[34,15],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,8],[32,15],[161],[68,187,189,215,217,223,124,219,61],[99],[4,64],[12,2],[11],[5],[32,11],[68,0,0,0,0,0,0,240,63],[160],[33,11],[11],[12,1],[11],[11],[5],[68,0,0,0,0,0,0,0,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[162],[33,8],[32,14],[68,0,0,0,0,0,0,240,63],[160],[33,14],[12,1],[11],[11],[11],[32,8],[16, builtin('__Math_round')],[33,8],[3,64],[32,8],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,8],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[33,16],[32,8],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,5],[32,10],[160],[33,13],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,17],[3,64],[32,5],[32,13],[99],[4,64],[32,5],[32,17],[97],[4,64],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,46],[58,0,4],[32,13],[68,0,0,0,0,0,0,240,63],[160],[33,13],[11],[32,12],[68,0,0,0,0,0,0,240,63],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,229,0],[58,0,4],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[65,43],[58,0,4],[11],[11],[32,11],[68,0,0,0,0,0,0,0,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,0,0,0,0,0,0,240,63],[33,10],[5],[68,0,0,0,0,0,0,0,0],[33,10],[3,64],[32,11],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,11],[68,0,0,0,0,0,0,36,64],[16, builtin('f64_%')],[252,2],[58,0,4],[32,11],[68,0,0,0,0,0,0,36,64],[163],[16, builtin('__Math_trunc')],[33,11],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,12],[32,5],[32,10],[160],[33,13],[3,64],[32,5],[32,13],[99],[4,64],[32,12],[68,0,0,0,0,0,0,240,63],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,0,0,0,0,0,0,36,64],[99],[4,64],[32,16],[68,0,0,0,0,0,0,72,64],[160],[33,16],[5],[32,16],[68,0,0,0,0,0,192,85,64],[160],[33,16],[11],[32,5],[32,5],[68,0,0,0,0,0,0,240,63],[160],[33,5],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,4],[252,3],[32,5],[32,4],[161],[34,18],[252,3],[54,1,0],[32,4],[65,18],[15]],
|
926
972
|
params: [124,127,124,127],
|
927
973
|
typedParams: true,
|
928
974
|
returns: [124,127],
|
@@ -931,7 +977,7 @@ export const BuiltinFuncs = function() {
|
|
931
977
|
localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","logictmpi","#last_type","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace","__length_setter_tmp"],
|
932
978
|
};
|
933
979
|
this.__String_fromCharCode = {
|
934
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,128,2],[72],[4,64],...number(allocPage(scope, '
|
980
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,128,2],[72],[4,64],...number(allocPage(scope, 'bytestring: __String_fromCharCode/out', 'i8') * pageSize, 127),[34,2],[32,0],[58,0,4],[32,2],[65,18],[15],[11],[65,0],[65,1],[54,1,0],[65,0],[65,46],[59,0,4],[65,0],[34,2],[32,0],[59,0,4],[32,2],[65,2],[15]],
|
935
981
|
params: [127,127],
|
936
982
|
typedParams: true,
|
937
983
|
returns: [127,127],
|
@@ -941,7 +987,7 @@ export const BuiltinFuncs = function() {
|
|
941
987
|
data: [{"offset":0,"bytes":[1,0,0,0,46]}],
|
942
988
|
};
|
943
989
|
this.__String_prototype_toUpperCase = {
|
944
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, '
|
990
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'string: __String_prototype_toUpperCase/out', 'i16') * pageSize, 127),[34,3],[32,2],[54,0,0],[32,0],[33,4],[32,3],[33,5],[32,4],[32,2],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,4],[65,2],[106],[33,4],[32,7],[65,225,0],[78],[4,64],[32,7],[65,250,0],[76],[4,64],[32,7],[65,32],[107],[33,7],[11],[11],[32,5],[32,7],[59,0,4],[32,5],[65,2],[106],[33,5],[12,1],[11],[11],[32,3],[65,2],[15]],
|
945
991
|
params: [127,127],
|
946
992
|
typedParams: true,
|
947
993
|
returns: [127,127],
|
@@ -950,7 +996,7 @@ export const BuiltinFuncs = function() {
|
|
950
996
|
localNames: ["_this","_this#type","len","out","i","j","endPtr","chr"],
|
951
997
|
};
|
952
998
|
this.___bytestring_prototype_toUpperCase = {
|
953
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, '
|
999
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'bytestring: ___bytestring_prototype_toUpperCase/out', 'i8') * pageSize, 127),[34,3],[32,2],[54,0,0],[32,0],[33,4],[32,3],[33,5],[32,4],[32,2],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[34,7],[65,225,0],[78],[4,64],[32,7],[65,250,0],[76],[4,64],[32,7],[65,32],[107],[33,7],[11],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,18],[15]],
|
954
1000
|
params: [127,127],
|
955
1001
|
typedParams: true,
|
956
1002
|
returns: [127,127],
|
@@ -959,7 +1005,7 @@ export const BuiltinFuncs = function() {
|
|
959
1005
|
localNames: ["_this","_this#type","len","out","i","j","endPtr","chr"],
|
960
1006
|
};
|
961
1007
|
this.__String_prototype_toLowerCase = {
|
962
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, '
|
1008
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'string: __String_prototype_toLowerCase/out', 'i16') * pageSize, 127),[34,3],[32,2],[54,0,0],[32,0],[33,4],[32,3],[33,5],[32,4],[32,2],[65,2],[108],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,7],[32,4],[65,2],[106],[33,4],[32,7],[65,193,0],[78],[4,64],[32,7],[65,218,0],[76],[4,64],[32,7],[65,32],[106],[33,7],[11],[11],[32,5],[32,7],[59,0,4],[32,5],[65,2],[106],[33,5],[12,1],[11],[11],[32,3],[65,2],[15]],
|
963
1009
|
params: [127,127],
|
964
1010
|
typedParams: true,
|
965
1011
|
returns: [127,127],
|
@@ -968,7 +1014,7 @@ export const BuiltinFuncs = function() {
|
|
968
1014
|
localNames: ["_this","_this#type","len","out","i","j","endPtr","chr"],
|
969
1015
|
};
|
970
1016
|
this.___bytestring_prototype_toLowerCase = {
|
971
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, '
|
1017
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'bytestring: ___bytestring_prototype_toLowerCase/out', 'i8') * pageSize, 127),[34,3],[32,2],[54,0,0],[32,0],[33,4],[32,3],[33,5],[32,4],[32,2],[106],[33,6],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[34,7],[65,193,0],[78],[4,64],[32,7],[65,218,0],[76],[4,64],[32,7],[65,32],[106],[33,7],[11],[11],[32,5],[32,5],[65,1],[106],[33,5],[32,7],[58,0,4],[12,1],[11],[11],[32,3],[65,18],[15]],
|
972
1018
|
params: [127,127],
|
973
1019
|
typedParams: true,
|
974
1020
|
returns: [127,127],
|
@@ -1067,7 +1113,7 @@ export const BuiltinFuncs = function() {
|
|
1067
1113
|
localNames: ["_this","_this#type","searchString","searchString#type","position","position#type","thisPtr","searchPtr","searchLen","len","thisPtrEnd","match","i","chr","expected"],
|
1068
1114
|
};
|
1069
1115
|
this.__String_prototype_padStart = {
|
1070
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1116
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_padStart/out', 'i16') * pageSize, 127),[34,6],[33,7],[32,0],[33,8],[32,0],[40,1,0],[33,9],[32,2],[65,0],[114],[34,2],[32,9],[107],[34,10],[65,0],[74],[4,64],[32,5],[65,3],[70],[4,64],[65,0],[33,11],[3,64],[32,11],[32,10],[72],[4,64],[32,7],[65,32],[59,0,4],[32,7],[65,2],[106],[33,7],[32,11],[65,1],[106],[33,11],[12,1],[11],[11],[32,6],[32,2],[34,12],[54,1,0],[5],[32,4],[40,1,0],[34,13],[65,0],[74],[4,64],[65,0],[33,11],[3,64],[32,11],[32,10],[72],[4,64],[2,64],[32,7],[32,4],[34,15],[40,1,0],[33,14],[2,127],[32,11],[32,13],[111],[34,16],[32,14],[78],[4,64],[65,127],[12,1],[11],[32,16],[65,2],[108],[32,15],[106],[47,0,4],[11],[59,0,4],[32,7],[65,2],[106],[33,7],[11],[32,11],[65,1],[106],[33,11],[12,1],[11],[11],[32,6],[32,2],[34,12],[54,1,0],[5],[32,6],[32,9],[34,12],[54,1,0],[11],[11],[5],[32,6],[32,9],[34,12],[54,1,0],[11],[32,8],[32,9],[65,2],[108],[106],[33,18],[3,64],[32,8],[32,18],[72],[4,64],[32,7],[32,8],[47,0,4],[59,0,4],[32,8],[65,2],[106],[33,8],[32,7],[65,2],[106],[33,7],[12,1],[11],[11],[32,6],[65,2],[15]],
|
1071
1117
|
params: [127,127,127,127,127,127],
|
1072
1118
|
typedParams: true,
|
1073
1119
|
returns: [127,127],
|
@@ -1077,7 +1123,7 @@ export const BuiltinFuncs = function() {
|
|
1077
1123
|
exceptions: [{"constructor":"TypeError","message":"'charCodeAt' proto func tried to be called on a type without an impl","exceptId":0}],
|
1078
1124
|
};
|
1079
1125
|
this.___bytestring_prototype_padStart = {
|
1080
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1126
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_padStart/out', 'i8') * pageSize, 127),[34,6],[33,7],[32,0],[33,8],[32,4],[33,9],[32,0],[40,1,0],[33,10],[32,2],[65,0],[114],[34,2],[32,10],[107],[34,11],[65,0],[74],[4,64],[32,5],[65,3],[70],[4,64],[65,0],[33,12],[3,64],[32,12],[32,11],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[65,32],[58,0,4],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,6],[32,2],[34,13],[54,1,0],[5],[32,4],[40,1,0],[34,14],[65,0],[74],[4,64],[65,0],[33,12],[3,64],[32,12],[32,11],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[32,9],[32,12],[32,14],[111],[106],[45,0,4],[58,0,4],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,6],[32,2],[34,13],[54,1,0],[5],[32,6],[32,10],[34,13],[54,1,0],[11],[11],[5],[32,6],[32,10],[34,13],[54,1,0],[11],[32,8],[32,10],[106],[33,15],[3,64],[32,8],[32,15],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[32,8],[32,8],[65,1],[106],[33,8],[45,0,4],[58,0,4],[12,1],[11],[11],[32,6],[65,18],[15]],
|
1081
1127
|
params: [127,127,127,127,127,127],
|
1082
1128
|
typedParams: true,
|
1083
1129
|
returns: [127,127],
|
@@ -1086,7 +1132,7 @@ export const BuiltinFuncs = function() {
|
|
1086
1132
|
localNames: ["_this","_this#type","targetLength","targetLength#type","padString","padString#type","out","outPtr","thisPtr","padStringPtr","len","todo","i","__length_setter_tmp","padStringLen","thisPtrEnd"],
|
1087
1133
|
};
|
1088
1134
|
this.__String_prototype_padEnd = {
|
1089
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1135
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_padEnd/out', 'i16') * pageSize, 127),[34,6],[33,7],[32,0],[33,8],[32,0],[40,1,0],[33,9],[32,8],[32,9],[65,2],[108],[106],[33,10],[3,64],[32,8],[32,10],[72],[4,64],[32,7],[32,8],[47,0,4],[59,0,4],[32,8],[65,2],[106],[33,8],[32,7],[65,2],[106],[33,7],[12,1],[11],[11],[32,2],[65,0],[114],[34,2],[32,9],[107],[34,11],[65,0],[74],[4,64],[32,5],[65,3],[70],[4,64],[65,0],[33,12],[3,64],[32,12],[32,11],[72],[4,64],[32,7],[65,32],[59,0,4],[32,7],[65,2],[106],[33,7],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,6],[32,2],[34,13],[54,1,0],[5],[32,4],[40,1,0],[34,14],[65,0],[74],[4,64],[65,0],[33,12],[3,64],[32,12],[32,11],[72],[4,64],[2,64],[32,7],[32,4],[34,16],[40,1,0],[33,15],[2,127],[32,12],[32,14],[111],[34,17],[32,15],[78],[4,64],[65,127],[12,1],[11],[32,17],[65,2],[108],[32,16],[106],[47,0,4],[11],[59,0,4],[32,7],[65,2],[106],[33,7],[11],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,6],[32,2],[34,13],[54,1,0],[5],[32,6],[32,9],[34,13],[54,1,0],[11],[11],[5],[32,6],[32,9],[34,13],[54,1,0],[11],[32,6],[65,2],[15]],
|
1090
1136
|
params: [127,127,127,127,127,127],
|
1091
1137
|
typedParams: true,
|
1092
1138
|
returns: [127,127],
|
@@ -1096,7 +1142,7 @@ export const BuiltinFuncs = function() {
|
|
1096
1142
|
exceptions: [{"constructor":"TypeError","message":"'charCodeAt' proto func tried to be called on a type without an impl","exceptId":1}],
|
1097
1143
|
};
|
1098
1144
|
this.___bytestring_prototype_padEnd = {
|
1099
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1145
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_padEnd/out', 'i8') * pageSize, 127),[34,6],[33,7],[32,0],[33,8],[32,4],[33,9],[32,0],[40,1,0],[33,10],[32,8],[32,10],[106],[33,11],[3,64],[32,8],[32,11],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[32,8],[32,8],[65,1],[106],[33,8],[45,0,4],[58,0,4],[12,1],[11],[11],[32,2],[65,0],[114],[34,2],[32,10],[107],[34,12],[65,0],[74],[4,64],[32,5],[65,3],[70],[4,64],[65,0],[33,13],[3,64],[32,13],[32,12],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[65,32],[58,0,4],[32,13],[65,1],[106],[33,13],[12,1],[11],[11],[32,6],[32,2],[34,14],[54,1,0],[5],[32,4],[40,1,0],[34,15],[65,0],[74],[4,64],[65,0],[33,13],[3,64],[32,13],[32,12],[72],[4,64],[32,7],[32,7],[65,1],[106],[33,7],[32,9],[32,13],[32,15],[111],[106],[45,0,4],[58,0,4],[32,13],[65,1],[106],[33,13],[12,1],[11],[11],[32,6],[32,2],[34,14],[54,1,0],[5],[32,6],[32,10],[34,14],[54,1,0],[11],[11],[5],[32,6],[32,10],[34,14],[54,1,0],[11],[32,6],[65,18],[15]],
|
1100
1146
|
params: [127,127,127,127,127,127],
|
1101
1147
|
typedParams: true,
|
1102
1148
|
returns: [127,127],
|
@@ -1105,7 +1151,7 @@ export const BuiltinFuncs = function() {
|
|
1105
1151
|
localNames: ["_this","_this#type","targetLength","targetLength#type","padString","padString#type","out","outPtr","thisPtr","padStringPtr","len","thisPtrEnd","todo","i","__length_setter_tmp","padStringLen"],
|
1106
1152
|
};
|
1107
1153
|
this.__String_prototype_substring = {
|
1108
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[5],[32,2],[32,4],[74],[4,64],[32,4],[33,7],[32,2],[33,4],[32,7],[33,2],[11],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, '
|
1154
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[5],[32,2],[32,4],[74],[4,64],[32,4],[33,7],[32,2],[33,4],[32,7],[33,2],[11],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, 'string: __String_prototype_substring/out', 'i16') * pageSize, 127),[34,8],[33,9],[32,0],[34,10],[32,4],[65,2],[108],[106],[33,11],[32,10],[32,2],[65,2],[108],[106],[33,10],[3,64],[32,10],[32,11],[72],[4,64],[32,9],[32,10],[47,0,4],[59,0,4],[32,10],[65,2],[106],[33,10],[32,9],[65,2],[106],[33,9],[12,1],[11],[11],[32,8],[32,4],[32,2],[107],[34,12],[54,1,0],[32,8],[65,2],[15]],
|
1109
1155
|
params: [127,127,127,127,127,127],
|
1110
1156
|
typedParams: true,
|
1111
1157
|
returns: [127,127],
|
@@ -1114,7 +1160,7 @@ export const BuiltinFuncs = function() {
|
|
1114
1160
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","tmp","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1115
1161
|
};
|
1116
1162
|
this.___bytestring_prototype_substring = {
|
1117
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[5],[32,2],[32,4],[74],[4,64],[32,4],[33,7],[32,2],[33,4],[32,7],[33,2],[11],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, '
|
1163
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[5],[32,2],[32,4],[74],[4,64],[32,4],[33,7],[32,2],[33,4],[32,7],[33,2],[11],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, 'bytestring: ___bytestring_prototype_substring/out', 'i8') * pageSize, 127),[34,8],[33,9],[32,0],[34,10],[32,4],[106],[33,11],[32,10],[32,2],[106],[33,10],[3,64],[32,10],[32,11],[72],[4,64],[32,9],[32,9],[65,1],[106],[33,9],[32,10],[32,10],[65,1],[106],[33,10],[45,0,4],[58,0,4],[12,1],[11],[11],[32,8],[32,4],[32,2],[107],[34,12],[54,1,0],[32,8],[65,18],[15]],
|
1118
1164
|
params: [127,127,127,127,127,127],
|
1119
1165
|
typedParams: true,
|
1120
1166
|
returns: [127,127],
|
@@ -1123,7 +1169,7 @@ export const BuiltinFuncs = function() {
|
|
1123
1169
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","tmp","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1124
1170
|
};
|
1125
1171
|
this.__String_prototype_substr = {
|
1126
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,2],[65,0],[114],[34,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,5],[65,3],[70],[4,64],[32,6],[32,2],[107],[33,4],[11],[32,4],[65,0],[114],[33,4],[32,2],[32,4],[106],[32,6],[74],[4,64],[32,6],[32,2],[107],[33,4],[11],...number(allocPage(scope, '
|
1172
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,2],[65,0],[114],[34,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,5],[65,3],[70],[4,64],[32,6],[32,2],[107],[33,4],[11],[32,4],[65,0],[114],[33,4],[32,2],[32,4],[106],[32,6],[74],[4,64],[32,6],[32,2],[107],[33,4],[11],...number(allocPage(scope, 'string: __String_prototype_substr/out', 'i16') * pageSize, 127),[34,7],[33,8],[32,0],[34,9],[32,2],[65,2],[108],[106],[34,9],[32,4],[65,2],[108],[106],[33,10],[3,64],[32,9],[32,10],[72],[4,64],[32,8],[32,9],[47,0,4],[59,0,4],[32,9],[65,2],[106],[33,9],[32,8],[65,2],[106],[33,8],[12,1],[11],[11],[32,7],[32,4],[34,11],[54,1,0],[32,7],[65,2],[15]],
|
1127
1173
|
params: [127,127,127,127,127,127],
|
1128
1174
|
typedParams: true,
|
1129
1175
|
returns: [127,127],
|
@@ -1132,7 +1178,7 @@ export const BuiltinFuncs = function() {
|
|
1132
1178
|
localNames: ["_this","_this#type","start","start#type","length","length#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1133
1179
|
};
|
1134
1180
|
this.___bytestring_prototype_substr = {
|
1135
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,2],[65,0],[114],[34,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,5],[65,3],[70],[4,64],[32,6],[32,2],[107],[33,4],[11],[32,4],[65,0],[114],[33,4],[32,2],[32,4],[106],[32,6],[74],[4,64],[32,6],[32,2],[107],[33,4],[11],...number(allocPage(scope, '
|
1181
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,2],[65,0],[114],[34,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,5],[65,3],[70],[4,64],[32,6],[32,2],[107],[33,4],[11],[32,4],[65,0],[114],[33,4],[32,2],[32,4],[106],[32,6],[74],[4,64],[32,6],[32,2],[107],[33,4],[11],...number(allocPage(scope, 'bytestring: ___bytestring_prototype_substr/out', 'i8') * pageSize, 127),[34,7],[33,8],[32,0],[34,9],[32,2],[106],[34,9],[32,4],[106],[33,10],[3,64],[32,9],[32,10],[72],[4,64],[32,8],[32,8],[65,1],[106],[33,8],[32,9],[32,9],[65,1],[106],[33,9],[45,0,4],[58,0,4],[12,1],[11],[11],[32,7],[32,4],[34,11],[54,1,0],[32,7],[65,18],[15]],
|
1136
1182
|
params: [127,127,127,127,127,127],
|
1137
1183
|
typedParams: true,
|
1138
1184
|
returns: [127,127],
|
@@ -1141,7 +1187,7 @@ export const BuiltinFuncs = function() {
|
|
1141
1187
|
localNames: ["_this","_this#type","start","start#type","length","length#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1142
1188
|
};
|
1143
1189
|
this.__String_prototype_slice = {
|
1144
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[32,6],[32,4],[106],[34,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, '
|
1190
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[32,6],[32,4],[106],[34,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, 'string: __String_prototype_slice/out', 'i16') * pageSize, 127),[33,7],[32,2],[32,4],[74],[4,64],[32,7],[65,2],[15],[11],[32,7],[33,8],[32,0],[34,9],[32,4],[65,2],[108],[106],[33,10],[32,9],[32,2],[65,2],[108],[106],[33,9],[3,64],[32,9],[32,10],[72],[4,64],[32,8],[32,9],[47,0,4],[59,0,4],[32,9],[65,2],[106],[33,9],[32,8],[65,2],[106],[33,8],[12,1],[11],[11],[32,7],[32,4],[32,2],[107],[34,11],[54,1,0],[32,7],[65,2],[15]],
|
1145
1191
|
params: [127,127,127,127,127,127],
|
1146
1192
|
typedParams: true,
|
1147
1193
|
returns: [127,127],
|
@@ -1150,7 +1196,7 @@ export const BuiltinFuncs = function() {
|
|
1150
1196
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1151
1197
|
};
|
1152
1198
|
this.___bytestring_prototype_slice = {
|
1153
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[32,6],[32,4],[106],[34,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, '
|
1199
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,6],[32,5],[65,3],[70],[4,64],[32,6],[33,4],[11],[32,2],[65,0],[114],[33,2],[32,4],[65,0],[114],[33,4],[32,2],[65,0],[72],[4,64],[32,6],[32,2],[106],[34,2],[65,0],[72],[4,64],[65,0],[33,2],[11],[11],[32,2],[32,6],[74],[4,64],[32,6],[33,2],[11],[32,4],[65,0],[72],[4,64],[32,6],[32,4],[106],[34,4],[65,0],[72],[4,64],[65,0],[33,4],[11],[11],[32,4],[32,6],[74],[4,64],[32,6],[33,4],[11],...number(allocPage(scope, 'bytestring: ___bytestring_prototype_slice/out', 'i8') * pageSize, 127),[33,7],[32,2],[32,4],[74],[4,64],[32,7],[65,18],[15],[11],[32,7],[33,8],[32,0],[34,9],[32,4],[106],[33,10],[32,9],[32,2],[106],[33,9],[3,64],[32,9],[32,10],[72],[4,64],[32,8],[32,8],[65,1],[106],[33,8],[32,9],[32,9],[65,1],[106],[33,9],[45,0,4],[58,0,4],[12,1],[11],[11],[32,7],[32,4],[32,2],[107],[34,11],[54,1,0],[32,7],[65,18],[15]],
|
1154
1200
|
params: [127,127,127,127,127,127],
|
1155
1201
|
typedParams: true,
|
1156
1202
|
returns: [127,127],
|
@@ -1159,7 +1205,7 @@ export const BuiltinFuncs = function() {
|
|
1159
1205
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1160
1206
|
};
|
1161
1207
|
this.__String_prototype_trimStart = {
|
1162
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1208
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_trimStart/out', 'i16') * pageSize, 127),[34,2],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[65,2],[108],[106],[33,6],[65,0],[33,7],[65,1],[33,8],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[47,0,4],[33,9],[32,4],[65,2],[106],[33,4],[32,8],[4,64],[32,9],[65,9],[70],[32,9],[65,11],[70],[114],[32,9],[65,12],[70],[114],[32,9],[65,32],[70],[114],[32,9],[65,160,1],[70],[114],[32,9],[65,255,253,3],[70],[114],[32,9],[65,10],[70],[114],[32,9],[65,13],[70],[114],[32,9],[65,168,192,0],[70],[114],[32,9],[65,169,192,0],[70],[114],[4,64],[32,7],[65,1],[106],[33,7],[12,3],[11],[65,0],[33,8],[11],[32,3],[32,9],[59,0,4],[32,3],[65,2],[106],[33,3],[12,1],[11],[11],[32,2],[32,5],[32,7],[107],[34,10],[54,1,0],[32,2],[65,2],[15]],
|
1163
1209
|
params: [127,127],
|
1164
1210
|
typedParams: true,
|
1165
1211
|
returns: [127,127],
|
@@ -1168,7 +1214,7 @@ export const BuiltinFuncs = function() {
|
|
1168
1214
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","len","thisPtrEnd","n","start","chr","__length_setter_tmp"],
|
1169
1215
|
};
|
1170
1216
|
this.___bytestring_prototype_trimStart = {
|
1171
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1217
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_trimStart/out', 'i8') * pageSize, 127),[34,2],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[32,5],[106],[33,6],[65,0],[33,7],[65,1],[33,8],[3,64],[32,4],[32,6],[72],[4,64],[32,4],[32,4],[65,1],[106],[33,4],[45,0,4],[33,9],[32,8],[4,64],[32,9],[65,9],[70],[32,9],[65,11],[70],[114],[32,9],[65,12],[70],[114],[32,9],[65,32],[70],[114],[32,9],[65,160,1],[70],[114],[32,9],[65,255,253,3],[70],[114],[32,9],[65,10],[70],[114],[32,9],[65,13],[70],[114],[32,9],[65,168,192,0],[70],[114],[32,9],[65,169,192,0],[70],[114],[4,64],[32,7],[65,1],[106],[33,7],[12,3],[11],[65,0],[33,8],[11],[32,3],[32,3],[65,1],[106],[33,3],[32,9],[58,0,4],[12,1],[11],[11],[32,2],[32,5],[32,7],[107],[34,10],[54,1,0],[32,2],[65,18],[15]],
|
1172
1218
|
params: [127,127],
|
1173
1219
|
typedParams: true,
|
1174
1220
|
returns: [127,127],
|
@@ -1177,7 +1223,7 @@ export const BuiltinFuncs = function() {
|
|
1177
1223
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","len","thisPtrEnd","n","start","chr","__length_setter_tmp"],
|
1178
1224
|
};
|
1179
1225
|
this.__String_prototype_trimEnd = {
|
1180
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1226
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_trimEnd/out', 'i16') * pageSize, 127),[34,2],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[33,6],[32,4],[32,5],[65,2],[108],[106],[33,4],[32,3],[32,5],[65,2],[108],[106],[33,3],[65,0],[33,7],[65,1],[33,8],[3,64],[32,4],[32,6],[74],[4,64],[32,4],[65,2],[107],[34,4],[47,0,4],[33,9],[32,3],[65,2],[107],[33,3],[32,8],[4,64],[32,9],[65,9],[70],[32,9],[65,11],[70],[114],[32,9],[65,12],[70],[114],[32,9],[65,32],[70],[114],[32,9],[65,160,1],[70],[114],[32,9],[65,255,253,3],[70],[114],[32,9],[65,10],[70],[114],[32,9],[65,13],[70],[114],[32,9],[65,168,192,0],[70],[114],[32,9],[65,169,192,0],[70],[114],[4,64],[32,7],[65,1],[106],[33,7],[12,3],[11],[65,0],[33,8],[11],[32,3],[32,9],[59,0,4],[12,1],[11],[11],[32,2],[32,5],[32,7],[107],[34,10],[54,1,0],[32,2],[65,2],[15]],
|
1181
1227
|
params: [127,127],
|
1182
1228
|
typedParams: true,
|
1183
1229
|
returns: [127,127],
|
@@ -1186,7 +1232,7 @@ export const BuiltinFuncs = function() {
|
|
1186
1232
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","len","thisPtrStart","n","start","chr","__length_setter_tmp"],
|
1187
1233
|
};
|
1188
1234
|
this.___bytestring_prototype_trimEnd = {
|
1189
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1235
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_trimEnd/out', 'i8') * pageSize, 127),[34,2],[33,3],[32,0],[33,4],[32,0],[40,1,0],[33,5],[32,4],[33,6],[32,4],[32,5],[106],[33,4],[32,3],[32,5],[106],[33,3],[65,0],[33,7],[65,1],[33,8],[3,64],[32,4],[32,6],[74],[4,64],[32,4],[65,1],[107],[34,4],[45,0,4],[33,9],[32,3],[65,1],[107],[33,3],[32,8],[4,64],[32,9],[65,9],[70],[32,9],[65,11],[70],[114],[32,9],[65,12],[70],[114],[32,9],[65,32],[70],[114],[32,9],[65,160,1],[70],[114],[32,9],[65,255,253,3],[70],[114],[32,9],[65,10],[70],[114],[32,9],[65,13],[70],[114],[32,9],[65,168,192,0],[70],[114],[32,9],[65,169,192,0],[70],[114],[4,64],[32,7],[65,1],[106],[33,7],[12,3],[11],[65,0],[33,8],[11],[32,3],[32,9],[58,0,4],[12,1],[11],[11],[32,2],[32,5],[32,7],[107],[34,10],[54,1,0],[32,2],[65,18],[15]],
|
1190
1236
|
params: [127,127],
|
1191
1237
|
typedParams: true,
|
1192
1238
|
returns: [127,127],
|
@@ -1213,7 +1259,7 @@ export const BuiltinFuncs = function() {
|
|
1213
1259
|
localNames: ["_this","_this#type","#last_type"],
|
1214
1260
|
};
|
1215
1261
|
this.__Boolean_prototype_toString = {
|
1216
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1262
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Boolean_prototype_toString/out', 'i8') * pageSize, 124),[33,2],[32,0],[252,3],[4,64],[65,0],[65,4],[54,1,0],[65,0],[65,244,0],[58,0,4],[65,0],[65,242,0],[58,0,5],[65,0],[65,245,0],[58,0,6],[65,0],[65,229,0],[58,0,7],[68,0,0,0,0,0,0,0,0],[33,2],[5],[65,0],[65,5],[54,1,0],[65,0],[65,230,0],[58,0,4],[65,0],[65,225,0],[58,0,5],[65,0],[65,236,0],[58,0,6],[65,0],[65,243,0],[58,0,7],[65,0],[65,229,0],[58,0,8],[68,0,0,0,0,0,0,0,0],[33,2],[11],[32,2],[65,18],[15]],
|
1217
1263
|
params: [124,127],
|
1218
1264
|
typedParams: true,
|
1219
1265
|
returns: [124,127],
|
@@ -1222,7 +1268,7 @@ export const BuiltinFuncs = function() {
|
|
1222
1268
|
localNames: ["_this","_this#type","out"],
|
1223
1269
|
};
|
1224
1270
|
this.__String_prototype_toString = {
|
1225
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1271
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'string: __String_prototype_toString/out', 'i16') * pageSize, 124),[33,2],[32,0],[32,2],[16, builtin('__Porffor_clone')],[32,2],[65,2],[15]],
|
1226
1272
|
params: [124,127],
|
1227
1273
|
typedParams: true,
|
1228
1274
|
returns: [124,127],
|
@@ -1231,7 +1277,7 @@ export const BuiltinFuncs = function() {
|
|
1231
1277
|
localNames: ["_this","_this#type","out"],
|
1232
1278
|
};
|
1233
1279
|
this.___bytestring_prototype_toString = {
|
1234
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1280
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: ___bytestring_prototype_toString/out', 'i8') * pageSize, 124),[33,2],[32,0],[32,2],[16, builtin('__Porffor_clone')],[32,2],[65,18],[15]],
|
1235
1281
|
params: [124,127],
|
1236
1282
|
typedParams: true,
|
1237
1283
|
returns: [124,127],
|
@@ -1240,7 +1286,7 @@ export const BuiltinFuncs = function() {
|
|
1240
1286
|
localNames: ["_this","_this#type","out"],
|
1241
1287
|
};
|
1242
1288
|
this.__Object_prototype_toString = {
|
1243
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1289
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Object_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[65,18],[15]],
|
1244
1290
|
params: [124,127],
|
1245
1291
|
typedParams: true,
|
1246
1292
|
returns: [124,127],
|
@@ -1250,7 +1296,7 @@ export const BuiltinFuncs = function() {
|
|
1250
1296
|
data: [{"offset":0,"bytes":[15,0,0,0,91,111,98,106,101,99,116,32,79,98,106,101,99,116,93]}],
|
1251
1297
|
};
|
1252
1298
|
this.__Function_prototype_toString = {
|
1253
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, '
|
1299
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Function_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[65,18],[15]],
|
1254
1300
|
params: [124,127],
|
1255
1301
|
typedParams: true,
|
1256
1302
|
returns: [124,127],
|
package/package.json
CHANGED
package/r.js
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
function assert(mustBeTrue) {
|
2
|
+
if (mustBeTrue === true) {
|
3
|
+
return;
|
4
|
+
}
|
5
|
+
|
6
|
+
throw new Test262Error('assert failed');
|
7
|
+
}
|
8
|
+
|
9
|
+
assert._isSameValue = function (a, b) {
|
10
|
+
if (a === b) {
|
11
|
+
// Handle +/-0 vs. -/+0
|
12
|
+
return a !== 0 || 1 / a === 1 / b;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Handle NaN vs. NaN
|
16
|
+
return a !== a && b !== b;
|
17
|
+
|
18
|
+
// return a === b;
|
19
|
+
};
|
20
|
+
|
21
|
+
assert.sameValue = function (actual, expected) {
|
22
|
+
if (assert._isSameValue(actual, expected)) {
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
|
26
|
+
throw new Test262Error('assert.sameValue failed');
|
27
|
+
};
|
28
|
+
|
29
|
+
assert.notSameValue = function (actual, unexpected) {
|
30
|
+
if (!assert._isSameValue(actual, unexpected)) {
|
31
|
+
return;
|
32
|
+
}
|
33
|
+
|
34
|
+
throw new Test262Error('assert.notSameValue failed');
|
35
|
+
};
|
36
|
+
function $DONOTEVALUATE() {
|
37
|
+
throw "Test262: This statement should not be evaluated.";
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
$DONOTEVALUATE();
|
43
|
+
|
44
|
+
class C {
|
45
|
+
m() {
|
46
|
+
class Outter {
|
47
|
+
#x = 42;
|
48
|
+
}
|
49
|
+
|
50
|
+
this.#x;
|
51
|
+
}
|
52
|
+
}
|