summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-08-09 00:30:39 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-08-09 00:30:39 +0000
commit8e57e8704355dfbda769cc391c81b3f7b7a14d60 (patch)
treeffe53d2efbb713e8c7d77407c52005d305773c56
parent123af098b8780809a409c369d41b28a5ccb95380 (diff)
downloadbcm5719-llvm-8e57e8704355dfbda769cc391c81b3f7b7a14d60.tar.gz
bcm5719-llvm-8e57e8704355dfbda769cc391c81b3f7b7a14d60.zip
MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
about repeated friending. llvm-svn: 161553
-rw-r--r--llvm/include/llvm/CodeGen/MachineOperand.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h
index d3cf090f951..d46101884c7 100644
--- a/llvm/include/llvm/CodeGen/MachineOperand.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud