aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};