summaryrefslogtreecommitdiff
path: root/crates/types/src
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-01-07 00:30:17 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-01-07 00:30:17 +0100
commitf13e225192dd8294b48bcb429f09769055a4d973 (patch)
tree8e50ac21da7988371c906817ea4699bb7726e80d /crates/types/src
parentb87eea6fcfc3f319b7db0c10eafed45012538634 (diff)
feat: basic i32 loads/stores
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/types/src')
-rw-r--r--crates/types/src/instructions.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/types/src/instructions.rs b/crates/types/src/instructions.rs
index 535b727..01c5b6e 100644
--- a/crates/types/src/instructions.rs
+++ b/crates/types/src/instructions.rs
@@ -12,7 +12,9 @@ pub enum BlockArgs {
/// Represents a memory immediate in a WebAssembly memory instruction.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct MemArg {
+ pub mem_addr: MemAddr,
pub align: u8,
+ pub align_max: u8,
pub offset: u64,
}