mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-12 22:05:33 +00:00
Removed unnecesary function
This commit is contained in:
parent
96f2440960
commit
80f3bf161e
@ -161,9 +161,6 @@ impl ModuleInfo {
|
||||
grow_memory_extfunc: None,
|
||||
}
|
||||
}
|
||||
pub fn set_current_memory_extfunc(&mut self, func: FuncRef) {
|
||||
self.current_memory_extfunc = Some(func);
|
||||
}
|
||||
}
|
||||
|
||||
/// A data initializer for linear memory.
|
||||
@ -622,7 +619,7 @@ impl<'environment> FuncEnvironmentTrait for FuncEnvironment<'environment> {
|
||||
})
|
||||
});
|
||||
|
||||
// self.mod_info.set_current_memory_extfunc(f);
|
||||
// self.mod_info.current_memory_extfunc = cur_mem_func;
|
||||
|
||||
let vmctx = pos.func.special_param(ArgumentPurpose::VMContext).unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user