diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
| commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
| tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /lib/Target/MSP430/MSP430TargetMachine.cpp | |
| parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) | |
Notes
Diffstat (limited to 'lib/Target/MSP430/MSP430TargetMachine.cpp')
| -rw-r--r-- | lib/Target/MSP430/MSP430TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430TargetMachine.cpp b/lib/Target/MSP430/MSP430TargetMachine.cpp index b2e698ca5548..bebe5fa35ad4 100644 --- a/lib/Target/MSP430/MSP430TargetMachine.cpp +++ b/lib/Target/MSP430/MSP430TargetMachine.cpp @@ -23,7 +23,7 @@ using namespace llvm; extern "C" void LLVMInitializeMSP430Target() { // Register the target. - RegisterTargetMachine<MSP430TargetMachine> X(TheMSP430Target); + RegisterTargetMachine<MSP430TargetMachine> X(getTheMSP430Target()); } static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { |
