diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-26 20:17:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-26 20:17:00 +0000 |
commit | 9fdd6e3f50b7fdafff9aa0e1bac0bd2a78d03d71 (patch) | |
tree | 88451c7fb6c74a911990813b761587b9fd9dcbea | |
parent | 13794f5d01317d76ec698b43bdf1c35eea57eae5 (diff) |
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
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 53c15a5f36..57f776f4eb 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"; |