[llvm-commits] [llvm] r81742 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
Chris Lattner
sabre at nondot.org
Sun Sep 13 18:27:51 PDT 2009
Author: lattner
Date: Sun Sep 13 20:27:50 2009
New Revision: 81742
URL: http://llvm.org/viewvc/llvm-project?rev=81742&view=rev
Log:
slightly increase prettiness.
Modified:
llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp?rev=81742&r1=81741&r2=81742&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp Sun Sep 13 20:27:50 2009
@@ -777,7 +777,7 @@
<< " assert(RegNo && RegNo < " << (Registers.size()+1)
<< " && \"Invalid register number!\");\n"
<< "\n"
- << " static const unsigned RegAsmOffset[] = {\n ";
+ << " static const unsigned RegAsmOffset[] = {";
for (unsigned i = 0, e = Registers.size(); i != e; ++i) {
const CodeGenRegister &Reg = Registers[i];
@@ -786,7 +786,7 @@
AsmName = Reg.getName();
- if ((i % 16) == 0)
+ if ((i % 14) == 0)
O << "\n ";
O << StringTable.GetOrAddStringOffset(AsmName) << ", ";
More information about the llvm-commits
mailing list