MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
[oota-llvm.git] / include / llvm / CodeGen / MachineOperand.h
index d3cf090f9513ac73d890196335f15ddafa71831a..d46101884c7f38a6c53702acb48e22890e5658b0 100644 (file)
@@ -138,9 +138,6 @@ private:
   /// This is valid for all operand types, when the operand is in an instr.
   MachineInstr *ParentMI;
 
-  // MRI accesses Contents.Reg directly.
-  friend class MachineRegisterInfo;
-
   /// Contents union - This contains the payload for the various operand types.
   union {
     MachineBasicBlock *MBB;   // For MO_MachineBasicBlock.