Forgot to include this file in my last commit.
[oota-llvm.git] / include / llvm / Analysis / MemoryDependenceAnalysis.h
index 4428bb65f9f60acd4bd0f313e41d9aa74c75edd1..8679cd9dd86a50519e47dcc206c382e29acee5a0 100644 (file)
@@ -39,7 +39,8 @@ class MemoryDependenceAnalysis : public FunctionPass {
     Instruction* getCallSiteDependency(CallSite C, Instruction* start,
                                        bool local = true);
     bool nonLocalHelper(Instruction* query, BasicBlock* block,
-                        DenseMap<BasicBlock*, Value*>& resp);
+                        DenseMap<BasicBlock*, Value*>& resp,
+                        SmallPtrSet<BasicBlock*, 4>& visited);
   public:
     
     static Instruction* NonLocal;