Fix a namespace issue, reported by Vladimir Merzliakov!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-04-06 19:45:39 +00:00
parent 4826a0786d
commit ce91ec9ae6

View File

@ -16,14 +16,15 @@
#include "DependenceAnalyzer.h"
#include "llvm/Type.h"
#include "llvm/Support/Debug.h"
namespace llvm {
using namespace llvm;
/// Create ModuloSchedulingPass
///
FunctionPass *llvm::createDependenceAnalyzer() {
namespace llvm {
FunctionPass *createDependenceAnalyzer() {
return new DependenceAnalyzer();
}
}
bool DependenceAnalyzer::runOnFunction(Function &F) {
@ -105,6 +106,4 @@ FunctionPass *llvm::createDependenceAnalyzer() {
DependenceResult dr = DependenceResult(deps);
return dr;
}
}