diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-04-09 04:34:03 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-04-09 04:34:03 +0000 |
commit | 406f2701488f9752413891de46fca40a6766d09c (patch) | |
tree | 93287195b7c9d47a736f9faafa949c79b8c05b0e /llvm | |
parent | 55ddc30f0744565cb442c96cce5caaf3ff9df9d8 (diff) | |
download | bcm5719-llvm-406f2701488f9752413891de46fca40a6766d09c.tar.gz bcm5719-llvm-406f2701488f9752413891de46fca40a6766d09c.zip |
Fix up some comments.
llvm-svn: 100849
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 9f03b5bac70..9c38fa9fbc7 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -411,10 +411,9 @@ void MachineInstr::addImplicitDefUseOperands() { addOperand(MachineOperand::CreateReg(*ImpUses, false, true)); } -/// MachineInstr ctor - This constructor create a MachineInstr and add the -/// implicit operands. It reserves space for number of operands specified by -/// TargetInstrDesc or the numOperands if it is not zero. (for -/// instructions with variable number of operands). +/// MachineInstr ctor - This constructor creates a MachineInstr and adds the +/// implicit operands. It reserves space for the number of operands specified by +/// the TargetInstrDesc. MachineInstr::MachineInstr(const TargetInstrDesc &tid, bool NoImp) : TID(&tid), NumImplicitOps(0), AsmPrinterFlags(0), MemRefs(0), MemRefsEnd(0), Parent(0) { @@ -452,7 +451,6 @@ MachineInstr::MachineInstr(const TargetInstrDesc &tid, const DebugLoc dl, /// MachineInstr ctor - Work exactly the same as the ctor two above, except /// that the MachineInstr is created and added to the end of the specified /// basic block. -/// MachineInstr::MachineInstr(MachineBasicBlock *MBB, const TargetInstrDesc &tid) : TID(&tid), NumImplicitOps(0), AsmPrinterFlags(0), MemRefs(0), MemRefsEnd(0), Parent(0) { |