mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-10 13:48:44 +00:00
This speeds up processing LLVM a _lot_, 17% in the case of loading and destroying "vortex"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Reference in New Issue
Block a user