Put Target definitions inside Target specific header, and llvm namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-07-18 23:03:22 +00:00
parent 8ad2f98739
commit 4cb1e13769
55 changed files with 79 additions and 57 deletions

View File

@@ -47,7 +47,6 @@ namespace {
};
}
extern Target TheMSILTarget;
static RegisterTarget<MSILTarget> X(TheMSILTarget, "msil", "MSIL backend");
// Force static initialization.

View File

@@ -30,6 +30,10 @@
#include <ios>
using namespace llvm;
namespace llvm {
extern Target TheMSILTarget;
}
namespace {
class MSILModule : public ModulePass {
@@ -253,6 +257,7 @@ namespace {
void printExternals();
};
}
#endif

View File

@@ -11,7 +11,7 @@
#include "llvm/Target/TargetRegistry.h"
using namespace llvm;
Target TheMSILTarget;
Target llvm::TheMSILTarget;
static unsigned MSIL_JITMatchQuality() {
return 0;