aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 04:45:22 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 04:45:22 +0000
commit68f2b2cdd58d2fee1d76a935d113b6c3b3190567 (patch)
treea18602aa09dfb5a454119eee81eb1553d0f2bf24
parent09e820b07cc5ae52de35d402cd419030dd3765a0 (diff)
downloadexternal_llvm-68f2b2cdd58d2fee1d76a935d113b6c3b3190567.zip
external_llvm-68f2b2cdd58d2fee1d76a935d113b6c3b3190567.tar.gz
external_llvm-68f2b2cdd58d2fee1d76a935d113b6c3b3190567.tar.bz2
MSP430 TAI doesn't need TM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77871 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/MSP430/MSP430TargetAsmInfo.cpp2
-rw-r--r--lib/Target/MSP430/MSP430TargetAsmInfo.h3
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/MSP430/MSP430TargetAsmInfo.cpp b/lib/Target/MSP430/MSP430TargetAsmInfo.cpp
index 8f9f1a2..1aae9f2 100644
--- a/lib/Target/MSP430/MSP430TargetAsmInfo.cpp
+++ b/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/lib/Target/MSP430/MSP430TargetAsmInfo.h b/lib/Target/MSP430/MSP430TargetAsmInfo.h
index d6a20fb..8b4580c 100644
--- a/lib/Target/MSP430/MSP430TargetAsmInfo.h
+++ b/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/lib/Target/MSP430/MSP430TargetMachine.cpp b/lib/Target/MSP430/MSP430TargetMachine.cpp
index d77b26b..6f57003 100644
--- a/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/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,