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 53c15a5..57f776f 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -40,6 +40,7 @@
     OS << "    " << NumberedInstructions[i]->TheDef->getName()
        << ", \t// " << i << "\n";
   }
+  OS << "    INSTRUCTION_LIST_END\n";
   OS << "  };\n";
   if (!Namespace.empty())
     OS << "}\n";