From c36c9bdb5d926409496ab7b00d0d743335e2ee85 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 26 Aug 2005 20:17:00 +0000 Subject: [PATCH] add a marker at the end of the instruction enum list llvm-svn: 23090 --- llvm/utils/TableGen/InstrInfoEmitter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index 53c15a5f3677..57f776f4ebef 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/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";