forked from GitHub/haskell-wasm
fix mem arg parsing
This commit is contained in:
1 parent
6a7b82086a
commit
55a6b482ef
2 files changed
+2
-2
No files matched your search
@@ -267,7 +267,7 @@ instance Serialize Index where
|
||||
get = Index <$> getULEB128
|
||||
|
||||
instance Serialize MemArg where
|
||||
put (MemArg offset align) = putULEB128 align >> putULEB128 offset
|
||||
put (MemArg align offset) = putULEB128 align >> putULEB128 offset
|
||||
get = MemArg <$> getULEB128 <*> getULEB128
|
||||
|
||||
instance Serialize Instruction where
|
||||
|
||||
Reference in new issue
Block a user