mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Register Target's TargetMachine and AsmPrinter in the new registry.
- This abuses TargetMachineRegistry's constructor for now, this will get cleaned up in time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,7 +55,8 @@ namespace {
|
||||
extern "C" int MSILTargetMachineModule;
|
||||
int MSILTargetMachineModule = 0;
|
||||
|
||||
static RegisterTarget<MSILTarget> X("msil", "MSIL backend");
|
||||
extern Target TheMSILTarget;
|
||||
static RegisterTarget<MSILTarget> X(TheMSILTarget, "msil", "MSIL backend");
|
||||
|
||||
// Force static initialization.
|
||||
extern "C" void LLVMInitializeMSILTarget() { }
|
||||
|
Reference in New Issue
Block a user