Remove clobbers_all_regs
This commit is contained in:
@@ -86,8 +86,6 @@ pub(crate) struct InstructionContent {
|
||||
pub other_side_effects: bool,
|
||||
/// Does this instruction write to CPU flags?
|
||||
pub writes_cpu_flags: bool,
|
||||
/// Should this opcode be considered to clobber all live registers, during regalloc?
|
||||
pub clobbers_all_regs: bool,
|
||||
}
|
||||
|
||||
impl InstructionContent {
|
||||
@@ -150,7 +148,6 @@ pub(crate) struct InstructionBuilder {
|
||||
can_store: bool,
|
||||
can_trap: bool,
|
||||
other_side_effects: bool,
|
||||
clobbers_all_regs: bool,
|
||||
}
|
||||
|
||||
impl InstructionBuilder {
|
||||
@@ -172,7 +169,6 @@ impl InstructionBuilder {
|
||||
can_store: false,
|
||||
can_trap: false,
|
||||
other_side_effects: false,
|
||||
clobbers_all_regs: false,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -298,7 +294,6 @@ impl InstructionBuilder {
|
||||
can_trap: self.can_trap,
|
||||
other_side_effects: self.other_side_effects,
|
||||
writes_cpu_flags,
|
||||
clobbers_all_regs: self.clobbers_all_regs,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user