From: Matt Beaumont-Gay Date: Thu, 9 Aug 2012 00:30:39 +0000 (+0000) Subject: MachineRegisterInfo was already a friend of MachineOperand, and GCC complains X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9bac67657bb158d8649e85494f5999993591b87c;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index d3cf090f951..d46101884c7 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -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.