[llvm-commits] [llvm] r161553 - /llvm/trunk/include/llvm/CodeGen/MachineOperand.h
Matt Beaumont-Gay
matthewbg at google.com
Wed Aug 8 17:30:39 PDT 2012
Author: matthewbg
Date: Wed Aug 8 19:30:39 2012
New Revision: 161553
URL: http://llvm.org/viewvc/llvm-project?rev=161553&view=rev
Log:
MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
about repeated friending.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineOperand.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineOperand.h?rev=161553&r1=161552&r2=161553&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineOperand.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineOperand.h Wed Aug 8 19:30:39 2012
@@ -138,9 +138,6 @@
/// 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.
More information about the llvm-commits
mailing list