From 666c7f59301acc9fcef10ac2da5beb464e57d665 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 10 Aug 2026 15:22:56 +0200 Subject: chore: simplify runtime and clean up tests Signed-off-by: Henry --- crates/parser/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/parser/src/macros.rs') diff --git a/crates/parser/src/macros.rs b/crates/parser/src/macros.rs index 98312ab..9fa7a01 100644 --- a/crates/parser/src/macros.rs +++ b/crates/parser/src/macros.rs @@ -89,7 +89,7 @@ pub(crate) mod visit { $visit:ident($type_index:ident: $type_ty:ty $(, $arg:ident: $arg_ty:ty)*) => $instr:ident ) => { fn $visit(&mut self, $type_index: $type_ty $(, $arg: $arg_ty)*) -> Self::Output { - let size = ModuleMetadata::storage_size(self.metadata.array_field($type_index)?.storage); + let size = self.metadata.array_field($type_index)?; lowering_ops!(@emit self address(size) [$($input),*] => [$($output),*] Instruction::$instr($type_index $(, $arg)*).into()) } -- cgit v1.3.1