From: Chris Lattner Date: Fri, 19 Aug 2005 06:16:04 +0000 (+0000) Subject: Fix a problem jeffc noticed X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bfd4f55202743e0d7008840a28aff4179fa7993f;p=oota-llvm.git Fix a problem jeffc noticed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22903 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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!";