[llvm-commits] [llvm] r66229 - in /llvm/trunk/include/llvm/CodeGen: MachineBasicBlock.h MachineInstr.h

Gabor Greif ggreif at gmail.com
Thu Mar 5 17:09:27 PST 2009


Author: ggreif
Date: Thu Mar  5 19:09:27 2009
New Revision: 66229

URL: http://llvm.org/viewvc/llvm-project?rev=66229&view=rev
Log:
do not close friendship with every odd class

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
    llvm/trunk/include/llvm/CodeGen/MachineInstr.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=66229&r1=66228&r2=66229&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Thu Mar  5 19:09:27 2009
@@ -77,7 +77,6 @@
   bool IsLandingPad;
 
   // Intrusive list support
-  friend struct ilist_sentinel_traits<MachineBasicBlock>;
   MachineBasicBlock() {}
 
   explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);

Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineInstr.h?rev=66229&r1=66228&r2=66229&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineInstr.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineInstr.h Thu Mar  5 19:09:27 2009
@@ -55,7 +55,6 @@
   // 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





More information about the llvm-commits mailing list