[TableGen] Remove unnecessary 0 terminator from an array that only existed to prevent ending an array with a comma. But that's perfectly legal and not something we need to prevent. NFC

llvm-svn: 257314
This commit is contained in:
Craig Topper 2016-01-11 05:13:38 +00:00
parent 8d3685a466
commit 1ab390957c
1 changed files with 0 additions and 4 deletions

View File

@ -398,8 +398,6 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
O << " " << (OpcodeInfo[i] & 0xffffffff) << "U,\t// "
<< NumberedInstructions->at(i)->TheDef->getName() << "\n";
}
// Add a dummy entry so the array init doesn't end with a comma.
O << " 0U\n";
O << " };\n\n";
if (BitsLeft < 32) {
@ -412,8 +410,6 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
O << " " << (OpcodeInfo[i] >> 32) << "U,\t// "
<< NumberedInstructions->at(i)->TheDef->getName() << "\n";
}
// Add a dummy entry so the array init doesn't end with a comma.
O << " 0U\n";
O << " };\n\n";
}