mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
about repeated friending. llvm-svn: 161553
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user