do not close friendship with every odd class

llvm-svn: 66229
This commit is contained in:
Gabor Greif 2009-03-06 01:09:27 +00:00
parent 5fd4fc76bf
commit b3805878d1
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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