mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-16 11:08:09 +00:00
- Remove Value::use_remove
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e5e2edf6a
commit
61d295aa29
@ -91,13 +91,6 @@ void Value::killUse(User *U) {
|
||||
Uses.erase(Uses.begin()+i);
|
||||
}
|
||||
|
||||
User *Value::use_remove(use_iterator &I) {
|
||||
assert(I != Uses.end() && "Trying to remove the end of the use list!!!");
|
||||
User *i = *I;
|
||||
I = Uses.erase(I);
|
||||
return i;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// User Class
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user