diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:45:22 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:45:22 +0000 |
| commit | d4c8fd44ee10f9d02672bc53aa36acd5452eb6e6 (patch) | |
| tree | f0336de2fd9cce349dc2a190bfb3a1d497112c7a /llvm/lib | |
| parent | cee28a4c4dd944d11a3336ab8ff782879adde3d0 (diff) | |
| download | bcm5719-llvm-d4c8fd44ee10f9d02672bc53aa36acd5452eb6e6.tar.gz bcm5719-llvm-d4c8fd44ee10f9d02672bc53aa36acd5452eb6e6.zip | |
MSP430 TAI doesn't need TM.
llvm-svn: 77871
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430TargetAsmInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430TargetAsmInfo.h | 3 | ||||
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430TargetMachine.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.cpp b/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.cpp index 8f9f1a20083..1aae9f259d1 100644 --- a/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.cpp +++ b/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.cpp @@ -14,6 +14,6 @@ #include "MSP430TargetAsmInfo.h" using namespace llvm; -MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) { +MSP430TargetAsmInfo::MSP430TargetAsmInfo() { AlignmentIsInBytes = false; } diff --git a/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.h b/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.h index d6a20fbedd6..8b4580c5313 100644 --- a/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.h +++ b/llvm/lib/Target/MSP430/MSP430TargetAsmInfo.h @@ -17,9 +17,8 @@ #include "llvm/Target/TargetAsmInfo.h" namespace llvm { - class TargetMachine; struct MSP430TargetAsmInfo : public TargetAsmInfo { - explicit MSP430TargetAsmInfo(const TargetMachine &TM); + explicit MSP430TargetAsmInfo(); }; } // namespace llvm diff --git a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp index d77b26b56c6..6f57003b541 100644 --- a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp +++ b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp @@ -31,7 +31,7 @@ MSP430TargetMachine::MSP430TargetMachine(const Target &T, FrameInfo(TargetFrameInfo::StackGrowsDown, 2, -2) { } const TargetAsmInfo *MSP430TargetMachine::createTargetAsmInfo() const { - return new MSP430TargetAsmInfo(*this); + return new MSP430TargetAsmInfo(); } bool MSP430TargetMachine::addInstSelector(PassManagerBase &PM, |

