renaming instruction "type" to "class"

This commit is contained in:
Vern Paxson 2024-06-06 17:19:43 -04:00
parent 93946c7d5d
commit c0eada4187
5 changed files with 15 additions and 5 deletions

View file

@ -303,7 +303,7 @@ bool ZAMCompiler::PruneUnused() {
if ( assignmentless_op.count(inst->op) == 0 )
reporter->InternalError("inconsistency in re-flavoring instruction with side effects");
inst->op_type = assignmentless_op_type[inst->op];
inst->op_type = assignmentless_op_class[inst->op];
inst->op = assignmentless_op[inst->op];
inst->v1 = inst->v2;