OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6761be
)
slightly increase prettiness.
author
Chris Lattner
<sabre@nondot.org>
Mon, 14 Sep 2009 01:27:50 +0000
(
01:27
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 14 Sep 2009 01:27:50 +0000
(
01:27
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81742
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmWriterEmitter.cpp
b/utils/TableGen/AsmWriterEmitter.cpp
index
9b8325c
..
720abe9
100644
(file)
--- 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 % 1
6
) == 0)
+ if ((i % 1
4
) == 0)
O << "\n ";
O << StringTable.GetOrAddStringOffset(AsmName) << ", ";