Refactor wasm lowlevels to make it easier to add more 128-bit ops

This commit is contained in:
Brian Carroll 2021-11-30 23:54:55 +00:00
parent e6bec46898
commit 72fa6217fb
3 changed files with 350 additions and 237 deletions

View file

@ -135,13 +135,6 @@ impl WasmLayout {
}
}
}
pub fn size(&self) -> u32 {
match self {
Self::Primitive(_, size) => *size,
Self::StackMemory { size, .. } => *size,
}
}
}
#[derive(PartialEq, Eq)]