From bfd4f55202743e0d7008840a28aff4179fa7993f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 19 Aug 2005 06:16:04 +0000 Subject: [PATCH] Fix a problem jeffc noticed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22903 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenTarget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index da6bf8df292..1f698c16d24 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!";