mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
make helpers generic
This commit is contained in:
parent
11daeb4374
commit
521ccbbb0e
3 changed files with 57 additions and 61 deletions
|
@ -222,7 +222,9 @@ pub enum SymbolStorage<GeneralReg: RegTrait, FloatReg: RegTrait> {
|
|||
},
|
||||
}
|
||||
|
||||
pub trait RegTrait: Copy + Eq + std::hash::Hash + std::fmt::Debug + 'static {}
|
||||
pub trait RegTrait: Copy + Eq + std::hash::Hash + std::fmt::Debug + 'static {
|
||||
fn value(&self) -> u8;
|
||||
}
|
||||
|
||||
pub struct Backend64Bit<
|
||||
'a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue