Eliminate InstructionFormat.value_operands and .kinds.

Part of the refactoring of instruction formats. This list is now stored
in the instruction itself as value_opnums.
This commit is contained in:
Jakob Stoklund Olesen
2017-03-10 10:25:18 -08:00
parent cdb4cce3dc
commit dcdaeee4af
5 changed files with 14 additions and 15 deletions

View File

@@ -224,7 +224,7 @@ class XForm(object):
ctrl_var = d.defs[inst.value_results[0]]
# Reconcile arguments with the requirements of `inst`.
for opnum in inst.format.value_operands:
for opnum in inst.value_opnums:
inst_tv = inst.ins[opnum].typevar
v = d.expr.args[opnum]
if isinstance(v, Var):