[PM] Get rid of an unused variable in AnalysisManager::clear(IRUnitT&).
authorJustin Lebar <jlebar@google.com>
Sat, 3 Dec 2016 19:49:31 +0000 (19:49 +0000)
committerJustin Lebar <jlebar@google.com>
Sat, 3 Dec 2016 19:49:31 +0000 (19:49 +0000)
Reviewers: chandlerc

Subscribers: silvas, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D27373

llvm-svn: 288597

llvm/include/llvm/IR/PassManager.h

index ccc35d0..92e2997 100644 (file)
@@ -469,9 +469,6 @@ public:
     if (DebugLogging)
       dbgs() << "Clearing all analysis results for: " << IR.getName() << "\n";
 
-    // Clear all the invalidated results associated specifically with this
-    // function.
-    SmallVector<AnalysisKey *, 8> InvalidatedIDs;
     auto ResultsListI = AnalysisResultLists.find(&IR);
     if (ResultsListI == AnalysisResultLists.end())
       return;