Remove redundant assignment.
[oota-llvm.git] / lib / Analysis / MemoryDependenceAnalysis.cpp
index ad7242136bbb7ca3ca596e4d36f7972617ba6218..881a25655406cbf2a431b2d88c6ec417e3525f7f 100644 (file)
@@ -1145,7 +1145,6 @@ getNonLocalPointerDepFromBB(const PHITransAddr &Pointer,
       // cache value will only see properly sorted cache arrays.
       if (Cache && NumSortedEntries != Cache->size()) {
         SortNonLocalDepInfoCache(*Cache, NumSortedEntries);
-        NumSortedEntries = Cache->size();
       }
       // Since we bail out, the "Cache" set won't contain all of the
       // results for the query.  This is ok (we can still use it to accelerate