mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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:
parent
4826a0786d
commit
ce91ec9ae6
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user