mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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:
parent
09e820b07c
commit
68f2b2cdd5
@ -14,6 +14,6 @@
|
||||
#include "MSP430TargetAsmInfo.h"
|
||||
using namespace llvm;
|
||||
|
||||
MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) {
|
||||
MSP430TargetAsmInfo::MSP430TargetAsmInfo() {
|
||||
AlignmentIsInBytes = false;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user