mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 05:10:56 +00:00
Put up warning signs around MO::getNextOperandForReg().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161329 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e76c903bd2
commit
4adbe34ad6
@ -302,8 +302,10 @@ public:
|
||||
return !isUndef() && !isInternalRead() && (isUse() || getSubReg());
|
||||
}
|
||||
|
||||
/// getNextOperandForReg - Return the next MachineOperand in the function that
|
||||
/// uses or defines this register.
|
||||
/// getNextOperandForReg - Return the next MachineOperand in the linked list
|
||||
/// of operands that use or define the same register.
|
||||
/// Don't call this function directly, see the def-use iterators in
|
||||
/// MachineRegisterInfo instead.
|
||||
MachineOperand *getNextOperandForReg() const {
|
||||
assert(isReg() && "This is not a register operand!");
|
||||
return Contents.Reg.Next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user