fix(clif-backend) Module::new does not use its argument.

The `Module::new` method requires an argument (`wasm: &[u8]`) that is
never used.

This patch removes the argument, and updates the code accordingly.
This commit is contained in:
Ivan Enderlin
2019-03-04 14:03:07 +01:00
parent 0c62693163
commit 5744f6896f
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ pub struct Module {
}
impl Module {
pub fn new(wasm: &[u8]) -> Self {
pub fn new() -> Self {
Self {
info: ModuleInfo {
memories: Map::new(),