Fill in the numOperands field of the TargetInstrDescriptor struct from the

.td file.

llvm-svn: 22873
This commit is contained in:
Chris Lattner 2005-08-18 19:45:37 +00:00
parent 35ca73d335
commit 6f52a04fc7
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
OS << Inst.TheDef->getName();
else
OS << Inst.Name;
OS << "\",\t-1, -1, 0, false, 0, 0, 0, 0";
OS << "\",\t" << Inst.OperandList.size() << ", -1, 0, false, 0, 0, 0, 0";
// Emit all of the target indepedent flags...
if (Inst.isReturn) OS << "|M_RET_FLAG";