porffor 0.2.0-5ad562e → 0.2.0-5c24120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +6 -5
- package/compiler/builtins/annexb_string.js +1 -1
- package/compiler/builtins/annexb_string.ts +4 -4
- package/compiler/builtins/array.ts +9 -9
- package/compiler/builtins/boolean.ts +20 -0
- package/compiler/builtins/date.ts +50 -51
- package/compiler/builtins/escape.ts +1 -1
- package/compiler/builtins/function.ts +7 -0
- package/compiler/builtins/int.ts +2 -2
- package/compiler/builtins/number.ts +8 -1
- package/compiler/builtins/object.ts +6 -0
- package/compiler/builtins/string.ts +46 -21
- package/compiler/builtins.js +4 -4
- package/compiler/codegen.js +69 -50
- package/compiler/generated_builtins.js +177 -141
- package/compiler/precompile.js +1 -1
- package/compiler/prefs.js +1 -1
- package/compiler/prototype.js +14 -14
- package/compiler/types.js +1 -1
- package/compiler/wrap.js +3 -3
- package/package.json +1 -1
- package/compiler/builtins/tostring.ts +0 -45
@@ -12,8 +12,8 @@ export const BuiltinFuncs = function() {
|
|
12
12
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
13
13
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,98,0,105,0,103,0,62,0]}],
|
14
14
|
};
|
15
|
-
this.
|
16
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
15
|
+
this.__ByteString_prototype_big = {
|
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],
|
@@ -32,8 +32,8 @@ export const BuiltinFuncs = function() {
|
|
32
32
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
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
|
-
this.
|
36
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
35
|
+
this.__ByteString_prototype_blink = {
|
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],
|
@@ -52,8 +52,8 @@ export const BuiltinFuncs = function() {
|
|
52
52
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
53
53
|
data: [{"offset":0,"bytes":[3,0,0,0,60,0,98,0,62,0]}],
|
54
54
|
};
|
55
|
-
this.
|
56
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
55
|
+
this.__ByteString_prototype_bold = {
|
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],
|
@@ -72,8 +72,8 @@ export const BuiltinFuncs = function() {
|
|
72
72
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
73
73
|
data: [{"offset":0,"bytes":[4,0,0,0,60,0,116,0,116,0,62,0]}],
|
74
74
|
};
|
75
|
-
this.
|
76
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
75
|
+
this.__ByteString_prototype_fixed = {
|
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],
|
@@ -92,8 +92,8 @@ export const BuiltinFuncs = function() {
|
|
92
92
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
93
93
|
data: [{"offset":0,"bytes":[3,0,0,0,60,0,105,0,62,0]}],
|
94
94
|
};
|
95
|
-
this.
|
96
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
95
|
+
this.__ByteString_prototype_italics = {
|
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],
|
@@ -112,8 +112,8 @@ export const BuiltinFuncs = function() {
|
|
112
112
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
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
|
-
this.
|
116
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
115
|
+
this.__ByteString_prototype_small = {
|
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],
|
@@ -132,8 +132,8 @@ export const BuiltinFuncs = function() {
|
|
132
132
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
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
|
-
this.
|
136
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
135
|
+
this.__ByteString_prototype_strike = {
|
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],
|
@@ -152,8 +152,8 @@ export const BuiltinFuncs = function() {
|
|
152
152
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
153
153
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,115,0,117,0,98,0,62,0]}],
|
154
154
|
};
|
155
|
-
this.
|
156
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
155
|
+
this.__ByteString_prototype_sub = {
|
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],
|
@@ -172,8 +172,8 @@ export const BuiltinFuncs = function() {
|
|
172
172
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","thisLen","endPtr","chr","__length_setter_tmp"],
|
173
173
|
data: [{"offset":0,"bytes":[5,0,0,0,60,0,115,0,117,0,112,0,62,0]}],
|
174
174
|
};
|
175
|
-
this.
|
176
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
175
|
+
this.__ByteString_prototype_sup = {
|
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],
|
@@ -191,8 +191,8 @@ export const BuiltinFuncs = function() {
|
|
191
191
|
locals: [127],
|
192
192
|
localNames: ["_this","_this#type","#last_type"],
|
193
193
|
};
|
194
|
-
this.
|
195
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,2],[16, builtin('
|
194
|
+
this.__ByteString_prototype_trimLeft = {
|
195
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,2],[16, builtin('__ByteString_prototype_trimStart')],[34,2],[15]],
|
196
196
|
params: [127,127],
|
197
197
|
typedParams: true,
|
198
198
|
returns: [127,127],
|
@@ -209,7 +209,7 @@ export const BuiltinFuncs = function() {
|
|
209
209
|
locals: [127],
|
210
210
|
localNames: ["_this","_this#type","#last_type"],
|
211
211
|
};
|
212
|
-
this.
|
212
|
+
this.__ByteString_prototype_trimEnd = {
|
213
213
|
wasm: (scope, { allocPage, builtin }) => [[65,[0]],[8,0],[65,0],[65,0],[15]],
|
214
214
|
params: [127,127],
|
215
215
|
typedParams: true,
|
@@ -217,7 +217,7 @@ export const BuiltinFuncs = function() {
|
|
217
217
|
typedReturns: true,
|
218
218
|
locals: [],
|
219
219
|
localNames: ["_this","_this#type"],
|
220
|
-
exceptions: [{"constructor":"ReferenceError","message":".
|
220
|
+
exceptions: [{"constructor":"ReferenceError","message":"ByteString.prototype.trimRight is not defined","exceptId":0}],
|
221
221
|
};
|
222
222
|
this.__Array_isArray = {
|
223
223
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,48,64],[97],[184],[15]],
|
@@ -228,8 +228,8 @@ export const BuiltinFuncs = function() {
|
|
228
228
|
locals: [],
|
229
229
|
localNames: ["x","x#type"],
|
230
230
|
};
|
231
|
-
this.
|
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],...number(allocPage(scope, 'array:
|
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],...number(allocPage(scope, 'array: __Array_prototype_slice/out', 'f64') * pageSize, 124),[34,7],[252,3],[34,8],[65,0],[54,1,0],[32,2],[32,4],[100],[4,64],[32,7],[65,16],[15],[11],[32,7],[33,9],[32,0],[34,10],[32,4],[68,0,0,0,0,0,0,32,64],[162],[160],[33,11],[32,10],[32,2],[68,0,0,0,0,0,0,32,64],[162],[160],[33,10],[3,64],[32,10],[32,11],[99],[4,64],[32,9],[252,2],[32,10],[252,2],[43,0,4],[57,0,4],[32,10],[68,0,0,0,0,0,0,32,64],[160],[33,10],[32,9],[68,0,0,0,0,0,0,32,64],[160],[33,9],[12,1],[11],[11],[32,7],[252,3],[32,4],[32,2],[161],[34,12],[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],
|
@@ -237,7 +237,7 @@ export const BuiltinFuncs = function() {
|
|
237
237
|
locals: [124,124,127,124,124,124,124],
|
238
238
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","out","#makearray_pointer_tmp","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
239
239
|
};
|
240
|
-
this.
|
240
|
+
this.__Array_prototype_indexOf = {
|
241
241
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[32,6],[100],[4,64],[32,6],[33,4],[5],[32,4],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,4],[11],[5],[68,0,0,0,0,0,0,0,0],[33,4],[11],[32,4],[33,7],[3,64],[32,7],[32,6],[99],[4,64],[32,7],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[32,2],[97],[4,64],[32,7],[65,0],[15],[11],[32,7],[68,0,0,0,0,0,0,240,63],[160],[33,7],[12,1],[11],[11],[68,0,0,0,0,0,0,240,191],[65,0],[15]],
|
242
242
|
params: [124,127,124,127,124,127],
|
243
243
|
typedParams: true,
|
@@ -247,7 +247,7 @@ export const BuiltinFuncs = function() {
|
|
247
247
|
localNames: ["_this","_this#type","searchElement","searchElement#type","position","position#type","len","i","#last_type"],
|
248
248
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":0}],
|
249
249
|
};
|
250
|
-
this.
|
250
|
+
this.__Array_prototype_lastIndexOf = {
|
251
251
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[32,6],[100],[4,64],[32,6],[33,4],[5],[32,4],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,4],[11],[5],[68,0,0,0,0,0,0,0,0],[33,4],[11],[32,6],[68,0,0,0,0,0,0,240,63],[161],[33,7],[3,64],[32,7],[32,4],[102],[4,64],[32,7],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[32,2],[97],[4,64],[32,7],[65,0],[15],[11],[32,7],[68,0,0,0,0,0,0,240,63],[161],[33,7],[12,1],[11],[11],[68,0,0,0,0,0,0,240,191],[65,0],[15]],
|
252
252
|
params: [124,127,124,127,124,127],
|
253
253
|
typedParams: true,
|
@@ -257,7 +257,7 @@ export const BuiltinFuncs = function() {
|
|
257
257
|
localNames: ["_this","_this#type","searchElement","searchElement#type","position","position#type","len","i","#last_type"],
|
258
258
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":1}],
|
259
259
|
};
|
260
|
-
this.
|
260
|
+
this.__Array_prototype_includes = {
|
261
261
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[68,0,0,0,0,0,0,0,0],[100],[4,64],[32,4],[32,6],[100],[4,64],[32,6],[33,4],[5],[32,4],[68,0,0,0,0,0,0,0,0],[16, builtin('f64_|')],[33,4],[11],[5],[68,0,0,0,0,0,0,0,0],[33,4],[11],[32,4],[33,7],[3,64],[32,7],[32,6],[99],[4,64],[32,7],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[32,2],[97],[4,64],[68,0,0,0,0,0,0,240,63],[65,1],[15],[11],[32,7],[68,0,0,0,0,0,0,240,63],[160],[33,7],[12,1],[11],[11],[68,0,0,0,0,0,0,0,0],[65,1],[15]],
|
262
262
|
params: [124,127,124,127,124,127],
|
263
263
|
typedParams: true,
|
@@ -267,8 +267,8 @@ export const BuiltinFuncs = function() {
|
|
267
267
|
localNames: ["_this","_this#type","searchElement","searchElement#type","position","position#type","len","i","#last_type"],
|
268
268
|
exceptions: [{"constructor":"TypeError","message":"Member expression is not supported for non-string non-array yet","exceptId":2}],
|
269
269
|
};
|
270
|
-
this.
|
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],...number(allocPage(scope, 'array:
|
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],...number(allocPage(scope, 'array: __Array_prototype_with/out', 'f64') * pageSize, 124),[34,7],[252,3],[34,8],[65,0],[54,1,0],[32,0],[32,7],[16, builtin('__Porffor_clone')],[32,7],[252,3],[32,2],[252,3],[65,8],[108],[106],[32,4],[34,9],[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],
|
@@ -277,7 +277,7 @@ export const BuiltinFuncs = function() {
|
|
277
277
|
localNames: ["_this","_this#type","index","index#type","value","value#type","len","out","#makearray_pointer_tmp","__member_setter_val_tmp"],
|
278
278
|
exceptions: [{"constructor":"TypeError","message":"Cannot assign member with non-array","exceptId":3}],
|
279
279
|
};
|
280
|
-
this.
|
280
|
+
this.__Array_prototype_reverse = {
|
281
281
|
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],[3,64],[32,3],[32,4],[99],[4,64],[32,3],[252,3],[65,8],[108],[32,0],[252,3],[106],[43,2,4],[33,5],[32,0],[252,3],[32,3],[32,3],[68,0,0,0,0,0,0,240,63],[160],[33,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,0],[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,5],[34,7],[57,2,4],[12,1],[11],[11],[32,0],[65,16],[15]],
|
282
282
|
params: [124,127],
|
283
283
|
typedParams: true,
|
@@ -287,8 +287,8 @@ export const BuiltinFuncs = function() {
|
|
287
287
|
localNames: ["_this","_this#type","len","start","end","tmp","#last_type","__member_setter_val_tmp"],
|
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
|
-
this.
|
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],...number(allocPage(scope, 'array:
|
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],...number(allocPage(scope, 'array: __Array_prototype_toReversed/out', 'f64') * pageSize, 124),[34,5],[252,3],[34,6],[65,0],[54,1,0],[32,5],[252,3],[32,2],[34,7],[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,8],[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,8],[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],
|
@@ -307,6 +307,24 @@ export const BuiltinFuncs = function() {
|
|
307
307
|
localNames: ["input","input#type","keyStr","keyStrPtr","len","output","__length_setter_tmp","i","j","endPtr","endPtr#type","chr1","chr2","#last_type","chr3","enc1","enc2","enc3","enc4"],
|
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
|
+
this.__Boolean_prototype_toString = {
|
311
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Boolean_prototype_toString/out', 'i8') * pageSize, 124),[33,2],[32,0],[252,3],[4,64],[32,2],[252,3],[34,3],[65,4],[54,1,0],[32,3],[65,244,0],[58,0,4],[32,3],[65,242,0],[58,0,5],[32,3],[65,245,0],[58,0,6],[32,3],[65,229,0],[58,0,7],[32,3],[184],[33,2],[5],[32,2],[252,3],[34,3],[65,5],[54,1,0],[32,3],[65,230,0],[58,0,4],[32,3],[65,225,0],[58,0,5],[32,3],[65,236,0],[58,0,6],[32,3],[65,243,0],[58,0,7],[32,3],[65,229,0],[58,0,8],[32,3],[184],[33,2],[11],[32,2],[65,18],[15]],
|
312
|
+
params: [124,127],
|
313
|
+
typedParams: true,
|
314
|
+
returns: [124,127],
|
315
|
+
typedReturns: true,
|
316
|
+
locals: [124,127],
|
317
|
+
localNames: ["_this","_this#type","out","#makearray_pointer_tmp"],
|
318
|
+
};
|
319
|
+
this.__Boolean_prototype_valueOf = {
|
320
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,1],[15]],
|
321
|
+
params: [124,127],
|
322
|
+
typedParams: true,
|
323
|
+
returns: [124,127],
|
324
|
+
typedReturns: true,
|
325
|
+
locals: [],
|
326
|
+
localNames: ["_this","_this#type"],
|
327
|
+
};
|
310
328
|
this.__crypto_randomUUID = {
|
311
329
|
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
330
|
params: [],
|
@@ -634,7 +652,7 @@ export const BuiltinFuncs = function() {
|
|
634
652
|
locals: [124,124,124,127,124,124,124,124,124,124,124,124,124,124,124,124,127],
|
635
653
|
localNames: ["v0","v0#type","v1","v1#type","v2","v2#type","v3","v3#type","v4","v4#type","v5","v5#type","v6","v6#type","numberOfArgs","dv","value","value#type","valueType","tv","y","m","dt","h","min","s","milli","yr","finalDate","O","#last_type"],
|
636
654
|
};
|
637
|
-
this.
|
655
|
+
this.__Date_prototype_getDate = {
|
638
656
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_DateFromTime')],[65,0],[15]],
|
639
657
|
params: [124,127],
|
640
658
|
typedParams: true,
|
@@ -643,7 +661,7 @@ export const BuiltinFuncs = function() {
|
|
643
661
|
locals: [124],
|
644
662
|
localNames: ["_this","_this#type","t"],
|
645
663
|
};
|
646
|
-
this.
|
664
|
+
this.__Date_prototype_getDay = {
|
647
665
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_WeekDay')],[65,0],[15]],
|
648
666
|
params: [124,127],
|
649
667
|
typedParams: true,
|
@@ -652,7 +670,7 @@ export const BuiltinFuncs = function() {
|
|
652
670
|
locals: [124],
|
653
671
|
localNames: ["_this","_this#type","t"],
|
654
672
|
};
|
655
|
-
this.
|
673
|
+
this.__Date_prototype_getFullYear = {
|
656
674
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[15]],
|
657
675
|
params: [124,127],
|
658
676
|
typedParams: true,
|
@@ -661,7 +679,7 @@ export const BuiltinFuncs = function() {
|
|
661
679
|
locals: [124],
|
662
680
|
localNames: ["_this","_this#type","t"],
|
663
681
|
};
|
664
|
-
this.
|
682
|
+
this.__Date_prototype_getHours = {
|
665
683
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[15]],
|
666
684
|
params: [124,127],
|
667
685
|
typedParams: true,
|
@@ -670,7 +688,7 @@ export const BuiltinFuncs = function() {
|
|
670
688
|
locals: [124],
|
671
689
|
localNames: ["_this","_this#type","t"],
|
672
690
|
};
|
673
|
-
this.
|
691
|
+
this.__Date_prototype_getMilliseconds = {
|
674
692
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_msFromTime')],[65,0],[15]],
|
675
693
|
params: [124,127],
|
676
694
|
typedParams: true,
|
@@ -679,7 +697,7 @@ export const BuiltinFuncs = function() {
|
|
679
697
|
locals: [124],
|
680
698
|
localNames: ["_this","_this#type","t"],
|
681
699
|
};
|
682
|
-
this.
|
700
|
+
this.__Date_prototype_getMinutes = {
|
683
701
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[15]],
|
684
702
|
params: [124,127],
|
685
703
|
typedParams: true,
|
@@ -688,7 +706,7 @@ export const BuiltinFuncs = function() {
|
|
688
706
|
locals: [124],
|
689
707
|
localNames: ["_this","_this#type","t"],
|
690
708
|
};
|
691
|
-
this.
|
709
|
+
this.__Date_prototype_getMonth = {
|
692
710
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_MonthFromTime')],[65,0],[15]],
|
693
711
|
params: [124,127],
|
694
712
|
typedParams: true,
|
@@ -697,7 +715,7 @@ export const BuiltinFuncs = function() {
|
|
697
715
|
locals: [124],
|
698
716
|
localNames: ["_this","_this#type","t"],
|
699
717
|
};
|
700
|
-
this.
|
718
|
+
this.__Date_prototype_getSeconds = {
|
701
719
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[65,0],[16, builtin('__ecma262_SecFromTime')],[65,0],[15]],
|
702
720
|
params: [124,127],
|
703
721
|
typedParams: true,
|
@@ -706,7 +724,7 @@ export const BuiltinFuncs = function() {
|
|
706
724
|
locals: [124],
|
707
725
|
localNames: ["_this","_this#type","t"],
|
708
726
|
};
|
709
|
-
this.
|
727
|
+
this.__Date_prototype_getTime = {
|
710
728
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[65,0],[15]],
|
711
729
|
params: [124,127],
|
712
730
|
typedParams: true,
|
@@ -715,7 +733,7 @@ export const BuiltinFuncs = function() {
|
|
715
733
|
locals: [],
|
716
734
|
localNames: ["_this","_this#type"],
|
717
735
|
};
|
718
|
-
this.
|
736
|
+
this.__Date_prototype_getTimezoneOffset = {
|
719
737
|
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,248,127],[65,0],[15],[11],[32,2],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[161],[68,0,0,0,0,0,76,237,64],[163],[65,0],[15]],
|
720
738
|
params: [124,127],
|
721
739
|
typedParams: true,
|
@@ -724,7 +742,7 @@ export const BuiltinFuncs = function() {
|
|
724
742
|
locals: [124],
|
725
743
|
localNames: ["_this","_this#type","t"],
|
726
744
|
};
|
727
|
-
this.
|
745
|
+
this.__Date_prototype_getUTCDate = {
|
728
746
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_DateFromTime')],[65,0],[15]],
|
729
747
|
params: [124,127],
|
730
748
|
typedParams: true,
|
@@ -733,7 +751,7 @@ export const BuiltinFuncs = function() {
|
|
733
751
|
locals: [124],
|
734
752
|
localNames: ["_this","_this#type","t"],
|
735
753
|
};
|
736
|
-
this.
|
754
|
+
this.__Date_prototype_getUTCDay = {
|
737
755
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_WeekDay')],[65,0],[15]],
|
738
756
|
params: [124,127],
|
739
757
|
typedParams: true,
|
@@ -742,7 +760,7 @@ export const BuiltinFuncs = function() {
|
|
742
760
|
locals: [124],
|
743
761
|
localNames: ["_this","_this#type","t"],
|
744
762
|
};
|
745
|
-
this.
|
763
|
+
this.__Date_prototype_getUTCFullYear = {
|
746
764
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[15]],
|
747
765
|
params: [124,127],
|
748
766
|
typedParams: true,
|
@@ -751,7 +769,7 @@ export const BuiltinFuncs = function() {
|
|
751
769
|
locals: [124],
|
752
770
|
localNames: ["_this","_this#type","t"],
|
753
771
|
};
|
754
|
-
this.
|
772
|
+
this.__Date_prototype_getUTCHours = {
|
755
773
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[15]],
|
756
774
|
params: [124,127],
|
757
775
|
typedParams: true,
|
@@ -760,7 +778,7 @@ export const BuiltinFuncs = function() {
|
|
760
778
|
locals: [124],
|
761
779
|
localNames: ["_this","_this#type","t"],
|
762
780
|
};
|
763
|
-
this.
|
781
|
+
this.__Date_prototype_getUTCMilliseconds = {
|
764
782
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_msFromTime')],[65,0],[15]],
|
765
783
|
params: [124,127],
|
766
784
|
typedParams: true,
|
@@ -769,7 +787,7 @@ export const BuiltinFuncs = function() {
|
|
769
787
|
locals: [124],
|
770
788
|
localNames: ["_this","_this#type","t"],
|
771
789
|
};
|
772
|
-
this.
|
790
|
+
this.__Date_prototype_getUTCMinutes = {
|
773
791
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[15]],
|
774
792
|
params: [124,127],
|
775
793
|
typedParams: true,
|
@@ -778,7 +796,7 @@ export const BuiltinFuncs = function() {
|
|
778
796
|
locals: [124],
|
779
797
|
localNames: ["_this","_this#type","t"],
|
780
798
|
};
|
781
|
-
this.
|
799
|
+
this.__Date_prototype_getUTCMonth = {
|
782
800
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_MonthFromTime')],[65,0],[15]],
|
783
801
|
params: [124,127],
|
784
802
|
typedParams: true,
|
@@ -787,7 +805,7 @@ export const BuiltinFuncs = function() {
|
|
787
805
|
locals: [124],
|
788
806
|
localNames: ["_this","_this#type","t"],
|
789
807
|
};
|
790
|
-
this.
|
808
|
+
this.__Date_prototype_getUTCSeconds = {
|
791
809
|
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,248,127],[65,0],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_SecFromTime')],[65,0],[15]],
|
792
810
|
params: [124,127],
|
793
811
|
typedParams: true,
|
@@ -796,7 +814,7 @@ export const BuiltinFuncs = function() {
|
|
796
814
|
locals: [124],
|
797
815
|
localNames: ["_this","_this#type","t"],
|
798
816
|
};
|
799
|
-
this.
|
817
|
+
this.__Date_prototype_setDate = {
|
800
818
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,4],[32,2],[16, builtin('Number')],[33,5],[32,4],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[65,0],[16, builtin('__ecma262_LocalTime')],[34,4],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_MonthFromTime')],[65,0],[32,5],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,6],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,7],[32,0],[65,19],[32,7],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,7],[65,0],[15]],
|
801
819
|
params: [124,127,124,127],
|
802
820
|
typedParams: true,
|
@@ -805,7 +823,7 @@ export const BuiltinFuncs = function() {
|
|
805
823
|
locals: [124,124,124,124,127],
|
806
824
|
localNames: ["_this","_this#type","date","date#type","t","dt","newDate","u","#last_type"],
|
807
825
|
};
|
808
|
-
this.
|
826
|
+
this.__Date_prototype_setFullYear = {
|
809
827
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,8],[32,2],[16, builtin('Number')],[33,9],[32,8],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[5],[32,8],[65,0],[16, builtin('__ecma262_LocalTime')],[33,8],[11],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,8],[65,0],[16, builtin('__ecma262_MonthFromTime')],[33,10],[5],[32,4],[16, builtin('Number')],[33,10],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,8],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,11],[5],[32,6],[16, builtin('Number')],[33,11],[11],[32,9],[65,0],[32,10],[65,0],[32,11],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,8],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,12],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,13],[32,0],[65,19],[32,13],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,13],[65,0],[15]],
|
810
828
|
params: [124,127,124,127,124,127,124,127],
|
811
829
|
typedParams: true,
|
@@ -814,7 +832,7 @@ export const BuiltinFuncs = function() {
|
|
814
832
|
locals: [124,124,124,124,124,124,127],
|
815
833
|
localNames: ["_this","_this#type","year","year#type","month","month#type","date","date#type","t","y","m","dt","newDate","u","#last_type"],
|
816
834
|
};
|
817
|
-
this.
|
835
|
+
this.__Date_prototype_setHours = {
|
818
836
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,10],[32,2],[16, builtin('Number')],[33,11],[32,10],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,10],[65,0],[16, builtin('__ecma262_LocalTime')],[33,10],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,12],[5],[32,10],[65,0],[16, builtin('__ecma262_MinFromTime')],[33,12],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,6],[16, builtin('Number')],[33,13],[5],[32,10],[65,0],[16, builtin('__ecma262_SecFromTime')],[33,13],[11],[32,8],[32,9],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,8],[16, builtin('Number')],[33,14],[5],[32,10],[65,0],[16, builtin('__ecma262_msFromTime')],[33,14],[11],[32,10],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,11],[65,0],[32,12],[65,0],[32,13],[65,0],[32,14],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,15],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,16],[32,0],[65,19],[32,16],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,16],[65,0],[15]],
|
819
837
|
params: [124,127,124,127,124,127,124,127,124,127],
|
820
838
|
typedParams: true,
|
@@ -823,7 +841,7 @@ export const BuiltinFuncs = function() {
|
|
823
841
|
locals: [124,124,124,124,124,124,124,127],
|
824
842
|
localNames: ["_this","_this#type","hour","hour#type","min","min#type","sec","sec#type","ms","ms#type","t","h","m","s","milli","date","u","#last_type"],
|
825
843
|
};
|
826
|
-
this.
|
844
|
+
this.__Date_prototype_setMilliseconds = {
|
827
845
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,4],[32,2],[16, builtin('Number')],[33,5],[32,4],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[65,0],[16, builtin('__ecma262_LocalTime')],[34,4],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_SecFromTime')],[65,0],[32,5],[65,0],[16, builtin('__ecma262_MakeTime')],[33,6],[32,4],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_MakeDate')],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,7],[32,0],[65,19],[32,7],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,7],[65,0],[15]],
|
828
846
|
params: [124,127,124,127],
|
829
847
|
typedParams: true,
|
@@ -832,7 +850,7 @@ export const BuiltinFuncs = function() {
|
|
832
850
|
locals: [124,124,124,124,127],
|
833
851
|
localNames: ["_this","_this#type","ms","ms#type","t","milli","time","u","#last_type"],
|
834
852
|
};
|
835
|
-
this.
|
853
|
+
this.__Date_prototype_setMinutes = {
|
836
854
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,8],[32,2],[16, builtin('Number')],[33,9],[32,8],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,8],[65,0],[16, builtin('__ecma262_LocalTime')],[33,8],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,10],[5],[32,8],[65,0],[16, builtin('__ecma262_SecFromTime')],[33,10],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,6],[16, builtin('Number')],[33,11],[5],[32,8],[65,0],[16, builtin('__ecma262_msFromTime')],[33,11],[11],[32,8],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,8],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,9],[65,0],[32,10],[65,0],[32,11],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,12],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,13],[32,0],[65,19],[32,13],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,13],[65,0],[15]],
|
837
855
|
params: [124,127,124,127,124,127,124,127],
|
838
856
|
typedParams: true,
|
@@ -841,7 +859,7 @@ export const BuiltinFuncs = function() {
|
|
841
859
|
locals: [124,124,124,124,124,124,127],
|
842
860
|
localNames: ["_this","_this#type","min","min#type","sec","sec#type","ms","ms#type","t","m","s","milli","date","u","#last_type"],
|
843
861
|
};
|
844
|
-
this.
|
862
|
+
this.__Date_prototype_setMonth = {
|
845
863
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,6],[32,2],[16, builtin('Number')],[33,7],[32,6],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,6],[65,0],[16, builtin('__ecma262_LocalTime')],[33,6],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,8],[5],[32,6],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,8],[11],[32,6],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[32,7],[65,0],[32,8],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,9],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,10],[32,0],[65,19],[32,10],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,10],[65,0],[15]],
|
846
864
|
params: [124,127,124,127,124,127],
|
847
865
|
typedParams: true,
|
@@ -850,7 +868,7 @@ export const BuiltinFuncs = function() {
|
|
850
868
|
locals: [124,124,124,124,124,127],
|
851
869
|
localNames: ["_this","_this#type","month","month#type","date","date#type","t","m","dt","newDate","u","#last_type"],
|
852
870
|
};
|
853
|
-
this.
|
871
|
+
this.__Date_prototype_setSeconds = {
|
854
872
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,6],[32,2],[16, builtin('Number')],[33,7],[32,6],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,6],[65,0],[16, builtin('__ecma262_LocalTime')],[33,6],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,8],[5],[32,6],[65,0],[16, builtin('__ecma262_msFromTime')],[33,8],[11],[32,6],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[32,7],[65,0],[32,8],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,9],[65,0],[16, builtin('__ecma262_UTC')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,10],[32,0],[65,19],[32,10],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,10],[65,0],[15]],
|
855
873
|
params: [124,127,124,127,124,127],
|
856
874
|
typedParams: true,
|
@@ -859,7 +877,7 @@ export const BuiltinFuncs = function() {
|
|
859
877
|
locals: [124,124,124,124,124,127],
|
860
878
|
localNames: ["_this","_this#type","sec","sec#type","ms","ms#type","t","s","milli","date","u","#last_type"],
|
861
879
|
};
|
862
|
-
this.
|
880
|
+
this.__Date_prototype_setTime = {
|
863
881
|
wasm: (scope, { allocPage, builtin }) => [[32,2],[16, builtin('Number')],[34,4],[65,0],[16, builtin('__ecma262_TimeClip')],[33,5],[32,0],[65,19],[32,5],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,5],[65,0],[15]],
|
864
882
|
params: [124,127,124,127],
|
865
883
|
typedParams: true,
|
@@ -868,7 +886,7 @@ export const BuiltinFuncs = function() {
|
|
868
886
|
locals: [124,124,127],
|
869
887
|
localNames: ["_this","_this#type","time","time#type","t","v","#last_type"],
|
870
888
|
};
|
871
|
-
this.
|
889
|
+
this.__Date_prototype_setUTCDate = {
|
872
890
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,4],[32,2],[16, builtin('Number')],[33,5],[32,4],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_MonthFromTime')],[65,0],[32,5],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,6],[65,0],[16, builtin('__ecma262_TimeClip')],[33,7],[32,0],[65,19],[32,7],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,7],[65,0],[15]],
|
873
891
|
params: [124,127,124,127],
|
874
892
|
typedParams: true,
|
@@ -877,7 +895,7 @@ export const BuiltinFuncs = function() {
|
|
877
895
|
locals: [124,124,124,124,127],
|
878
896
|
localNames: ["_this","_this#type","date","date#type","t","dt","newDate","v","#last_type"],
|
879
897
|
};
|
880
|
-
this.
|
898
|
+
this.__Date_prototype_setUTCFullYear = {
|
881
899
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[34,8],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,8],[11],[32,2],[16, builtin('Number')],[33,9],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,8],[65,0],[16, builtin('__ecma262_MonthFromTime')],[33,10],[5],[32,4],[16, builtin('Number')],[33,10],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[97],[4,64],[32,8],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,11],[5],[32,6],[16, builtin('Number')],[33,11],[11],[32,9],[65,0],[32,10],[65,0],[32,11],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,8],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,12],[65,0],[16, builtin('__ecma262_TimeClip')],[33,13],[32,0],[65,19],[32,13],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,13],[65,0],[15]],
|
882
900
|
params: [124,127,124,127,124,127,124,127],
|
883
901
|
typedParams: true,
|
@@ -886,7 +904,7 @@ export const BuiltinFuncs = function() {
|
|
886
904
|
locals: [124,124,124,124,124,124,127],
|
887
905
|
localNames: ["_this","_this#type","year","year#type","month","month#type","date","date#type","t","y","m","dt","newDate","v","#last_type"],
|
888
906
|
};
|
889
|
-
this.
|
907
|
+
this.__Date_prototype_setUTCHours = {
|
890
908
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,10],[32,2],[16, builtin('Number')],[33,11],[32,10],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,12],[5],[32,10],[65,0],[16, builtin('__ecma262_MinFromTime')],[33,12],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,6],[16, builtin('Number')],[33,13],[5],[32,10],[65,0],[16, builtin('__ecma262_SecFromTime')],[33,13],[11],[32,8],[32,9],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,8],[16, builtin('Number')],[33,14],[5],[32,10],[65,0],[16, builtin('__ecma262_msFromTime')],[33,14],[11],[32,10],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,11],[65,0],[32,12],[65,0],[32,13],[65,0],[32,14],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,15],[65,0],[16, builtin('__ecma262_TimeClip')],[33,16],[32,0],[65,19],[32,16],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,16],[65,0],[15]],
|
891
909
|
params: [124,127,124,127,124,127,124,127,124,127],
|
892
910
|
typedParams: true,
|
@@ -895,7 +913,7 @@ export const BuiltinFuncs = function() {
|
|
895
913
|
locals: [124,124,124,124,124,124,124,127],
|
896
914
|
localNames: ["_this","_this#type","hour","hour#type","min","min#type","sec","sec#type","ms","ms#type","t","h","m","s","milli","date","v","#last_type"],
|
897
915
|
};
|
898
|
-
this.
|
916
|
+
this.__Date_prototype_setUTCMilliseconds = {
|
899
917
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,4],[32,2],[16, builtin('Number')],[33,5],[32,4],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[32,4],[65,0],[16, builtin('__ecma262_SecFromTime')],[65,0],[32,5],[65,0],[16, builtin('__ecma262_MakeTime')],[33,6],[32,4],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_MakeDate')],[65,0],[16, builtin('__ecma262_TimeClip')],[33,7],[32,0],[65,19],[32,7],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,7],[65,0],[15]],
|
900
918
|
params: [124,127,124,127],
|
901
919
|
typedParams: true,
|
@@ -904,7 +922,7 @@ export const BuiltinFuncs = function() {
|
|
904
922
|
locals: [124,124,124,124,127],
|
905
923
|
localNames: ["_this","_this#type","ms","ms#type","t","milli","time","v","#last_type"],
|
906
924
|
};
|
907
|
-
this.
|
925
|
+
this.__Date_prototype_setUTCMinutes = {
|
908
926
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,8],[32,2],[16, builtin('Number')],[33,9],[32,8],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,10],[5],[32,8],[65,0],[16, builtin('__ecma262_SecFromTime')],[33,10],[11],[32,6],[32,7],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,6],[16, builtin('Number')],[33,11],[5],[32,8],[65,0],[16, builtin('__ecma262_msFromTime')],[33,11],[11],[32,8],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,8],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,9],[65,0],[32,10],[65,0],[32,11],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,12],[65,0],[16, builtin('__ecma262_TimeClip')],[33,13],[32,0],[65,19],[32,13],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,13],[65,0],[15]],
|
909
927
|
params: [124,127,124,127,124,127,124,127],
|
910
928
|
typedParams: true,
|
@@ -913,7 +931,7 @@ export const BuiltinFuncs = function() {
|
|
913
931
|
locals: [124,124,124,124,124,124,127],
|
914
932
|
localNames: ["_this","_this#type","min","min#type","sec","sec#type","ms","ms#type","t","m","s","milli","date","v","#last_type"],
|
915
933
|
};
|
916
|
-
this.
|
934
|
+
this.__Date_prototype_setUTCMonth = {
|
917
935
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,6],[32,2],[16, builtin('Number')],[33,7],[32,6],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,8],[5],[32,6],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,8],[11],[32,6],[65,0],[16, builtin('__ecma262_YearFromTime')],[65,0],[32,7],[65,0],[32,8],[65,0],[16, builtin('__ecma262_MakeDay')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_TimeWithinDay')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,9],[65,0],[16, builtin('__ecma262_TimeClip')],[33,10],[32,0],[65,19],[32,10],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,10],[65,0],[15]],
|
918
936
|
params: [124,127,124,127,124,127],
|
919
937
|
typedParams: true,
|
@@ -922,7 +940,7 @@ export const BuiltinFuncs = function() {
|
|
922
940
|
locals: [124,124,124,124,124,127],
|
923
941
|
localNames: ["_this","_this#type","month","month#type","date","date#type","t","m","dt","newDate","v","#last_type"],
|
924
942
|
};
|
925
|
-
this.
|
943
|
+
this.__Date_prototype_setUTCSeconds = {
|
926
944
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,6],[32,2],[16, builtin('Number')],[33,7],[32,6],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,248,127],[65,0],[15],[11],[32,4],[32,5],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,8,64],[98],[4,64],[32,4],[16, builtin('Number')],[33,8],[5],[32,6],[65,0],[16, builtin('__ecma262_msFromTime')],[33,8],[11],[32,6],[65,0],[16, builtin('__ecma262_Day')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_HourFromTime')],[65,0],[32,6],[65,0],[16, builtin('__ecma262_MinFromTime')],[65,0],[32,7],[65,0],[32,8],[65,0],[16, builtin('__ecma262_MakeTime')],[65,0],[16, builtin('__ecma262_MakeDate')],[34,9],[65,0],[16, builtin('__ecma262_TimeClip')],[33,10],[32,0],[65,19],[32,10],[65,0],[16, builtin('__Porffor_date_write')],[26],[26],[32,10],[65,0],[15]],
|
927
945
|
params: [124,127,124,127,124,127],
|
928
946
|
typedParams: true,
|
@@ -967,7 +985,7 @@ export const BuiltinFuncs = function() {
|
|
967
985
|
locals: [124,124,124,127],
|
968
986
|
localNames: ["t","t#type","year","out","__length_setter_tmp","#last_type"],
|
969
987
|
};
|
970
|
-
this.
|
988
|
+
this.__Date_prototype_toISOString = {
|
971
989
|
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')],[65,18],[15]],
|
972
990
|
params: [124,127],
|
973
991
|
typedParams: true,
|
@@ -976,8 +994,8 @@ export const BuiltinFuncs = function() {
|
|
976
994
|
locals: [124],
|
977
995
|
localNames: ["_this","_this#type","tv"],
|
978
996
|
};
|
979
|
-
this.
|
980
|
-
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('
|
997
|
+
this.__Date_prototype_toJSON = {
|
998
|
+
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]],
|
981
999
|
params: [124,127,124,127],
|
982
1000
|
typedParams: true,
|
983
1001
|
returns: [124,127],
|
@@ -1022,7 +1040,7 @@ export const BuiltinFuncs = function() {
|
|
1022
1040
|
locals: [124,124,127,124,127],
|
1023
1041
|
localNames: ["tv","tv#type","out","__length_setter_tmp","#makearray_pointer_tmp","t","#last_type"],
|
1024
1042
|
};
|
1025
|
-
this.
|
1043
|
+
this.__Date_prototype_toString = {
|
1026
1044
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[34,2],[65,0],[16, builtin('__ecma262_ToDateString')],[34,3],[15]],
|
1027
1045
|
params: [124,127],
|
1028
1046
|
typedParams: true,
|
@@ -1031,8 +1049,8 @@ export const BuiltinFuncs = function() {
|
|
1031
1049
|
locals: [124,127],
|
1032
1050
|
localNames: ["_this","_this#type","tv","#last_type"],
|
1033
1051
|
};
|
1034
|
-
this.
|
1035
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring:
|
1052
|
+
this.__Date_prototype_toTimeString = {
|
1053
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring: __Date_prototype_toTimeString/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],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,3],[252,3],[34,5],[65,12],[54,1,0],[32,5],[65,201,0],[58,0,4],[32,5],[65,238,0],[58,0,5],[32,5],[65,246,0],[58,0,6],[32,5],[65,225,0],[58,0,7],[32,5],[65,236,0],[58,0,8],[32,5],[65,233,0],[58,0,9],[32,5],[65,228,0],[58,0,10],[32,5],[65,32],[58,0,11],[32,5],[65,196,0],[58,0,12],[32,5],[65,225,0],[58,0,13],[32,5],[65,244,0],[58,0,14],[32,5],[65,229,0],[58,0,15],[32,5],[184],[34,3],[65,18],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[33,6],[32,3],[65,18],[32,6],[65,0],[16, builtin('__ecma262_TimeString')],[65,18],[16, builtin('__Porffor_bytestring_appendStr')],[26],[32,3],[65,18],[32,2],[65,0],[16, builtin('__ecma262_TimeZoneString')],[34,7],[16, builtin('__Porffor_bytestring_appendStr')],[26],[32,3],[65,18],[15]],
|
1036
1054
|
params: [124,127],
|
1037
1055
|
typedParams: true,
|
1038
1056
|
returns: [124,127],
|
@@ -1040,8 +1058,8 @@ export const BuiltinFuncs = function() {
|
|
1040
1058
|
locals: [124,124,124,127,124,127],
|
1041
1059
|
localNames: ["_this","_this#type","tv","out","__length_setter_tmp","#makearray_pointer_tmp","t","#last_type"],
|
1042
1060
|
};
|
1043
|
-
this.
|
1044
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring:
|
1061
|
+
this.__Date_prototype_toDateString = {
|
1062
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring: __Date_prototype_toDateString/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],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,3],[252,3],[34,5],[65,12],[54,1,0],[32,5],[65,201,0],[58,0,4],[32,5],[65,238,0],[58,0,5],[32,5],[65,246,0],[58,0,6],[32,5],[65,225,0],[58,0,7],[32,5],[65,236,0],[58,0,8],[32,5],[65,233,0],[58,0,9],[32,5],[65,228,0],[58,0,10],[32,5],[65,32],[58,0,11],[32,5],[65,196,0],[58,0,12],[32,5],[65,225,0],[58,0,13],[32,5],[65,244,0],[58,0,14],[32,5],[65,229,0],[58,0,15],[32,5],[184],[34,3],[65,18],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_LocalTime')],[34,6],[65,0],[16, builtin('__ecma262_DateString')],[34,3],[65,18],[15]],
|
1045
1063
|
params: [124,127],
|
1046
1064
|
typedParams: true,
|
1047
1065
|
returns: [124,127],
|
@@ -1049,8 +1067,8 @@ export const BuiltinFuncs = function() {
|
|
1049
1067
|
locals: [124,124,124,127,124],
|
1050
1068
|
localNames: ["_this","_this#type","tv","out","__length_setter_tmp","#makearray_pointer_tmp","t"],
|
1051
1069
|
};
|
1052
|
-
this.
|
1053
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring:
|
1070
|
+
this.__Date_prototype_toUTCString = {
|
1071
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[33,2],...number(allocPage(scope, 'bytestring: __Date_prototype_toUTCString/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],[16, builtin('__Number_isNaN')],[252,3],[4,64],[32,3],[252,3],[34,5],[65,12],[54,1,0],[32,5],[65,201,0],[58,0,4],[32,5],[65,238,0],[58,0,5],[32,5],[65,246,0],[58,0,6],[32,5],[65,225,0],[58,0,7],[32,5],[65,236,0],[58,0,8],[32,5],[65,233,0],[58,0,9],[32,5],[65,228,0],[58,0,10],[32,5],[65,32],[58,0,11],[32,5],[65,196,0],[58,0,12],[32,5],[65,225,0],[58,0,13],[32,5],[65,244,0],[58,0,14],[32,5],[65,229,0],[58,0,15],[32,5],[184],[34,3],[65,18],[15],[11],[32,2],[65,0],[16, builtin('__ecma262_WeekDayName')],[33,6],[32,2],[65,0],[16, builtin('__ecma262_MonthName')],[33,7],[32,2],[65,0],[16, builtin('__ecma262_DateFromTime')],[33,8],[32,2],[65,0],[16, builtin('__ecma262_YearFromTime')],[33,9],[32,3],[65,18],[32,6],[65,18],[16, builtin('__Porffor_bytestring_appendStr')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,64,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[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,64,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,3],[65,18],[32,7],[65,18],[16, builtin('__Porffor_bytestring_appendStr')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,64,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,9],[68,0,0,0,0,0,0,0,0],[99],[4,64],[32,3],[65,18],[68,0,0,0,0,0,128,70,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[11],[32,3],[65,18],[32,9],[65,0],[68,0,0,0,0,0,0,16,64],[65,0],[16, builtin('__Porffor_bytestring_appendPadNum')],[26],[32,3],[65,18],[68,0,0,0,0,0,0,64,64],[65,0],[16, builtin('__Porffor_bytestring_appendChar')],[26],[32,3],[65,18],[32,2],[65,0],[16, builtin('__ecma262_TimeString')],[65,18],[16, builtin('__Porffor_bytestring_appendStr')],[26],[32,3],[65,18],[15]],
|
1054
1072
|
params: [124,127],
|
1055
1073
|
typedParams: true,
|
1056
1074
|
returns: [124,127],
|
@@ -1058,8 +1076,8 @@ export const BuiltinFuncs = function() {
|
|
1058
1076
|
locals: [124,124,124,127,124,124,124,124],
|
1059
1077
|
localNames: ["_this","_this#type","tv","out","__length_setter_tmp","#makearray_pointer_tmp","weekday","month","day","yv"],
|
1060
1078
|
};
|
1061
|
-
this.
|
1062
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('
|
1079
|
+
this.__Date_prototype_toLocaleDateString = {
|
1080
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Date_prototype_toDateString')],[34,6],[15]],
|
1063
1081
|
params: [124,127,124,127,124,127],
|
1064
1082
|
typedParams: true,
|
1065
1083
|
returns: [124,127],
|
@@ -1067,8 +1085,8 @@ export const BuiltinFuncs = function() {
|
|
1067
1085
|
locals: [127],
|
1068
1086
|
localNames: ["_this","_this#type","reserved1","reserved1#type","reserved2","reserved2#type","#last_type"],
|
1069
1087
|
};
|
1070
|
-
this.
|
1071
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('
|
1088
|
+
this.__Date_prototype_toLocaleString = {
|
1089
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Date_prototype_toString')],[34,6],[15]],
|
1072
1090
|
params: [124,127,124,127,124,127],
|
1073
1091
|
typedParams: true,
|
1074
1092
|
returns: [124,127],
|
@@ -1076,8 +1094,8 @@ export const BuiltinFuncs = function() {
|
|
1076
1094
|
locals: [127],
|
1077
1095
|
localNames: ["_this","_this#type","reserved1","reserved1#type","reserved2","reserved2#type","#last_type"],
|
1078
1096
|
};
|
1079
|
-
this.
|
1080
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('
|
1097
|
+
this.__Date_prototype_toLocaleTimeString = {
|
1098
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Date_prototype_toTimeString')],[34,6],[15]],
|
1081
1099
|
params: [124,127,124,127,124,127],
|
1082
1100
|
typedParams: true,
|
1083
1101
|
returns: [124,127],
|
@@ -1085,7 +1103,7 @@ export const BuiltinFuncs = function() {
|
|
1085
1103
|
locals: [127],
|
1086
1104
|
localNames: ["_this","_this#type","reserved1","reserved1#type","reserved2","reserved2#type","#last_type"],
|
1087
1105
|
};
|
1088
|
-
this.
|
1106
|
+
this.__Date_prototype_valueOf = {
|
1089
1107
|
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,19],[16, builtin('__Porffor_date_read')],[65,0],[15]],
|
1090
1108
|
params: [124,127],
|
1091
1109
|
typedParams: true,
|
@@ -1113,6 +1131,16 @@ export const BuiltinFuncs = function() {
|
|
1113
1131
|
localNames: ["input","input#type","lut","len","outLength","i","endPtr","chr","output","__length_setter_tmp","j","lower","upper","#makearray_pointer_tmp","nibble"],
|
1114
1132
|
data: [{"offset":0,"bytes":[128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0]}],
|
1115
1133
|
};
|
1134
|
+
this.__Function_prototype_toString = {
|
1135
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Function_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[65,18],[15]],
|
1136
|
+
params: [124,127],
|
1137
|
+
typedParams: true,
|
1138
|
+
returns: [124,127],
|
1139
|
+
typedReturns: true,
|
1140
|
+
locals: [124],
|
1141
|
+
localNames: ["_this","_this#type","out"],
|
1142
|
+
data: [{"offset":0,"bytes":[14,0,0,0,102,117,110,99,116,105,111,110,32,40,41,32,123,125]}],
|
1143
|
+
};
|
1116
1144
|
this.parseInt = {
|
1117
1145
|
wasm: (scope, { allocPage, builtin }) => [[32,2],[65,0],[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],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,0],[97],[4,64],[68,0,0,0,0,0,0,36,64],[33,2],[11],[32,2],[68,0,0,0,0,0,0,0,64],[99],[34,4],[69],[4,127],[32,2],[68,0,0,0,0,0,0,66,64],[100],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[68,0,0,0,0,0,0,248,127],[15],[11],[68,0,0,0,0,0,0,77,64],[33,6],[32,2],[68,0,0,0,0,0,0,36,64],[99],[4,64],[68,0,0,0,0,0,0,72,64],[32,2],[160],[33,6],[11],[68,0,0,0,0,0,0,248,127],[33,7],[32,0],[34,8],[252,2],[40,0,0],[183],[33,9],[32,8],[33,10],[68,0,0,0,0,0,0,0,0],[33,11],[32,0],[32,1],[16, builtin('__Porffor_rawType')],[68,0,0,0,0,0,0,50,64],[97],[4,64],[32,10],[32,9],[160],[33,12],[32,10],[252,2],[45,0,4],[183],[34,13],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,240,63],[160],[252,2],[45,0,4],[183],[34,14],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,14],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,10],[32,12],[99],[4,64],[32,10],[32,10],[68,0,0,0,0,0,0,240,63],[160],[33,10],[252,2],[45,0,4],[183],[34,15],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,15],[32,6],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,0,72,64],[161],[160],[33,7],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,15],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,192,85,64],[161],[160],[33,7],[5],[32,15],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,128,75,64],[161],[160],[33,7],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[12,1],[11],[11],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[32,10],[32,9],[68,0,0,0,0,0,0,0,64],[162],[160],[33,12],[32,10],[252,2],[47,0,4],[183],[34,13],[68,0,0,0,0,0,128,69,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,128,70,64],[97],[4,64],[68,0,0,0,0,0,0,240,63],[33,11],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[11],[32,13],[68,0,0,0,0,0,0,72,64],[97],[4,64],[32,10],[68,0,0,0,0,0,0,0,64],[160],[252,2],[47,0,4],[183],[34,14],[68,0,0,0,0,0,0,94,64],[97],[34,4],[69],[4,127],[32,14],[68,0,0,0,0,0,0,86,64],[97],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,10],[68,0,0,0,0,0,0,16,64],[160],[33,10],[68,0,0,0,0,0,0,48,64],[33,2],[11],[11],[3,64],[32,10],[32,12],[99],[4,64],[32,10],[252,2],[47,0,4],[183],[33,15],[32,10],[68,0,0,0,0,0,0,0,64],[160],[33,10],[32,15],[68,0,0,0,0,0,0,72,64],[102],[34,4],[4,127],[32,15],[32,6],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,0,72,64],[161],[160],[33,7],[5],[32,2],[68,0,0,0,0,0,0,36,64],[100],[4,64],[32,15],[68,0,0,0,0,0,64,88,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,192,85,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,192,85,64],[161],[160],[33,7],[5],[32,15],[68,0,0,0,0,0,64,80,64],[102],[34,4],[4,127],[32,15],[68,0,0,0,0,0,128,75,64],[32,2],[160],[99],[65,1],[33,5],[5],[32,4],[65,1],[33,5],[11],[4,64],[32,7],[16, builtin('__Number_isNaN')],[252,3],[4,64],[68,0,0,0,0,0,0,0,0],[33,7],[11],[32,7],[32,2],[162],[34,7],[32,15],[68,0,0,0,0,0,128,75,64],[161],[160],[33,7],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[5],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15],[11],[11],[12,1],[11],[11],[32,11],[252,3],[4,64],[32,7],[154],[15],[11],[32,7],[15]],
|
1118
1146
|
params: [124,127,124,127],
|
@@ -1149,6 +1177,25 @@ export const BuiltinFuncs = function() {
|
|
1149
1177
|
locals: [124,124,127,127,127,124,124,124,124,124,124,124,124,124,124,124],
|
1150
1178
|
localNames: ["_this","_this#type","fractionDigits","fractionDigits#type","out","outPtr","#makearray_pointer_tmp","logictmpi","#last_type","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace","__length_setter_tmp"],
|
1151
1179
|
};
|
1180
|
+
this.__Number_prototype_valueOf = {
|
1181
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,0],[15]],
|
1182
|
+
params: [124,127],
|
1183
|
+
typedParams: true,
|
1184
|
+
returns: [124,127],
|
1185
|
+
typedReturns: true,
|
1186
|
+
locals: [],
|
1187
|
+
localNames: ["_this","_this#type"],
|
1188
|
+
};
|
1189
|
+
this.__Object_prototype_toString = {
|
1190
|
+
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Object_prototype_toString/out', 'i8') * pageSize, 124),[34,2],[65,18],[15]],
|
1191
|
+
params: [124,127],
|
1192
|
+
typedParams: true,
|
1193
|
+
returns: [124,127],
|
1194
|
+
typedReturns: true,
|
1195
|
+
locals: [124],
|
1196
|
+
localNames: ["_this","_this#type","out"],
|
1197
|
+
data: [{"offset":0,"bytes":[15,0,0,0,91,111,98,106,101,99,116,32,79,98,106,101,99,116,93]}],
|
1198
|
+
};
|
1152
1199
|
this.__String_fromCharCode = {
|
1153
1200
|
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],[34,2],[34,3],[65,1],[54,1,0],[32,3],[65,46],[59,0,4],[32,2],[32,0],[59,0,4],[32,2],[65,2],[15]],
|
1154
1201
|
params: [127,127],
|
@@ -1168,8 +1215,8 @@ export const BuiltinFuncs = function() {
|
|
1168
1215
|
locals: [127,127,127,127,127,127],
|
1169
1216
|
localNames: ["_this","_this#type","len","out","i","j","endPtr","chr"],
|
1170
1217
|
};
|
1171
|
-
this.
|
1172
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'bytestring:
|
1218
|
+
this.__ByteString_prototype_toUpperCase = {
|
1219
|
+
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]],
|
1173
1220
|
params: [127,127],
|
1174
1221
|
typedParams: true,
|
1175
1222
|
returns: [127,127],
|
@@ -1186,8 +1233,8 @@ export const BuiltinFuncs = function() {
|
|
1186
1233
|
locals: [127,127,127,127,127,127],
|
1187
1234
|
localNames: ["_this","_this#type","len","out","i","j","endPtr","chr"],
|
1188
1235
|
};
|
1189
|
-
this.
|
1190
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[40,1,0],[33,2],...number(allocPage(scope, 'bytestring:
|
1236
|
+
this.__ByteString_prototype_toLowerCase = {
|
1237
|
+
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]],
|
1191
1238
|
params: [127,127],
|
1192
1239
|
typedParams: true,
|
1193
1240
|
returns: [127,127],
|
@@ -1204,7 +1251,7 @@ export const BuiltinFuncs = function() {
|
|
1204
1251
|
locals: [127,127,127,127,127,127,127],
|
1205
1252
|
localNames: ["_this","_this#type","searchString","searchString#type","position","position#type","thisPtr","searchPtr","len","searchLen","i","chr","expected"],
|
1206
1253
|
};
|
1207
|
-
this.
|
1254
|
+
this.__ByteString_prototype_startsWith = {
|
1208
1255
|
wasm: (scope, { allocPage, builtin }) => [[32,3],[65,18],[71],[4,64],[65,0],[65,1],[15],[11],[32,0],[33,6],[32,2],[33,7],[32,0],[40,1,0],[33,8],[32,4],[65,0],[74],[4,64],[32,4],[32,8],[74],[4,64],[32,8],[33,4],[5],[32,4],[65,0],[114],[33,4],[11],[5],[65,0],[33,4],[11],[32,6],[32,4],[106],[33,6],[32,2],[40,1,0],[33,9],[65,0],[33,10],[3,64],[32,10],[32,9],[72],[4,64],[32,6],[32,10],[106],[45,0,4],[33,11],[32,7],[32,10],[106],[45,0,4],[33,12],[32,11],[32,12],[71],[4,64],[65,0],[65,1],[15],[11],[32,10],[65,1],[106],[33,10],[12,1],[11],[11],[65,1],[65,1],[15]],
|
1209
1256
|
params: [127,127,127,127,127,127],
|
1210
1257
|
typedParams: true,
|
@@ -1222,7 +1269,7 @@ export const BuiltinFuncs = function() {
|
|
1222
1269
|
locals: [127,127,127,127,127,127,127],
|
1223
1270
|
localNames: ["_this","_this#type","searchString","searchString#type","endPosition","endPosition#type","i","j","searchLen","len","endPtr","chr","expected"],
|
1224
1271
|
};
|
1225
|
-
this.
|
1272
|
+
this.__ByteString_prototype_endsWith = {
|
1226
1273
|
wasm: (scope, { allocPage, builtin }) => [[32,3],[65,18],[71],[4,64],[65,0],[65,1],[15],[11],[32,0],[33,6],[32,2],[33,7],[32,2],[40,1,0],[33,8],[32,0],[40,1,0],[33,9],[32,5],[65,3],[70],[4,64],[32,9],[33,4],[11],[32,4],[65,0],[74],[4,64],[32,4],[32,9],[74],[4,64],[32,9],[33,4],[5],[32,4],[65,0],[114],[33,4],[11],[5],[65,0],[33,4],[11],[32,4],[32,8],[107],[34,4],[65,0],[72],[4,64],[65,0],[65,1],[15],[11],[32,6],[32,4],[106],[33,6],[32,7],[32,8],[106],[33,10],[3,64],[32,7],[32,10],[72],[4,64],[32,6],[32,6],[65,1],[106],[33,6],[45,0,4],[33,11],[32,7],[32,7],[65,1],[106],[33,7],[45,0,4],[33,12],[32,11],[32,12],[71],[4,64],[65,0],[65,1],[15],[11],[12,1],[11],[11],[65,1],[65,1],[15]],
|
1227
1274
|
params: [127,127,127,127,127,127],
|
1228
1275
|
typedParams: true,
|
@@ -1240,7 +1287,7 @@ export const BuiltinFuncs = function() {
|
|
1240
1287
|
locals: [127,127,127,127,127,127,127,127,127],
|
1241
1288
|
localNames: ["_this","_this#type","searchString","searchString#type","position","position#type","thisPtr","searchPtr","searchLenX2","len","thisPtrEnd","match","i","chr","expected"],
|
1242
1289
|
};
|
1243
|
-
this.
|
1290
|
+
this.__ByteString_prototype_indexOf = {
|
1244
1291
|
wasm: (scope, { allocPage, builtin }) => [[32,3],[65,18],[71],[4,64],[65,127],[65,0],[15],[11],[32,0],[33,6],[32,2],[33,7],[32,2],[40,1,0],[33,8],[32,0],[40,1,0],[33,9],[32,4],[65,0],[74],[4,64],[32,4],[32,9],[74],[4,64],[32,9],[33,4],[5],[32,4],[65,0],[114],[33,4],[11],[5],[65,0],[33,4],[11],[32,6],[32,9],[106],[32,8],[107],[33,10],[32,6],[32,4],[106],[33,6],[3,64],[32,6],[32,10],[76],[4,64],[65,1],[33,11],[65,0],[33,12],[3,64],[32,12],[32,8],[72],[4,64],[2,64],[32,6],[32,12],[106],[45,0,4],[33,13],[32,7],[32,12],[106],[45,0,4],[33,14],[32,13],[32,14],[71],[4,64],[65,0],[33,11],[12,2],[11],[11],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,11],[4,64],[32,6],[32,0],[107],[65,0],[15],[11],[32,6],[65,1],[106],[33,6],[12,1],[11],[11],[65,127],[65,0],[15]],
|
1245
1292
|
params: [127,127,127,127,127,127],
|
1246
1293
|
typedParams: true,
|
@@ -1258,7 +1305,7 @@ export const BuiltinFuncs = function() {
|
|
1258
1305
|
locals: [127,127,127,127,127,127,127,127,127,127,127],
|
1259
1306
|
localNames: ["_this","_this#type","searchString","searchString#type","position","position#type","thisPtr","searchPtr","searchLen","searchLenX2","len","max","thisPtrStart","match","i","chr","expected"],
|
1260
1307
|
};
|
1261
|
-
this.
|
1308
|
+
this.__ByteString_prototype_lastIndexOf = {
|
1262
1309
|
wasm: (scope, { allocPage, builtin }) => [[32,3],[65,18],[71],[4,64],[65,127],[65,0],[15],[11],[32,0],[33,6],[32,2],[33,7],[32,2],[40,1,0],[33,8],[32,0],[40,1,0],[33,9],[32,5],[65,3],[70],[4,64],[32,9],[32,8],[107],[33,4],[11],[32,4],[65,0],[74],[4,64],[32,9],[32,8],[107],[33,10],[32,4],[32,10],[74],[4,64],[32,10],[33,4],[5],[32,4],[65,0],[114],[33,4],[11],[5],[65,0],[33,4],[11],[32,6],[33,11],[32,6],[32,4],[106],[33,6],[3,64],[32,6],[32,11],[78],[4,64],[65,1],[33,12],[65,0],[33,13],[3,64],[32,13],[32,8],[72],[4,64],[2,64],[32,6],[32,13],[106],[45,0,4],[33,14],[32,7],[32,13],[106],[45,0,4],[33,15],[32,14],[32,15],[71],[4,64],[65,0],[33,12],[12,2],[11],[11],[32,13],[65,1],[106],[33,13],[12,1],[11],[11],[32,12],[4,64],[32,6],[32,0],[107],[65,0],[15],[11],[32,6],[65,1],[107],[33,6],[12,1],[11],[11],[65,127],[65,0],[15]],
|
1263
1310
|
params: [127,127,127,127,127,127],
|
1264
1311
|
typedParams: true,
|
@@ -1276,7 +1323,7 @@ export const BuiltinFuncs = function() {
|
|
1276
1323
|
locals: [127,127,127,127,127,127,127,127,127],
|
1277
1324
|
localNames: ["_this","_this#type","searchString","searchString#type","position","position#type","thisPtr","searchPtr","searchLenX2","len","thisPtrEnd","match","i","chr","expected"],
|
1278
1325
|
};
|
1279
|
-
this.
|
1326
|
+
this.__ByteString_prototype_includes = {
|
1280
1327
|
wasm: (scope, { allocPage, builtin }) => [[32,3],[65,18],[71],[4,64],[65,127],[65,0],[15],[11],[32,0],[33,6],[32,2],[33,7],[32,2],[40,1,0],[33,8],[32,0],[40,1,0],[33,9],[32,4],[65,0],[74],[4,64],[32,4],[32,9],[74],[4,64],[32,9],[33,4],[5],[32,4],[65,0],[114],[33,4],[11],[5],[65,0],[33,4],[11],[32,6],[32,9],[106],[32,8],[107],[33,10],[32,6],[32,4],[106],[33,6],[3,64],[32,6],[32,10],[76],[4,64],[65,1],[33,11],[65,0],[33,12],[3,64],[32,12],[32,8],[72],[4,64],[2,64],[32,6],[32,12],[106],[45,0,4],[33,13],[32,7],[32,12],[106],[45,0,4],[33,14],[32,13],[32,14],[71],[4,64],[65,0],[33,11],[12,2],[11],[11],[32,12],[65,1],[106],[33,12],[12,1],[11],[11],[32,11],[4,64],[65,1],[65,1],[15],[11],[32,6],[65,1],[106],[33,6],[12,1],[11],[11],[65,0],[65,1],[15]],
|
1281
1328
|
params: [127,127,127,127,127,127],
|
1282
1329
|
typedParams: true,
|
@@ -1295,8 +1342,8 @@ export const BuiltinFuncs = function() {
|
|
1295
1342
|
localNames: ["_this","_this#type","targetLength","targetLength#type","padString","padString#type","out","outPtr","thisPtr","len","todo","i","__length_setter_tmp","padStringLen","__proto_length_cache","__proto_pointer_cache","__charCodeAt_tmp","#last_type","thisPtrEnd"],
|
1296
1343
|
exceptions: [{"constructor":"TypeError","message":"'charCodeAt' proto func tried to be called on a type without an impl","exceptId":0}],
|
1297
1344
|
};
|
1298
|
-
this.
|
1299
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
1345
|
+
this.__ByteString_prototype_padStart = {
|
1346
|
+
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]],
|
1300
1347
|
params: [127,127,127,127,127,127],
|
1301
1348
|
typedParams: true,
|
1302
1349
|
returns: [127,127],
|
@@ -1314,8 +1361,8 @@ export const BuiltinFuncs = function() {
|
|
1314
1361
|
localNames: ["_this","_this#type","targetLength","targetLength#type","padString","padString#type","out","outPtr","thisPtr","len","thisPtrEnd","todo","i","__length_setter_tmp","padStringLen","__proto_length_cache","__proto_pointer_cache","__charCodeAt_tmp","#last_type"],
|
1315
1362
|
exceptions: [{"constructor":"TypeError","message":"'charCodeAt' proto func tried to be called on a type without an impl","exceptId":1}],
|
1316
1363
|
};
|
1317
|
-
this.
|
1318
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
1364
|
+
this.__ByteString_prototype_padEnd = {
|
1365
|
+
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]],
|
1319
1366
|
params: [127,127,127,127,127,127],
|
1320
1367
|
typedParams: true,
|
1321
1368
|
returns: [127,127],
|
@@ -1332,8 +1379,8 @@ export const BuiltinFuncs = function() {
|
|
1332
1379
|
locals: [127,127,127,127,127,127,127],
|
1333
1380
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","tmp","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1334
1381
|
};
|
1335
|
-
this.
|
1336
|
-
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:
|
1382
|
+
this.__ByteString_prototype_substring = {
|
1383
|
+
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]],
|
1337
1384
|
params: [127,127,127,127,127,127],
|
1338
1385
|
typedParams: true,
|
1339
1386
|
returns: [127,127],
|
@@ -1350,8 +1397,8 @@ export const BuiltinFuncs = function() {
|
|
1350
1397
|
locals: [127,127,127,127,127,127],
|
1351
1398
|
localNames: ["_this","_this#type","start","start#type","length","length#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1352
1399
|
};
|
1353
|
-
this.
|
1354
|
-
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:
|
1400
|
+
this.__ByteString_prototype_substr = {
|
1401
|
+
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]],
|
1355
1402
|
params: [127,127,127,127,127,127],
|
1356
1403
|
typedParams: true,
|
1357
1404
|
returns: [127,127],
|
@@ -1368,8 +1415,8 @@ export const BuiltinFuncs = function() {
|
|
1368
1415
|
locals: [127,127,127,127,127,127],
|
1369
1416
|
localNames: ["_this","_this#type","start","start#type","end","end#type","len","out","outPtr","thisPtr","thisPtrEnd","__length_setter_tmp"],
|
1370
1417
|
};
|
1371
|
-
this.
|
1372
|
-
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:
|
1418
|
+
this.__ByteString_prototype_slice = {
|
1419
|
+
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]],
|
1373
1420
|
params: [127,127,127,127,127,127],
|
1374
1421
|
typedParams: true,
|
1375
1422
|
returns: [127,127],
|
@@ -1386,8 +1433,8 @@ export const BuiltinFuncs = function() {
|
|
1386
1433
|
locals: [127,127,127,127,127,127,127,127,127],
|
1387
1434
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","len","thisPtrEnd","n","start","chr","__length_setter_tmp"],
|
1388
1435
|
};
|
1389
|
-
this.
|
1390
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
1436
|
+
this.__ByteString_prototype_trimStart = {
|
1437
|
+
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]],
|
1391
1438
|
params: [127,127],
|
1392
1439
|
typedParams: true,
|
1393
1440
|
returns: [127,127],
|
@@ -1404,8 +1451,8 @@ export const BuiltinFuncs = function() {
|
|
1404
1451
|
locals: [127,127,127,127,127,127,127,127,127],
|
1405
1452
|
localNames: ["_this","_this#type","out","outPtr","thisPtr","len","thisPtrStart","n","start","chr","__length_setter_tmp"],
|
1406
1453
|
};
|
1407
|
-
this.
|
1408
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring:
|
1454
|
+
this.__ByteString_prototype_trimEnd = {
|
1455
|
+
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]],
|
1409
1456
|
params: [127,127],
|
1410
1457
|
typedParams: true,
|
1411
1458
|
returns: [127,127],
|
@@ -1422,8 +1469,8 @@ export const BuiltinFuncs = function() {
|
|
1422
1469
|
locals: [127],
|
1423
1470
|
localNames: ["_this","_this#type","#last_type"],
|
1424
1471
|
};
|
1425
|
-
this.
|
1426
|
-
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,18],[16, builtin('
|
1472
|
+
this.__ByteString_prototype_trim = {
|
1473
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,18],[16, builtin('__ByteString_prototype_trimEnd')],[34,2],[16, builtin('__ByteString_prototype_trimStart')],[34,2],[15]],
|
1427
1474
|
params: [127,127],
|
1428
1475
|
typedParams: true,
|
1429
1476
|
returns: [127,127],
|
@@ -1431,51 +1478,40 @@ export const BuiltinFuncs = function() {
|
|
1431
1478
|
locals: [127],
|
1432
1479
|
localNames: ["_this","_this#type","#last_type"],
|
1433
1480
|
};
|
1434
|
-
this.__Boolean_prototype_toString = {
|
1435
|
-
wasm: (scope, { allocPage, builtin }) => [...number(allocPage(scope, 'bytestring: __Boolean_prototype_toString/out', 'i8') * pageSize, 124),[33,2],[32,0],[252,3],[4,64],[32,2],[252,3],[34,3],[65,4],[54,1,0],[32,3],[65,244,0],[58,0,4],[32,3],[65,242,0],[58,0,5],[32,3],[65,245,0],[58,0,6],[32,3],[65,229,0],[58,0,7],[32,3],[184],[33,2],[5],[32,2],[252,3],[34,3],[65,5],[54,1,0],[32,3],[65,230,0],[58,0,4],[32,3],[65,225,0],[58,0,5],[32,3],[65,236,0],[58,0,6],[32,3],[65,243,0],[58,0,7],[32,3],[65,229,0],[58,0,8],[32,3],[184],[33,2],[11],[32,2],[65,18],[15]],
|
1436
|
-
params: [124,127],
|
1437
|
-
typedParams: true,
|
1438
|
-
returns: [124,127],
|
1439
|
-
typedReturns: true,
|
1440
|
-
locals: [124,127],
|
1441
|
-
localNames: ["_this","_this#type","out","#makearray_pointer_tmp"],
|
1442
|
-
};
|
1443
1481
|
this.__String_prototype_toString = {
|
1444
|
-
wasm: (scope, { allocPage, builtin }) => [
|
1445
|
-
params: [
|
1482
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,2],[15]],
|
1483
|
+
params: [127,127],
|
1446
1484
|
typedParams: true,
|
1447
|
-
returns: [
|
1485
|
+
returns: [127,127],
|
1448
1486
|
typedReturns: true,
|
1449
|
-
locals: [
|
1450
|
-
localNames: ["_this","_this#type"
|
1487
|
+
locals: [],
|
1488
|
+
localNames: ["_this","_this#type"],
|
1451
1489
|
};
|
1452
|
-
this.
|
1453
|
-
wasm: (scope, { allocPage, builtin }) => [
|
1454
|
-
params: [
|
1490
|
+
this.__ByteString_prototype_toString = {
|
1491
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,18],[15]],
|
1492
|
+
params: [127,127],
|
1455
1493
|
typedParams: true,
|
1456
|
-
returns: [
|
1494
|
+
returns: [127,127],
|
1457
1495
|
typedReturns: true,
|
1458
|
-
locals: [
|
1459
|
-
localNames: ["_this","_this#type"
|
1496
|
+
locals: [],
|
1497
|
+
localNames: ["_this","_this#type"],
|
1460
1498
|
};
|
1461
|
-
this.
|
1462
|
-
wasm: (scope, { allocPage, builtin }) => [
|
1463
|
-
params: [
|
1499
|
+
this.__String_prototype_valueOf = {
|
1500
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,2],[15]],
|
1501
|
+
params: [127,127],
|
1464
1502
|
typedParams: true,
|
1465
|
-
returns: [
|
1503
|
+
returns: [127,127],
|
1466
1504
|
typedReturns: true,
|
1467
|
-
locals: [
|
1468
|
-
localNames: ["_this","_this#type"
|
1469
|
-
data: [{"offset":0,"bytes":[15,0,0,0,91,111,98,106,101,99,116,32,79,98,106,101,99,116,93]}],
|
1505
|
+
locals: [],
|
1506
|
+
localNames: ["_this","_this#type"],
|
1470
1507
|
};
|
1471
|
-
this.
|
1472
|
-
wasm: (scope, { allocPage, builtin }) => [
|
1473
|
-
params: [
|
1508
|
+
this.__ByteString_prototype_valueOf = {
|
1509
|
+
wasm: (scope, { allocPage, builtin }) => [[32,0],[65,18],[15]],
|
1510
|
+
params: [127,127],
|
1474
1511
|
typedParams: true,
|
1475
|
-
returns: [
|
1512
|
+
returns: [127,127],
|
1476
1513
|
typedReturns: true,
|
1477
|
-
locals: [
|
1478
|
-
localNames: ["_this","_this#type"
|
1479
|
-
data: [{"offset":0,"bytes":[14,0,0,0,102,117,110,99,116,105,111,110,32,40,41,32,123,125]}],
|
1514
|
+
locals: [],
|
1515
|
+
localNames: ["_this","_this#type"],
|
1480
1516
|
};
|
1481
1517
|
};
|