summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-26 20:17:00 +0000
committerChris Lattner <sabre@nondot.org>2005-08-26 20:17:00 +0000
commitc36c9bdb5d926409496ab7b00d0d743335e2ee85 (patch)
tree951ba8bc60cab45dc39d984d450fd8c0590299fa /llvm/utils/TableGen/InstrInfoEmitter.cpp
parentbec817ce6fc511003a61cd69a5f9165ab5fc3c9e (diff)
downloadbcm5719-llvm-c36c9bdb5d926409496ab7b00d0d743335e2ee85.tar.gz
bcm5719-llvm-c36c9bdb5d926409496ab7b00d0d743335e2ee85.zip
add a marker at the end of the instruction enum list
llvm-svn: 23090
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/InstrInfoEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp
index 53c15a5f367..57f776f4ebe 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";
OpenPOWER on IntegriCloud