mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
This speeds up processing LLVM a _lot_, 17% in the case of loading and destroying "vortex"
llvm-svn: 5553
This commit is contained in:
parent
120d135f05
commit
c4affd76ec
@ -89,7 +89,8 @@ void Value::killUse(User *U) {
|
||||
/* empty */;
|
||||
|
||||
assert(i < Uses.size() && "Use not in uses list!!");
|
||||
Uses.erase(Uses.begin()+i);
|
||||
Uses[i] = Uses.back();
|
||||
Uses.pop_back();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user