mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Refactor wasm lowlevels to make it easier to add more 128-bit ops
This commit is contained in:
parent
e6bec46898
commit
72fa6217fb
3 changed files with 350 additions and 237 deletions
|
@ -135,13 +135,6 @@ impl WasmLayout {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn size(&self) -> u32 {
|
||||
match self {
|
||||
Self::Primitive(_, size) => *size,
|
||||
Self::StackMemory { size, .. } => *size,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue