diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-09 00:30:39 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-09 00:30:39 +0000 |
commit | 9bac67657bb158d8649e85494f5999993591b87c (patch) | |
tree | 90c1e5733caa7995617631ec02efe68b6245ee27 | |
parent | 2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3 (diff) | |
download | llvm-9bac67657bb158d8649e85494f5999993591b87c.tar.gz llvm-9bac67657bb158d8649e85494f5999993591b87c.tar.bz2 llvm-9bac67657bb158d8649e85494f5999993591b87c.tar.xz |
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
-rw-r--r-- | include/llvm/CodeGen/MachineOperand.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index d3cf090f95..d46101884c 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. |