[llvm-commits] [llvm] r78431 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
Chris Lattner
clattner at apple.com
Fri Aug 7 16:46:12 PDT 2009
On Aug 7, 2009, at 4:37 PM, Benjamin Kramer wrote:
> Author: d0k
> Date: Fri Aug 7 18:37:47 2009
> New Revision: 78431
>
> URL: http://llvm.org/viewvc/llvm-project?rev=78431&view=rev
> Log:
> Unbreak build.
doh, sorry. I tested with g++-4.0 which allows that. :( Thanks!
-Chris
>
> 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=78431&r1=78430&r2=78431&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp (original)
> +++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp Fri Aug 7
> 18:37:47 2009
> @@ -169,15 +169,15 @@
> // magic.
> if (FirstOperandColumn == -1 || OperandSpacing == -1) {
> AddLiteralString("\\t");
> - break;
> + } else {
> + // We recognize a tab as an operand delimeter.
> + unsigned DestColumn = FirstOperandColumn +
> + CurColumn++ * OperandSpacing;
> + Operands.push_back(
> + AsmWriterOperand("O.PadToColumn(" +
> + utostr(DestColumn) + ",1);\n",
> +
> AsmWriterOperand::isLiteralStatementOperand));
> }
> -
> - // We recognize a tab as an operand delimeter.
> - unsigned DestColumn = FirstOperandColumn +
> - CurColumn++ * OperandSpacing;
> - Operands.push_back(
> - AsmWriterOperand("O.PadToColumn(" +
> utostr(DestColumn) + ",1);\n",
> -
> AsmWriterOperand::isLiteralStatementOperand));
> break;
> case '"':
> AddLiteralString("\\\"");
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list