Remove OpcodeNumber

This commit is contained in:
bjorn3
2021-10-12 14:58:34 +02:00
parent 99114547be
commit 466a446f8c
3 changed files with 11 additions and 23 deletions

View File

@@ -54,7 +54,7 @@ impl Definitions {
// of immediate fields.
let mut format_structures: HashMap<FormatStructure, &InstructionFormat> = HashMap::new();
for inst in self.all_instructions.values() {
for inst in self.all_instructions.iter() {
// Check name.
if let Some(existing_format) = format_names.get(&inst.format.name) {
assert!(