Do not try to override non-virtual methods, especially
authorDuncan Sands <baldrick@free.fr>
Sun, 6 Sep 2009 20:02:00 +0000 (20:02 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 6 Sep 2009 20:02:00 +0000 (20:02 +0000)
when the new method gives the same result as the original
(as far as I can see).  This will hopefully pacify icc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81131 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/AliasAnalysisCounter.cpp

index 06827ae453370da95a76e136585a02aa53b49894..272c871ce239a3be812a4aee841d846868282939 100644 (file)
@@ -90,19 +90,6 @@ namespace {
     bool pointsToConstantMemory(const Value *P) {
       return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
     }
-    bool doesNotAccessMemory(CallSite CS) {
-      return getAnalysis<AliasAnalysis>().doesNotAccessMemory(CS);
-    }
-    bool doesNotAccessMemory(Function *F) {
-      return getAnalysis<AliasAnalysis>().doesNotAccessMemory(F);
-    }
-    bool onlyReadsMemory(CallSite CS) {
-      return getAnalysis<AliasAnalysis>().onlyReadsMemory(CS);
-    }
-    bool onlyReadsMemory(Function *F) {
-      return getAnalysis<AliasAnalysis>().onlyReadsMemory(F);
-    }
-
 
     // Forwarding functions: just delegate to a real AA implementation, counting
     // the number of responses...