mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a typo in memdep, which was causing PR1648.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16ebc260bd
commit
0a890e2fb5
@ -425,7 +425,7 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction* rem) {
|
||||
reverseDep.erase(rem);
|
||||
}
|
||||
|
||||
if (depGraphNonLocal.count(rem)) {
|
||||
if (reverseDepNonLocal.count(rem)) {
|
||||
SmallPtrSet<Instruction*, 4>& set = reverseDepNonLocal[rem];
|
||||
for (SmallPtrSet<Instruction*, 4>::iterator I = set.begin(), E = set.end();
|
||||
I != E; ++I)
|
||||
|
Loading…
Reference in New Issue
Block a user