refactor: remove unused field
PR #3131 fixed the failing builds by allowing this field to be dead. After looking at it further the field is not being used and can be removedi completely.
This commit is contained in:
@@ -2,7 +2,7 @@ use std::collections::HashSet;
|
||||
use std::iter::FromIterator;
|
||||
|
||||
use crate::cdsl::cpu_modes::CpuMode;
|
||||
use crate::cdsl::instructions::{InstructionGroup, InstructionPredicateMap};
|
||||
use crate::cdsl::instructions::InstructionPredicateMap;
|
||||
use crate::cdsl::recipes::Recipes;
|
||||
use crate::cdsl::regs::IsaRegs;
|
||||
use crate::cdsl::settings::SettingGroup;
|
||||
@@ -10,8 +10,6 @@ use crate::cdsl::xform::{TransformGroupIndex, TransformGroups};
|
||||
|
||||
pub(crate) struct TargetIsa {
|
||||
pub name: &'static str,
|
||||
#[allow(dead_code)]
|
||||
pub instructions: InstructionGroup,
|
||||
pub settings: SettingGroup,
|
||||
pub regs: IsaRegs,
|
||||
pub recipes: Recipes,
|
||||
@@ -27,7 +25,6 @@ pub(crate) struct TargetIsa {
|
||||
impl TargetIsa {
|
||||
pub fn new(
|
||||
name: &'static str,
|
||||
instructions: InstructionGroup,
|
||||
settings: SettingGroup,
|
||||
regs: IsaRegs,
|
||||
recipes: Recipes,
|
||||
@@ -52,7 +49,6 @@ impl TargetIsa {
|
||||
|
||||
Self {
|
||||
name,
|
||||
instructions,
|
||||
settings,
|
||||
regs,
|
||||
recipes,
|
||||
|
||||
Reference in New Issue
Block a user