mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
@@ -47,7 +47,6 @@ namespace {
|
||||
};
|
||||
}
|
||||
|
||||
extern Target TheMSILTarget;
|
||||
static RegisterTarget<MSILTarget> X(TheMSILTarget, "msil", "MSIL backend");
|
||||
|
||||
// Force static initialization.
|
||||
|
@@ -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
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#include "llvm/Target/TargetRegistry.h"
|
||||
using namespace llvm;
|
||||
|
||||
Target TheMSILTarget;
|
||||
Target llvm::TheMSILTarget;
|
||||
|
||||
static unsigned MSIL_JITMatchQuality() {
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user