projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d39a0e
)
MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
author
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 9 Aug 2012 00:30:39 +0000
(
00:30
+0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 9 Aug 2012 00:30:39 +0000
(
00:30
+0000)
about repeated friending.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161553
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineOperand.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineOperand.h
b/include/llvm/CodeGen/MachineOperand.h
index d3cf090f9513ac73d890196335f15ddafa71831a..d46101884c7f38a6c53702acb48e22890e5658b0 100644
(file)
--- 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.