1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix a problem jeffc noticed

llvm-svn: 22903
This commit is contained in:
Chris Lattner 2005-08-19 06:16:04 +00:00
parent f99748bc0f
commit 5ac318c67b

View File

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