aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-08-13 16:54:48 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-08-13 16:54:48 +0000
commitcc3a0dbb85ee9ca3c694ee6de96bcb3b72f8dd6c (patch)
treeb3104565adba9160c1d81038a1d176e4589cb8d7
parent149977b48a02735861697d5b4df1fe5a8592245f (diff)
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
-rw-r--r--include/llvm/CodeGen/MachineInstr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 5d968c3d36..83c29ed939 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<const MachineInstr, const Value>;
+
+ //friend class MachineInstr::val_op_const_iterator;
+ //friend class MachineInstr::val_op_iterator;
};