ADD MORE FUNCTIONS!
[oota-llvm.git] / lib / Analysis / DataStructure / Steensgaard.cpp
index 426795e8bdeee96d694ca9748476fa2e083be09f..cc50571019bb21c6f5d713873e1800c7368e350e 100644 (file)
@@ -63,6 +63,10 @@ namespace {
     // alias - This is the only method here that does anything interesting...
     AliasResult alias(const Value *V1, unsigned V1Size,
                       const Value *V2, unsigned V2Size);
+
+    bool pointsToConstantMemory(const Value *P) {
+      return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
+    }
     
   private:
     void ResolveFunctionCall(Function *F, const DSCallSite &Call,