diff options
-rw-r--r-- | llvm/utils/TableGen/AsmWriterInst.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/utils/TableGen/AsmWriterInst.h b/llvm/utils/TableGen/AsmWriterInst.h index ce3832f9d90..708f23cb5b0 100644 --- a/llvm/utils/TableGen/AsmWriterInst.h +++ b/llvm/utils/TableGen/AsmWriterInst.h @@ -35,16 +35,16 @@ namespace llvm { isLiteralStatementOperand } OperandType; + /// MiOpNo - For isMachineInstrOperand, this is the operand number of the + /// machine instruction. + unsigned MIOpNo; + /// Str - For isLiteralTextOperand, this IS the literal text. For /// isMachineInstrOperand, this is the PrinterMethodName for the operand.. /// For isLiteralStatementOperand, this is the code to insert verbatim /// into the asm writer. std::string Str; - /// MiOpNo - For isMachineInstrOperand, this is the operand number of the - /// machine instruction. - unsigned MIOpNo; - /// MiModifier - For isMachineInstrOperand, this is the modifier string for /// an operand, specified with syntax like ${opname:modifier}. std::string MiModifier; @@ -60,8 +60,7 @@ namespace llvm { unsigned _MIOpNo, const std::string &Modifier, OpType op = isMachineInstrOperand) - : OperandType(op), Str(Printer), MIOpNo(_MIOpNo), - MiModifier(Modifier) {} + : OperandType(op), MIOpNo(_MIOpNo), Str(Printer), MiModifier(Modifier) {} bool operator!=(const AsmWriterOperand &Other) const { if (OperandType != Other.OperandType || Str != Other.Str) return true; |