From 9ef4064853a120ce55c10a9645a3544e00ff870e Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Thu, 3 Nov 2022 10:59:24 -0700 Subject: [PATCH] WIP. --- src/ir/module.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ir/module.rs b/src/ir/module.rs index 8d3c1f1..d111bfc 100644 --- a/src/ir/module.rs +++ b/src/ir/module.rs @@ -176,10 +176,10 @@ impl<'a> Module<'a> { pub fn exports<'b>(&'b self) -> impl Iterator + 'b { self.exports.iter() } - pub(crate) fn table_mut<'b>(&'b mut self, table: Table) -> &'b mut TableData { + pub fn table_mut<'b>(&'b mut self, table: Table) -> &'b mut TableData { &mut self.tables[table] } - pub(crate) fn memory_mut<'b>(&'b mut self, memory: Memory) -> &'b mut MemoryData { + pub fn memory_mut<'b>(&'b mut self, memory: Memory) -> &'b mut MemoryData { &mut self.memories[memory] }