Remove explicit passing of SCC's around as objects.
[oota-llvm.git] / include / llvm / Analysis / MemoryDepAnalysis.h
index 82a0d77761f94f613ba864f6e64c0920df41bd00..f4b96b9907f82db46457bc09619d0dae389081c7 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "llvm/Analysis/DependenceGraph.h"
 #include "llvm/Pass.h"
-#include "Support/TarjanSCCIterator.h"
 #include "Support/hash_map"
 
 class ModRefTable;
@@ -43,7 +42,8 @@ class MemoryDepAnalysis : public Pass {
   const FunctionModRefInfo* funcModRef;
 
   /// Internal routine that processes each SCC of the CFG.
-  void ProcessSCC(SCC<Function*>& S, ModRefTable& ModRefAfter);
+  void ProcessSCC(std::vector<BasicBlock*> &SCC, ModRefTable& ModRefAfter,
+                  bool HasLoop);
 
   friend class PgmDependenceGraph;