diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-02-27 01:50:54 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-02-27 01:50:54 +0100 |
| commit | 83a768d77ac57f5d8e8884173765e0efc80831f4 (patch) | |
| tree | 70684731f7689a1e11eb9728673a09215dc7e375 /crates/parser/src/conversion.rs | |
| parent | e883003b7436708e91d0971b1a8e5f74c8166261 (diff) | |
reduce instruction enum size
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/conversion.rs')
| -rw-r--r-- | crates/parser/src/conversion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/conversion.rs b/crates/parser/src/conversion.rs index 53cceb6..c13d08f 100644 --- a/crates/parser/src/conversion.rs +++ b/crates/parser/src/conversion.rs @@ -226,7 +226,7 @@ pub(crate) fn convert_valtype(valtype: &wasmparser::ValType) -> ValType { } pub(crate) fn convert_memarg(memarg: wasmparser::MemArg) -> MemoryArg { - MemoryArg { offset: memarg.offset, align: memarg.align, align_max: memarg.max_align, mem_addr: memarg.memory } + MemoryArg { offset: memarg.offset, mem_addr: memarg.memory } } pub(crate) fn process_const_operators(ops: OperatorsReader<'_>) -> Result<ConstInstruction> { |
