Remove registers from cranelift-codegen-meta

This commit is contained in:
bjorn3
2021-06-21 12:57:37 +02:00
parent 18bd27e90b
commit 3e4167ba95
9 changed files with 6 additions and 573 deletions

View File

@@ -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 }
}
}