add a marker at the end of the instruction enum list

llvm-svn: 23090
This commit is contained in:
Chris Lattner 2005-08-26 20:17:00 +00:00
parent bec817ce6f
commit c36c9bdb5d
1 changed files with 1 additions and 0 deletions

View File

@ -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";