porffor 0.47.4 → 0.47.5

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.
@@ -1,6 +1,6 @@
1
1
  import type {} from './porffor.d.ts';
2
2
 
3
- export const __Porffor_json_serialize = (value: any): bytestring|undefined => {
3
+ export const __Porffor_json_serialize = (value: any, depth: i32, space: bytestring|undefined): bytestring|undefined => {
4
4
  // somewhat modelled after 25.5.2.2 SerializeJSONProperty: https://tc39.es/ecma262/#sec-serializejsonproperty
5
5
  let out: bytestring = Porffor.allocate();
6
6
 
@@ -84,16 +84,36 @@ export const __Porffor_json_serialize = (value: any): bytestring|undefined => {
84
84
  if (t == Porffor.TYPES.array) {
85
85
  Porffor.bytestring.appendChar(out, 91); // [
86
86
 
87
+ const hasSpace: boolean = space !== undefined;
88
+ depth += 1;
89
+
87
90
  const arr: any[] = value;
88
91
  for (const x of arr) {
89
- Porffor.bytestring.appendStr(out, __Porffor_json_serialize(x) ?? nullString);
92
+ if (hasSpace) {
93
+ Porffor.bytestring.appendChar(out, 10); // \n
94
+ for (let i: i32 = 0; i < depth; i++) Porffor.bytestring.appendStr(out, space);
95
+ }
96
+
97
+ Porffor.bytestring.appendStr(out, __Porffor_json_serialize(x, depth, space) ?? nullString);
90
98
 
91
99
  Porffor.bytestring.appendChar(out, 44); // ,
92
100
  }
93
101
 
102
+ depth -= 1;
103
+
94
104
  // swap trailing , with ] (or append if empty)
95
- if (out.length > 1) Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 93, 0, 3);
96
- else Porffor.bytestring.appendChar(out, 93);
105
+ if (out.length > 1) {
106
+ if (hasSpace) {
107
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 10, 0, 3); // \n
108
+ for (let i: i32 = 0; i < depth; i++) Porffor.bytestring.appendStr(out, space);
109
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 93, 0, 4); // ]
110
+ out.length += 1;
111
+ } else {
112
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 93, 0, 3); // ]
113
+ }
114
+ } else {
115
+ Porffor.bytestring.appendChar(out, 93); // ]
116
+ }
97
117
 
98
118
  return out;
99
119
  }
@@ -103,28 +123,50 @@ export const __Porffor_json_serialize = (value: any): bytestring|undefined => {
103
123
  // hack: just return empty object for now
104
124
  Porffor.bytestring.appendChar(out, 123); // {
105
125
 
126
+ const hasSpace: boolean = space !== undefined;
127
+ depth += 1;
128
+
106
129
  const obj: object = value;
107
130
  for (const key in obj) {
108
131
  // skip symbol keys
109
132
  if (Porffor.rawType(key) == Porffor.TYPES.symbol) continue;
110
133
 
111
134
  // skip non-serializable values (functions, etc)
112
- const val: bytestring|undefined = __Porffor_json_serialize(obj[key]);
135
+ const val: bytestring|undefined = __Porffor_json_serialize(obj[key], depth, space);
113
136
  if (val == null) continue;
114
137
 
138
+ if (hasSpace) {
139
+ Porffor.bytestring.appendChar(out, 10); // \n
140
+ for (let i: i32 = 0; i < depth; i++) Porffor.bytestring.appendStr(out, space);
141
+ }
142
+
115
143
  Porffor.bytestring.appendChar(out, 34); // "
116
144
  Porffor.bytestring.appendStr(out, key);
117
145
  Porffor.bytestring.appendChar(out, 34); // "
118
146
 
119
147
  Porffor.bytestring.appendChar(out, 58); // :
148
+ if (hasSpace) Porffor.bytestring.appendChar(out, 32); // space
149
+
120
150
  Porffor.bytestring.appendStr(out, val);
121
151
 
122
152
  Porffor.bytestring.appendChar(out, 44); // ,
123
153
  }
124
154
 
155
+ depth -= 1;
156
+
125
157
  // swap trailing , with } (or append if empty)
126
- if (out.length > 1) Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 125, 0, 3);
127
- else Porffor.bytestring.appendChar(out, 125);
158
+ if (out.length > 1) {
159
+ if (hasSpace) {
160
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 10, 0, 3); // \n
161
+ for (let i: i32 = 0; i < depth; i++) Porffor.bytestring.appendStr(out, space);
162
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 125, 0, 4); // }
163
+ out.length += 1;
164
+ } else {
165
+ Porffor.wasm.i32.store8(Porffor.wasm`local.get ${out}` + out.length, 125, 0, 3); // }
166
+ }
167
+ } else {
168
+ Porffor.bytestring.appendChar(out, 125); // }
169
+ }
128
170
 
129
171
  return out;
130
172
  }
@@ -134,7 +176,40 @@ export const __Porffor_json_serialize = (value: any): bytestring|undefined => {
134
176
 
135
177
  export const __JSON_stringify = (value: any, replacer: any, space: any) => {
136
178
  // todo: replacer
137
- // todo: space
138
179
 
139
- return __Porffor_json_serialize(value);
180
+ if (space !== undefined) {
181
+ if (Porffor.fastOr(
182
+ Porffor.rawType(space) == Porffor.TYPES.number,
183
+ Porffor.rawType(space) == Porffor.TYPES.numberobject
184
+ )) {
185
+ space = Math.min(Math.trunc(space), 10);
186
+ Porffor.print(space); Porffor.printStatic('\n');
187
+
188
+ if (space < 1) {
189
+ space = undefined;
190
+ } else {
191
+ const spaceStr: bytestring = '';
192
+ spaceStr.length = 0;
193
+
194
+ for (let i: i32 = 0; i < space; i++) Porffor.bytestring.appendChar(spaceStr, 32);
195
+ space = spaceStr;
196
+ }
197
+ } else if (Porffor.fastOr(
198
+ (Porffor.rawType(space) | 0b10000000) == Porffor.TYPES.bytestring,
199
+ Porffor.rawType(space) == Porffor.TYPES.stringobject
200
+ )) {
201
+ // if empty, make it undefined
202
+ const len: i32 = space.length;
203
+ if (len == 0) {
204
+ space = undefined;
205
+ } else if (len > 10) {
206
+ space = space.slice(0, 10);
207
+ }
208
+ } else {
209
+ // not a number or string, make it undefined
210
+ space = undefined;
211
+ }
212
+ }
213
+
214
+ return __Porffor_json_serialize(value, 0, space);
140
215
  };
@@ -1811,17 +1811,19 @@ usedTypes:[36,80],
1811
1811
  usesTag:1,
1812
1812
  }
1813
1813
  this.__Porffor_json_serialize = {
1814
- wasm:(_,{t,allocPage,builtin,internalThrow})=>[[16,builtin('__Porffor_allocate')],[183],[33,2],...number(allocPage(_,'bytestring: __Porffor_json_serialize/nullString','i8'),124),[33,3],[32,0],[68,0],[97],[32,1],[65,128,1],[114],[65,7],[65,128,1],[114],[70],[113],[4,64],[32,3],[65,195,1],[15],[11],[32,0],[68,1],[97],[32,1],[65,128,1],[114],[65,2],[65,128,1],[114],[70],[113],[4,64],...number(allocPage(_,'bytestring: __Porffor_json_serialize/out','i8'),124),[34,2],[65,195,1],[15],[11],[32,0],[68,0],[97],[32,1],[65,128,1],[114],[65,2],[65,128,1],[114],[70],[113],[4,64],[32,2],[252,3],[34,4],[65,5],[54,1,0],[32,4],[65,230,0],[58,0,4],[32,4],[65,225,0],[58,0,5],[32,4],[65,236,0],[58,0,6],[32,4],[65,243,0],[58,0,7],[32,4],[65,229,0],[58,0,8],[32,4],[184],[34,2],[65,195,1],[15],[11],[32,1],[184],[34,5],[68,128],[16,builtin('f64_|')],[68,195],[97],[32,5],[68,39],[97],[114],[4,64],[32,2],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,0],[252,3],[40,1,0],[184],[33,7],[68,0],[33,8],[3,64],[32,8],[32,7],[99],[4,64],[2,64],[32,0],[252,3],[40,1,0],[33,10],[32,1],[33,12],[2,124],...t([39],()=>[[32,12],[65,39],[70],[4,64],[32,8],[252,2],[65,2],[108],[32,0],[252,3],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11]]),...t([67],()=>[[32,12],[65,195,0],[70],[4,64],[32,8],[252,2],[65,2],[108],[32,0],[252,3],[106],[47,0,4],[184],[65,1],[33,6],[12,1],[11]]),...t([195],()=>[[32,12],[65,195,1],[70],[4,64],[32,8],[252,2],[32,0],[252,3],[106],[45,0,4],[184],[65,1],[33,6],[12,1],[11]]),...internalThrow(_,'TypeError',`'charCodeAt' proto func tried to be called on a type without an impl`),[68,0],[11],[34,9],[68,32],[99],[4,64],[32,9],[68,8],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,98],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,2],[11],[32,9],[68,9],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,116],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,2],[11],[32,9],[68,10],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,110],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,2],[11],[32,9],[68,12],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,102],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,2],[11],[32,9],[68,13],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,114],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,2],[11],[32,2],[65,195,1],[68,92],[65,1],[68,117],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[32,2],[65,195,1],[68,48],[65,1],[68,48],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[32,9],[68,240],[16,builtin('f64_&')],[68,16],[163],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,6],[26],[32,9],[68,15],[16,builtin('f64_&')],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,6],[26],[12,1],[11],[32,9],[68,34],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,1],[11],[32,9],[68,92],[97],[4,64],[32,2],[65,195,1],[68,92],[65,1],[68,92],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,6],[26],[12,1],[11],[32,2],[65,195,1],[32,9],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,8],[68,1],[160],[33,8],[12,1],[11],[11],[32,2],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,2],[65,195,1],[15],[11],[32,5],[68,1],[97],[32,5],[68,38],[97],[114],[4,64],[32,0],[16,builtin('__Number_isFinite')],[252,3],[4,64],[32,0],[32,1],[68,10],[65,1],[16,builtin('__Number_prototype_toString')],[33,6],[34,2],[32,6],[15],[11],[32,3],[65,195,1],[15],[11],[32,5],[68,80],[97],[4,64],[32,2],[65,195,1],[68,91],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,0],[34,14],[252,3],[33,15],[65,208,0],[33,18],[65,0],[33,17],[32,18],[65,208,0],[70],[32,18],[65,19],[70],[114],[32,18],[65,195,0],[70],[114],[32,18],[65,195,1],[70],[114],[32,18],[65,216,0],[78],[32,18],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,15],[40,1,0],[34,16],[4,64],[32,18],[33,12],[2,64],...t([19],()=>[[32,12],[65,19],[70],[4,64],[3,64],[32,15],[43,0,4],[33,19],[32,15],[45,0,12],[33,20],[32,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,15],[65,9],[106],[33,15],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,12],[65,195,0],[70],[4,64],[65,195,0],[33,20],[16,builtin('__Porffor_allocate')],[34,25],[65,1],[54,0,0],[3,64],[32,25],[32,15],[47,0,4],[59,0,4],[32,25],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,15],[65,2],[106],[33,15],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,12],[65,208,0],[70],[4,64],[3,64],[32,15],[43,0,4],[33,19],[32,15],[45,0,12],[33,20],[32,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,15],[65,9],[106],[33,15],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,12],[65,216,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[106],[45,0,4],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,12],[65,217,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[106],[44,0,4],[183],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,12],[65,218,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[106],[45,0,4],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,12],[65,219,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,2],[108],[106],[47,0,4],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,12],[65,220,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,2],[108],[106],[46,0,4],[183],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,12],[65,221,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,4],[108],[106],[40,0,4],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,12],[65,222,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,4],[108],[106],[40,0,4],[183],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,12],[65,223,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,4],[108],[106],[42,0,4],[187],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,12],[65,224,0],[70],[4,64],[65,1],[33,20],[3,64],[32,15],[40,0,4],[32,17],[65,8],[108],[106],[43,0,4],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,12],[65,195,1],[70],[4,64],[65,195,1],[33,20],[16,builtin('__Porffor_allocate')],[34,25],[65,1],[54,0,0],[3,64],[32,25],[32,15],[32,17],[106],[45,0,4],[58,0,4],[32,25],[184],[34,19],[33,21],[32,20],[33,22],[2,64],[2,64],[32,2],[65,195,1],[32,21],[32,22],[16,builtin('__Porffor_json_serialize')],[33,6],[34,23],[33,24],[32,6],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,3],[65,195,1],[33,6],[5],[32,23],[32,6],[33,6],[11],[32,6],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,17],[65,1],[106],[34,17],[32,16],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],[32,2],[252,3],[40,1,0],[184],[68,1],[100],[4,64],[32,2],[32,2],[252,3],[40,1,0],[184],[160],[252,2],[65,221,0],[58,0,3],[5],[32,2],[65,195,1],[68,93],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,2],[65,195,1],[15],[11],[32,5],[68,6],[100],[4,64],[32,2],[65,195,1],[68,123],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,0],[34,26],[252,3],[33,27],[65,0],[33,29],[32,27],[40,1,0],[34,28],[4,64],[3,64],[32,27],[40,0,5],[34,30],[65,31],[118],[4,127],[32,30],[65,255,255,255,255,3],[113],[33,30],[65,67],[65,5],[32,30],[65,128,128,128,128,4],[113],[27],[5],[65,195,1],[11],[33,31],[32,30],[184],[33,32],[32,31],[33,33],[2,64],[32,27],[45,0,17],[65,4],[113],[4,64],[32,33],[184],[68,5],[97],[4,64],[12,1],[11],[32,26],[33,36],[32,32],[33,37],[32,36],[252,2],[65,7],[32,37],[32,33],[16,builtin('__ecma262_ToPropertyKey')],[33,38],[252,2],[32,38],[16,builtin('__Porffor_object_get')],[34,6],[16,builtin('__Porffor_json_serialize')],[34,6],[33,35],[34,34],[33,24],[32,35],[33,12],[2,127],...t([0,128],()=>[[32,12],[65,0],[70],[32,12],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,12],[65,7],[70],[4,64],[32,24],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],[12,1],[11],[32,2],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,2],[65,195,1],[32,32],[32,33],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,2],[65,195,1],[68,58],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,2],[65,195,1],[32,34],[32,35],[16,builtin('__Porffor_bytestring_appendStr')],[33,6],[26],[32,2],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,27],[65,14],[106],[33,27],[32,29],[65,1],[106],[34,29],[32,28],[71],[13,1],[11],[11],[11],[32,2],[252,3],[40,1,0],[184],[68,1],[100],[4,64],[32,2],[32,2],[252,3],[40,1,0],[184],[160],[252,2],[65,253,0],[58,0,3],[5],[32,2],[65,195,1],[68,125],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[11],[32,2],[65,195,1],[15],[11],[68,0],[65,128,1],[15]],
1815
- params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
1816
- locals:[124,124,127,124,127,124,124,124,127,127,127,127,124,127,127,127,127,124,127,124,127,124,124,127,124,127,127,127,127,127,124,127,124,127,124,124,127],localNames:["value","value#type","out","nullString","#makearray_pointer_tmp","t","#last_type","len","i","c","__proto_length_cache","__proto_pointer_cache","#typeswitch_tmp1","__charCodeAt_tmp","arr","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","#forof_tmp0","#forof_tmp0#type","x","x#type","logictmp","#logicinner_tmp","#forof_allocd","obj","#forin_base_pointer0","#forin_length0","#forin_counter0","#forin_tmp0","#forin_tmp0#type","key","key#type","val","val#type","#member_obj","#member_prop","#swap"],
1814
+ wasm:(_,{t,allocPage,builtin,internalThrow})=>[[16,builtin('__Porffor_allocate')],[183],[33,6],...number(allocPage(_,'bytestring: __Porffor_json_serialize/nullString','i8'),124),[33,7],[32,0],[68,0],[97],[32,1],[65,128,1],[114],[65,7],[65,128,1],[114],[70],[113],[4,64],[32,7],[65,195,1],[15],[11],[32,0],[68,1],[97],[32,1],[65,128,1],[114],[65,2],[65,128,1],[114],[70],[113],[4,64],...number(allocPage(_,'bytestring: __Porffor_json_serialize/out','i8'),124),[34,6],[65,195,1],[15],[11],[32,0],[68,0],[97],[32,1],[65,128,1],[114],[65,2],[65,128,1],[114],[70],[113],[4,64],[32,6],[252,3],[34,8],[65,5],[54,1,0],[32,8],[65,230,0],[58,0,4],[32,8],[65,225,0],[58,0,5],[32,8],[65,236,0],[58,0,6],[32,8],[65,243,0],[58,0,7],[32,8],[65,229,0],[58,0,8],[32,8],[184],[34,6],[65,195,1],[15],[11],[32,1],[184],[34,9],[68,128],[16,builtin('f64_|')],[68,195],[97],[32,9],[68,39],[97],[114],[4,64],[32,6],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,0],[252,3],[40,1,0],[184],[33,11],[68,0],[33,12],[3,64],[32,12],[32,11],[99],[4,64],[2,64],[32,0],[252,3],[40,1,0],[33,14],[32,1],[33,16],[2,124],...t([39],()=>[[32,16],[65,39],[70],[4,64],[32,12],[252,2],[65,2],[108],[32,0],[252,3],[106],[47,0,4],[184],[65,1],[33,10],[12,1],[11]]),...t([67],()=>[[32,16],[65,195,0],[70],[4,64],[32,12],[252,2],[65,2],[108],[32,0],[252,3],[106],[47,0,4],[184],[65,1],[33,10],[12,1],[11]]),...t([195],()=>[[32,16],[65,195,1],[70],[4,64],[32,12],[252,2],[32,0],[252,3],[106],[45,0,4],[184],[65,1],[33,10],[12,1],[11]]),...internalThrow(_,'TypeError',`'charCodeAt' proto func tried to be called on a type without an impl`),[68,0],[11],[34,13],[68,32],[99],[4,64],[32,13],[68,8],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,98],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,2],[11],[32,13],[68,9],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,116],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,2],[11],[32,13],[68,10],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,110],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,2],[11],[32,13],[68,12],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,102],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,2],[11],[32,13],[68,13],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,114],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,2],[11],[32,6],[65,195,1],[68,92],[65,1],[68,117],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[32,6],[65,195,1],[68,48],[65,1],[68,48],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[32,13],[68,240],[16,builtin('f64_&')],[68,16],[163],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,10],[26],[32,13],[68,15],[16,builtin('f64_&')],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,10],[26],[12,1],[11],[32,13],[68,34],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,1],[11],[32,13],[68,92],[97],[4,64],[32,6],[65,195,1],[68,92],[65,1],[68,92],[65,1],[16,builtin('__Porffor_bytestring_append2Char')],[33,10],[26],[12,1],[11],[32,6],[65,195,1],[32,13],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[32,6],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,6],[65,195,1],[15],[11],[32,9],[68,1],[97],[32,9],[68,38],[97],[114],[4,64],[32,0],[16,builtin('__Number_isFinite')],[252,3],[4,64],[32,0],[32,1],[68,10],[65,1],[16,builtin('__Number_prototype_toString')],[33,10],[34,6],[32,10],[15],[11],[32,7],[65,195,1],[15],[11],[32,9],[68,80],[97],[4,64],[32,6],[65,195,1],[68,91],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,4],[68,0],[98],[32,5],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[184],[33,18],[32,2],[68,1],[160],[33,2],[32,0],[34,19],[252,3],[33,20],[65,208,0],[33,23],[65,0],[33,22],[32,23],[65,208,0],[70],[32,23],[65,19],[70],[114],[32,23],[65,195,0],[70],[114],[32,23],[65,195,1],[70],[114],[32,23],[65,216,0],[78],[32,23],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,20],[40,1,0],[34,21],[4,64],[32,23],[33,16],[2,64],...t([19],()=>[[32,16],[65,19],[70],[4,64],[3,64],[32,20],[43,0,4],[33,24],[32,20],[45,0,12],[33,25],[32,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,20],[65,9],[106],[33,20],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([67],()=>[[32,16],[65,195,0],[70],[4,64],[65,195,0],[33,25],[16,builtin('__Porffor_allocate')],[34,30],[65,1],[54,0,0],[3,64],[32,30],[32,20],[47,0,4],[59,0,4],[32,30],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,20],[65,2],[106],[33,20],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([80],()=>[[32,16],[65,208,0],[70],[4,64],[3,64],[32,20],[43,0,4],[33,24],[32,20],[45,0,12],[33,25],[32,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,20],[65,9],[106],[33,20],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([88],()=>[[32,16],[65,216,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[106],[45,0,4],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([89],()=>[[32,16],[65,217,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[106],[44,0,4],[183],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([90],()=>[[32,16],[65,218,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[106],[45,0,4],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([91],()=>[[32,16],[65,219,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,2],[108],[106],[47,0,4],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([92],()=>[[32,16],[65,220,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,2],[108],[106],[46,0,4],[183],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([93],()=>[[32,16],[65,221,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,4],[108],[106],[40,0,4],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([94],()=>[[32,16],[65,222,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,4],[108],[106],[40,0,4],[183],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([95],()=>[[32,16],[65,223,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,4],[108],[106],[42,0,4],[187],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([96],()=>[[32,16],[65,224,0],[70],[4,64],[65,1],[33,25],[3,64],[32,20],[40,0,4],[32,22],[65,8],[108],[106],[43,0,4],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...t([195],()=>[[32,16],[65,195,1],[70],[4,64],[65,195,1],[33,25],[16,builtin('__Porffor_allocate')],[34,30],[65,1],[54,0,0],[3,64],[32,30],[32,20],[32,22],[106],[45,0,4],[58,0,4],[32,30],[184],[34,24],[33,26],[32,25],[33,27],[2,64],[2,64],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[32,26],[32,27],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[33,10],[34,28],[33,29],[32,10],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[32,7],[65,195,1],[33,10],[5],[32,28],[32,10],[33,10],[11],[32,10],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,22],[65,1],[106],[34,22],[32,21],[71],[13,1],[11],[11],[12,1],[11]]),...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[11],[32,2],[68,1],[161],[33,2],[32,6],[252,3],[40,1,0],[184],[68,1],[100],[4,64],[32,18],[252,3],[4,64],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,10],[58,0,3],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,221,0],[58,0,4],[32,6],[252,3],[34,32],[32,32],[40,1,0],[184],[68,1],[160],[34,31],[252,3],[54,1,0],[5],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,221,0],[58,0,3],[11],[5],[32,6],[65,195,1],[68,93],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,6],[65,195,1],[15],[11],[32,9],[68,6],[100],[4,64],[32,6],[65,195,1],[68,123],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,4],[68,0],[98],[32,5],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[184],[33,18],[32,2],[68,1],[160],[33,2],[32,0],[34,33],[252,3],[33,34],[65,0],[33,36],[32,34],[40,1,0],[34,35],[4,64],[3,64],[32,34],[40,0,5],[34,37],[65,31],[118],[4,127],[32,37],[65,255,255,255,255,3],[113],[33,37],[65,67],[65,5],[32,37],[65,128,128,128,128,4],[113],[27],[5],[65,195,1],[11],[33,38],[32,37],[184],[33,39],[32,38],[33,40],[2,64],[32,34],[45,0,17],[65,4],[113],[4,64],[32,40],[184],[68,5],[97],[4,64],[12,1],[11],[32,33],[33,43],[32,39],[33,44],[32,43],[252,2],[65,7],[32,44],[32,40],[16,builtin('__ecma262_ToPropertyKey')],[33,45],[252,2],[32,45],[16,builtin('__Porffor_object_get')],[34,10],[32,2],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[34,10],[33,42],[34,41],[33,29],[32,42],[33,16],[2,127],...t([0,128],()=>[[32,16],[65,0],[70],[32,16],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,16],[65,7],[70],[4,64],[32,29],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],[12,1],[11],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,10],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[11],[32,6],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,6],[65,195,1],[32,39],[32,40],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,34],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,6],[65,195,1],[68,58],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[32,18],[252,3],[4,64],[32,6],[65,195,1],[68,32],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,6],[65,195,1],[32,41],[32,42],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,6],[65,195,1],[68,44],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,34],[65,14],[106],[33,34],[32,36],[65,1],[106],[34,36],[32,35],[71],[13,1],[11],[11],[11],[32,2],[68,1],[161],[33,2],[32,6],[252,3],[40,1,0],[184],[68,1],[100],[4,64],[32,18],[252,3],[4,64],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,10],[58,0,3],[68,0],[33,12],[3,64],[32,12],[32,2],[99],[4,64],[32,6],[65,195,1],[32,4],[32,5],[16,builtin('__Porffor_bytestring_appendStr')],[33,10],[26],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,253,0],[58,0,4],[32,6],[252,3],[34,32],[32,32],[40,1,0],[184],[68,1],[160],[34,31],[252,3],[54,1,0],[5],[32,6],[32,6],[252,3],[40,1,0],[184],[160],[252,2],[65,253,0],[58,0,3],[11],[5],[32,6],[65,195,1],[68,125],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,10],[26],[11],[32,6],[65,195,1],[15],[11],[68,0],[65,128,1],[15]],
1815
+ params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
1816
+ locals:[124,124,127,124,127,124,124,124,127,127,127,127,124,124,127,127,127,127,124,127,124,127,124,124,127,124,127,124,127,127,127,127,127,124,127,124,127,124,124,127],localNames:["value","value#type","depth","depth#type","space","space#type","out","nullString","#makearray_pointer_tmp","t","#last_type","len","i","c","__proto_length_cache","__proto_pointer_cache","#typeswitch_tmp1","__charCodeAt_tmp","hasSpace","arr","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","#forof_tmp0","#forof_tmp0#type","x","x#type","logictmp","#logicinner_tmp","#forof_allocd","__length_setter_tmp","__member_setter_ptr_tmp","obj","#forin_base_pointer0","#forin_length0","#forin_counter0","#forin_tmp0","#forin_tmp0#type","key","key#type","val","val#type","#member_obj","#member_prop","#swap"],
1817
1817
  usedTypes:[195,7,80,67],
1818
1818
  data:{"bytestring: __Porffor_json_serialize/nullString":[4,0,0,0,110,117,108,108],"bytestring: __Porffor_json_serialize/out":[4,0,0,0,116,114,117,101]},
1819
1819
  usesTag:1,
1820
1820
  }
1821
1821
  this.__JSON_stringify = {
1822
- wasm:(_,{builtin})=>[[32,0],[32,1],[16,builtin('__Porffor_json_serialize')],[34,6],[15]],
1822
+ wasm:(_,{t,allocPage,builtin,internalThrow})=>[[32,4],[68,0],[98],[32,5],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,5],[184],[68,1],[97],[32,5],[184],[68,38],[97],[114],[4,64],[68,"Infinity"],[32,4],[16,builtin('__Math_trunc')],[164],[68,10],[164],[34,4],[65,1],[33,5],[26],[32,4],[32,5],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,6],[26],[68,10],[16,1],[32,4],[68,1],[99],[4,64],[68,0],[34,4],[65,128,1],[33,5],[26],[5],...number(allocPage(_,'bytestring: __JSON_stringify/spaceStr','i8'),124),[34,7],[252,3],[34,9],[68,0],[34,8],[252,3],[54,1,0],[68,0],[33,10],[3,64],[32,10],[32,4],[99],[4,64],[32,7],[65,195,1],[68,32],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[33,6],[26],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,7],[34,4],[65,195,1],[33,5],[26],[11],[5],[32,5],[184],[68,128],[16,builtin('f64_|')],[68,195],[97],[32,5],[184],[68,39],[97],[114],[4,64],[32,4],[252,3],[40,1,0],[184],[34,11],[68,0],[97],[4,64],[68,0],[34,4],[65,128,1],[33,5],[26],[5],[32,11],[68,10],[100],[4,64],[32,4],[33,12],[32,5],[33,13],[32,5],[33,14],[2,124],...t([21],()=>[[32,14],[65,21],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__ArrayBuffer_prototype_slice')],[33,6],[12,1],[11]]),...t([22],()=>[[32,14],[65,22],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__SharedArrayBuffer_prototype_slice')],[33,6],[12,1],[11]]),...t([39],()=>[[32,14],[65,39],[70],[4,64],[32,12],[252,2],[32,13],[65,0],[65,1],[65,10],[65,1],[16,builtin('__String_prototype_slice')],[33,6],[183],[12,1],[11]]),...t([67],()=>[[32,14],[65,195,0],[70],[4,64],[32,12],[252,2],[32,13],[65,0],[65,1],[65,10],[65,1],[16,builtin('__String_prototype_slice')],[33,6],[183],[12,1],[11]]),...t([80],()=>[[32,14],[65,208,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Array_prototype_slice')],[33,6],[12,1],[11]]),...t([88],()=>[[32,14],[65,216,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint8Array_prototype_slice')],[33,6],[12,1],[11]]),...t([89],()=>[[32,14],[65,217,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int8Array_prototype_slice')],[33,6],[12,1],[11]]),...t([90],()=>[[32,14],[65,218,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint8ClampedArray_prototype_slice')],[33,6],[12,1],[11]]),...t([91],()=>[[32,14],[65,219,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint16Array_prototype_slice')],[33,6],[12,1],[11]]),...t([92],()=>[[32,14],[65,220,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int16Array_prototype_slice')],[33,6],[12,1],[11]]),...t([93],()=>[[32,14],[65,221,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([94],()=>[[32,14],[65,222,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([95],()=>[[32,14],[65,223,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Float32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([96],()=>[[32,14],[65,224,0],[70],[4,64],[32,12],[32,13],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Float64Array_prototype_slice')],[33,6],[12,1],[11]]),...t([195],()=>[[32,14],[65,195,1],[70],[4,64],[32,12],[252,2],[32,13],[65,0],[65,1],[65,10],[65,1],[16,builtin('__ByteString_prototype_slice')],[33,6],[183],[12,1],[11]]),...internalThrow(_,'TypeError',`'slice' proto func tried to be called on a type without an impl`),[68,0],[11],[34,4],[32,6],[33,5],[26],[11],[11],[5],[68,0],[34,4],[65,128,1],[33,5],[26],[11],[11],[11],[32,0],[32,1],[68,0],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[34,6],[15]],
1823
1823
  params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
1824
- locals:[127],localNames:["value","value#type","replacer","replacer#type","space","space#type","#last_type"],
1824
+ locals:[127,124,124,127,124,124,124,127,127],localNames:["value","value#type","replacer","replacer#type","space","space#type","#last_type","spaceStr","__length_setter_tmp","__member_setter_ptr_tmp","i","len","#proto_target","#proto_target#type","#typeswitch_tmp1"],
1825
+ usedTypes:[195],
1826
+ usesTag:1,
1825
1827
  }
1826
1828
  this.__Math_exp = {
1827
1829
  wasm:(_,{builtin})=>[[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[68,"Infinity"],[154],[97],[4,64],[68,0],[65,1],[15],[11],[32,0],[65,1],[15],[11],[32,0],[68,0],[99],[4,64],[68,1],[32,0],[154],[65,1],[16,builtin('__Math_exp')],[33,2],[163],[65,1],[15],[11],[32,0],[68,0.6931471805599453],[163],[16,builtin('__Math_floor')],[33,3],[32,0],[32,3],[68,0.6931471805599453],[162],[161],[34,4],[33,5],[68,1],[32,4],[160],[33,6],[68,2],[33,7],[3,64],[32,5],[16,builtin('__Math_abs')],[68,1e-15],[100],[4,64],[32,5],[32,4],[32,7],[163],[162],[33,5],[32,6],[32,5],[160],[33,6],[32,7],[68,1],[160],[33,7],[12,1],[11],[11],[3,64],[32,3],[32,3],[68,1],[161],[33,3],[68,0],[100],[4,64],[32,6],[68,2],[162],[33,6],[12,1],[11],[11],[32,6],[65,1],[15]],
@@ -4839,8 +4839,6 @@ const generateTry = (scope, decl) => {
4839
4839
  out.push(...finalizer);
4840
4840
 
4841
4841
  if (decl.handler) {
4842
- // todo: allow catching error values
4843
- // todo: when we can do that, allow destructuring error values
4844
4842
  depth.pop();
4845
4843
  depth.push('catch');
4846
4844
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4
- "version": "0.47.4",
4
+ "version": "0.47.5",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runner/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.47.4';
3
+ globalThis.version = '0.47.5';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {