mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 17:32:36 +00:00
API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d514d8294d
commit
ac930048d6
@ -634,7 +634,7 @@ void CEE::ReplaceUsesOfValueInRegion(Value *Orig, Value *New,
|
||||
assert(Orig != New && "Cannot replace value with itself");
|
||||
std::vector<Instruction*> InstsToChange;
|
||||
std::vector<PHINode*> PHIsToChange;
|
||||
InstsToChange.reserve(Orig->use_size());
|
||||
InstsToChange.reserve(Orig->getNumUses());
|
||||
|
||||
// Loop over instructions adding them to InstsToChange vector, this allows us
|
||||
// an easy way to avoid invalidating the use_iterator at a bad time.
|
||||
|
Loading…
x
Reference in New Issue
Block a user