1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix a namespace issue, reported by Vladimir Merzliakov!

llvm-svn: 21115
This commit is contained in:
Chris Lattner 2005-04-06 19:45:39 +00:00
parent 5fa854a7fe
commit 7c0786dda8

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