Remove the unused Nullary instruction format.

This format was only used by the trap instruction which has its own
format now.
This commit is contained in:
Jakob Stoklund Olesen
2017-09-20 15:59:13 -07:00
parent e8723be33f
commit 8def91b4ad
6 changed files with 18 additions and 14 deletions

View File

@@ -269,7 +269,6 @@ pub fn write_operands(
let pool = &dfg.value_lists;
use ir::instructions::InstructionData::*;
match dfg[inst] {
Nullary { .. } => write!(w, ""),
Unary { arg, .. } => write!(w, " {}", arg),
UnaryImm { imm, .. } => write!(w, " {}", imm),
UnaryIeee32 { imm, .. } => write!(w, " {}", imm),