Add new op_erase method

llvm-svn: 9068
This commit is contained in:
Chris Lattner 2003-10-13 03:29:26 +00:00
parent f7a60cd9fa
commit 3fe0b9646e
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ public:
/// 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);
}
// dropAllReferences() - This function is in charge of "letting go" of all
// objects that this User refers to. This allows one to