mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-12 12:33:17 +00:00
do not close friendship with every odd class
llvm-svn: 66229
This commit is contained in:
parent
918955bbc4
commit
37f9a76ed1
@ -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…
x
Reference in New Issue
Block a user