From: Chris Lattner Date: Fri, 26 Aug 2005 20:17:00 +0000 (+0000) Subject: add a marker at the end of the instruction enum list X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9fdd6e3f50b7fdafff9aa0e1bac0bd2a78d03d71;p=oota-llvm.git add a marker at the end of the instruction enum list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23090 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 53c15a5f367..57f776f4ebe 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -40,6 +40,7 @@ void InstrInfoEmitter::runEnums(std::ostream &OS) { OS << " " << NumberedInstructions[i]->TheDef->getName() << ", \t// " << i << "\n"; } + OS << " INSTRUCTION_LIST_END\n"; OS << " };\n"; if (!Namespace.empty()) OS << "}\n";