Fix a dead code warning from the new Rust compiler.

On ISAs with no instruction predicates, just emit an unimplemented!()
stub for the check_instp() function. It is unlikely that a finished ISA
will not have any instruction predicates.
This commit is contained in:
Jakob Stoklund Olesen
2017-02-03 11:25:27 -08:00
parent dab96d8ea2
commit 933dfc70c1
5 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
//! Encoding tables for Intel ISAs.
use ir::InstructionData;
use ir::instructions::InstructionFormat;
use ir::types;
use isa::enc_tables::{Level1Entry, Level2Entry};
use isa::constraints::*;