diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-19 06:16:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-19 06:16:04 +0000 |
commit | bfd4f55202743e0d7008840a28aff4179fa7993f (patch) | |
tree | 004b64e1fb15c79abb4872b24b7aa2daa7fc39c9 /utils/TableGen/CodeGenTarget.cpp | |
parent | a92b7c36e97c22bf528706bfceb568ff512de751 (diff) |
Fix a problem jeffc noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index da6bf8df29..1f698c16d2 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -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!"; |