mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +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 "DependenceAnalyzer.h"
|
||||||
#include "llvm/Type.h"
|
#include "llvm/Type.h"
|
||||||
#include "llvm/Support/Debug.h"
|
#include "llvm/Support/Debug.h"
|
||||||
|
using namespace llvm;
|
||||||
namespace llvm {
|
|
||||||
|
|
||||||
|
|
||||||
/// Create ModuloSchedulingPass
|
/// Create ModuloSchedulingPass
|
||||||
///
|
///
|
||||||
FunctionPass *llvm::createDependenceAnalyzer() {
|
namespace llvm {
|
||||||
|
FunctionPass *createDependenceAnalyzer() {
|
||||||
return new DependenceAnalyzer();
|
return new DependenceAnalyzer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DependenceAnalyzer::runOnFunction(Function &F) {
|
bool DependenceAnalyzer::runOnFunction(Function &F) {
|
||||||
@ -105,6 +106,4 @@ FunctionPass *llvm::createDependenceAnalyzer() {
|
|||||||
DependenceResult dr = DependenceResult(deps);
|
DependenceResult dr = DependenceResult(deps);
|
||||||
return dr;
|
return dr;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user