MachineRegisterInfo was already a friend of MachineOperand, and GCC complains

about repeated friending.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Beaumont-Gay 2012-08-09 00:30:39 +00:00
parent 2d39a0e52d
commit 9bac67657b

View File

@ -138,9 +138,6 @@ private:
/// This is valid for all operand types, when the operand is in an instr. /// This is valid for all operand types, when the operand is in an instr.
MachineInstr *ParentMI; MachineInstr *ParentMI;
// MRI accesses Contents.Reg directly.
friend class MachineRegisterInfo;
/// Contents union - This contains the payload for the various operand types. /// Contents union - This contains the payload for the various operand types.
union { union {
MachineBasicBlock *MBB; // For MO_MachineBasicBlock. MachineBasicBlock *MBB; // For MO_MachineBasicBlock.