Fix a problem jeffc noticed

llvm-svn: 22903
This commit is contained in:
Chris Lattner 2005-08-19 06:16:04 +00:00
parent d1f22b1282
commit 0899614152
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
NumOps = Rec->getValueAsInt("NumMIOperands");
} else if (Rec->getName() == "variable_ops") {
hasVariableNumberOfOperands = true;
continue;
} else
throw "Unknown operand class '" + Rec->getName() +
"' in instruction '" + R->getName() + "' instruction!";