Remove registers from cranelift-codegen-meta
This commit is contained in:
@@ -1,18 +1,12 @@
|
||||
use crate::cdsl::regs::IsaRegs;
|
||||
use crate::cdsl::settings::SettingGroup;
|
||||
|
||||
pub(crate) struct TargetIsa {
|
||||
pub name: &'static str,
|
||||
pub settings: SettingGroup,
|
||||
pub regs: IsaRegs,
|
||||
}
|
||||
|
||||
impl TargetIsa {
|
||||
pub fn new(name: &'static str, settings: SettingGroup, regs: IsaRegs) -> Self {
|
||||
Self {
|
||||
name,
|
||||
settings,
|
||||
regs,
|
||||
}
|
||||
pub fn new(name: &'static str, settings: SettingGroup) -> Self {
|
||||
Self { name, settings }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user