Remove subreg index from MachineInstr's and also keep vregs as unsigned when adding operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Christopher Lamb
2007-07-26 07:00:46 +00:00
parent 8245510ae0
commit 6f95014158
3 changed files with 1 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ public:
/// addReg - Add a new virtual register operand...
///
const
MachineInstrBuilder &addReg(int RegNo, bool isDef = false, bool isImp = false,
MachineInstrBuilder &addReg(unsigned RegNo, bool isDef = false, bool isImp = false,
bool isKill = false, bool isDead = false) const {
MI->addRegOperand(RegNo, isDef, isImp, isKill, isDead);
return *this;