1
0
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:
Chris Lattner 2003-02-13 19:46:22 +00:00
parent 120d135f05
commit c4affd76ec

View File

@ -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();
}
//===----------------------------------------------------------------------===//