mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
do not close friendship with every odd class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67fca63da2
commit
abab81f420
@ -77,7 +77,6 @@ class MachineBasicBlock : public ilist_node<MachineBasicBlock> {
|
||||
bool IsLandingPad;
|
||||
|
||||
// Intrusive list support
|
||||
friend struct ilist_sentinel_traits<MachineBasicBlock>;
|
||||
MachineBasicBlock() {}
|
||||
|
||||
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);
|
||||
|
@ -55,7 +55,6 @@ class MachineInstr : public ilist_node<MachineInstr> {
|
||||
// Intrusive list support
|
||||
friend struct ilist_traits<MachineInstr>;
|
||||
friend struct ilist_traits<MachineBasicBlock>;
|
||||
friend struct ilist_sentinel_traits<MachineInstr>;
|
||||
void setParent(MachineBasicBlock *P) { Parent = P; }
|
||||
|
||||
/// MachineInstr ctor - This constructor creates a copy of the given
|
||||
|
Loading…
Reference in New Issue
Block a user