[meta] Refactor instruction predicates to distinguish format and type checks;
Also add the instruction format name in format predicates, since they're going to be used when generating encodings.
This commit is contained in:
@@ -449,6 +449,7 @@ impl Apply {
|
||||
continue;
|
||||
}
|
||||
pred = pred.and(InstructionPredicate::new_is_field_equal(
|
||||
iform.name,
|
||||
&format_field,
|
||||
arg.to_rust_code(var_pool),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user