From c3f01e21df1740df29a8fbf30f16dca9bae44711 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 14 Sep 2009 01:27:50 +0000 Subject: [PATCH] slightly increase prettiness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81742 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/AsmWriterEmitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 9b8325c377..720abe9236 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -777,7 +777,7 @@ void AsmWriterEmitter::EmitGetRegisterName(raw_ostream &O) { << " 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 @@ void AsmWriterEmitter::EmitGetRegisterName(raw_ostream &O) { AsmName = Reg.getName(); - if ((i % 16) == 0) + if ((i % 14) == 0) O << "\n "; O << StringTable.GetOrAddStringOffset(AsmName) << ", "; -- 2.11.4.GIT