Corrected the compilation error by making the ValOperator class a friend of
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Mon, 13 Aug 2001 16:54:48 +0000 (16:54 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Mon, 13 Aug 2001 16:54:48 +0000 (16:54 +0000)
MachineOperand class - Ruchira

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 5d968c3d36880fe720b33558ff117b9b581079f3..83c29ed9396d014b3b32cf9680e79b87a7e07a34 100644 (file)
@@ -133,8 +133,10 @@ private:
   void                 InitializeReg   (unsigned int regNum);
 
   friend class MachineInstr;
-  friend class MachineInstr::val_op_const_iterator;
-  friend class MachineInstr::val_op_iterator;
+  friend class  ValOpIterator<const MachineInstr, const Value>;
+
+  //friend class MachineInstr::val_op_const_iterator;
+  //friend class MachineInstr::val_op_iterator;
 };