[RS4GC] Use DenseMap::count() instead of DenseMap::find()/DenseMap::end(). NFC.

llvm-svn: 256586
This commit is contained in:
Manuel Jacob 2015-12-29 22:16:41 +00:00
parent 17968c1f43
commit 0e4a24a44f

View File

@ -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];
}