File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ class DebugInfoCache {
3030 SmallDenseMap<const DICompileUnit *, DebugInfoFinder> Result;
3131
3232 DebugInfoCache (const Module &M);
33-
34- bool invalidate (Module &, const PreservedAnalyses &,
35- ModuleAnalysisManager::Invalidator &);
3633};
3734
3835class DebugInfoCacheAnalysis
Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ DebugInfoCache::DebugInfoCache(const Module &M) {
3232 }
3333}
3434
35- bool DebugInfoCache::invalidate (Module &M, const PreservedAnalyses &PA,
36- ModuleAnalysisManager::Invalidator &) {
37- // Check whether the analysis has been explicitly invalidated. Otherwise, it's
38- // stateless and remains preserved.
39- auto PAC = PA.getChecker <DebugInfoCacheAnalysis>();
40- return !PAC.preservedWhenStateless ();
41- }
42-
4335AnalysisKey DebugInfoCacheAnalysis::Key;
4436
4537DebugInfoCache DebugInfoCacheAnalysis::run (Module &M, ModuleAnalysisManager &) {
You can’t perform that action at this time.
0 commit comments