parse memory instructions

This commit is contained in:
Ilya Rezvov
2022-06-10 22:29:31 -06:00
parent 32392dcc29
commit 2bf6e88072
7 changed files with 73 additions and 30 deletions
+6 -2
View File
@@ -178,8 +178,12 @@ data Instruction index =
| I64Store8 MemArg
| I64Store16 MemArg
| I64Store32 MemArg
| CurrentMemory
| GrowMemory
| MemorySize
| MemoryGrow
| MemoryFill
| MemoryCopy
| MemoryInit DataIndex
| DataDrop DataIndex
-- Table instructions
| TableInit TableIndex ElemIndex
| TableGrow TableIndex