@@ -301,18 +301,20 @@ export type Store<
301
301
infer address extends MemoryAddress ,
302
302
infer value extends WasmValue ,
303
303
]
304
- ? State . Stack . set <
305
- remaining ,
306
-
307
- instruction [ 'subkind' ] extends 'I32Store' ? StoreAll < address , value , instruction , state > :
308
- instruction [ 'subkind' ] extends 'I32Store8' ? Store8 < address , value , instruction , state > :
309
- instruction [ 'subkind' ] extends 'I32Store16' ? Store16 < address , value , instruction , state > :
310
-
311
- instruction [ 'subkind' ] extends 'I64Store' ? StoreAll < address , value , instruction , state > :
312
- instruction [ 'subkind' ] extends 'I64Store8' ? Store8 < address , value , instruction , state > :
313
- instruction [ 'subkind' ] extends 'I64Store16' ? Store16 < address , value , instruction , state > :
314
- instruction [ 'subkind' ] extends 'I64Store32' ? Store32 < address , value , instruction , state > :
315
- never
304
+ ? State . GarbageCollection . increment <
305
+ State . Stack . set <
306
+ remaining ,
307
+
308
+ instruction [ 'subkind' ] extends 'I32Store' ? StoreAll < address , value , instruction , state > :
309
+ instruction [ 'subkind' ] extends 'I32Store8' ? Store8 < address , value , instruction , state > :
310
+ instruction [ 'subkind' ] extends 'I32Store16' ? Store16 < address , value , instruction , state > :
311
+
312
+ instruction [ 'subkind' ] extends 'I64Store' ? StoreAll < address , value , instruction , state > :
313
+ instruction [ 'subkind' ] extends 'I64Store8' ? Store8 < address , value , instruction , state > :
314
+ instruction [ 'subkind' ] extends 'I64Store16' ? Store16 < address , value , instruction , state > :
315
+ instruction [ 'subkind' ] extends 'I64Store32' ? Store32 < address , value , instruction , state > :
316
+ never
317
+ >
316
318
>
317
319
: State . error < "stack exhausted" , instruction , state >
318
320
>
0 commit comments