mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 18:27:59 +00:00
[RS4GC] Use DenseMap::count() instead of DenseMap::find()/DenseMap::end(). NFC.
llvm-svn: 256586
This commit is contained in:
parent
17968c1f43
commit
0e4a24a44f
@ -1140,7 +1140,7 @@ static Value *findBasePointer(Value *I, DefiningValueMapTy &cache) {
|
||||
}
|
||||
cache[BDV] = base;
|
||||
}
|
||||
assert(cache.find(def) != cache.end());
|
||||
assert(cache.count(def));
|
||||
return cache[def];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user