Remove explicit passing of SCC's around as objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-31 19:46:48 +00:00
parent 0c6a271d91
commit fe8d8806f7
3 changed files with 12 additions and 14 deletions

View 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;