MSP430 TAI doesn't need TM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-02 04:45:22 +00:00
parent 09e820b07c
commit 68f2b2cdd5
3 changed files with 3 additions and 4 deletions

View File

@ -14,6 +14,6 @@
#include "MSP430TargetAsmInfo.h"
using namespace llvm;
MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) {
MSP430TargetAsmInfo::MSP430TargetAsmInfo() {
AlignmentIsInBytes = false;
}

View File

@ -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

View File

@ -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,