From cc3a0dbb85ee9ca3c694ee6de96bcb3b72f8dd6c Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Mon, 13 Aug 2001 16:54:48 +0000 Subject: [PATCH] Corrected the compilation error by making the ValOperator class a friend of 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 5d968c3d368..83c29ed9396 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -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; + + //friend class MachineInstr::val_op_const_iterator; + //friend class MachineInstr::val_op_iterator; };