- inline op_iterator op_begin() { return Operands.begin(); }
- inline const_op_iterator op_begin() const { return Operands.begin(); }
- inline op_iterator op_end() { return Operands.end(); }
- inline const_op_iterator op_end() const { return Operands.end(); }
-
- /// op_erase - This method is used to remove one of the arguments from the
- /// operands list. Only use this if you know what you are doing.
- ///
- op_iterator op_erase(op_iterator I) { return Operands.erase(I); }
- op_iterator op_erase(op_iterator I, op_iterator E) {
- return Operands.erase(I, E);
- }
+ inline op_iterator op_begin() { return OperandList; }
+ inline const_op_iterator op_begin() const { return OperandList; }
+ inline op_iterator op_end() { return OperandList+NumOperands; }
+ inline const_op_iterator op_end() const { return OperandList+NumOperands; }