forked from OSchip/llvm-project
[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:
parent
8d3685a466
commit
1ab390957c
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue