diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-17 15:48:08 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-17 15:48:08 +0000 |
| commit | ee97b8b11c4555fd59b3d0db7b0100298070492d (patch) | |
| tree | 3cc6b7af9c24264d4aee979e5c8d619e5b7d8b1d /llvm/utils | |
| parent | 5906bc105942319fcebe5911e52a3c9e372545bf (diff) | |
| download | bcm5719-llvm-ee97b8b11c4555fd59b3d0db7b0100298070492d.tar.gz bcm5719-llvm-ee97b8b11c4555fd59b3d0db7b0100298070492d.zip | |
the MinPad argument to PadToColumn only really makes sense to be 1,
just remove the argument and replace it with 1.
llvm-svn: 79246
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/TableGen/AsmWriterEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/AsmWriterEmitter.cpp b/llvm/utils/TableGen/AsmWriterEmitter.cpp index 61117c16a31..03eaa7aee32 100644 --- a/llvm/utils/TableGen/AsmWriterEmitter.cpp +++ b/llvm/utils/TableGen/AsmWriterEmitter.cpp @@ -177,7 +177,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, Record *AsmWriter) { CurColumn++ * OperandSpacing; Operands.push_back( AsmWriterOperand("O.PadToColumn(" + - utostr(DestColumn) + ",1);\n", + utostr(DestColumn) + ");\n", AsmWriterOperand::isLiteralStatementOperand)); } break; @@ -211,7 +211,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, Record *AsmWriter) { unsigned DestColumn = FirstOperandColumn + CurColumn++ * OperandSpacing; Operands.push_back( - AsmWriterOperand("O.PadToColumn(" + utostr(DestColumn) + ", 1);\n", + AsmWriterOperand("O.PadToColumn(" + utostr(DestColumn) + ");\n", AsmWriterOperand::isLiteralStatementOperand)); break; } else if (std::string("${|}\\").find(AsmString[DollarPos+1]) |

