[llvm-commits] [llvm] r77871 - in /llvm/trunk/lib/Target/MSP430: MSP430TargetAsmInfo.cpp MSP430TargetAsmInfo.h MSP430TargetMachine.cpp
Chris Lattner
sabre at nondot.org
Sat Aug 1 21:45:23 PDT 2009
Author: lattner
Date: Sat Aug 1 23:45:22 2009
New Revision: 77871
URL: http://llvm.org/viewvc/llvm-project?rev=77871&view=rev
Log:
MSP430 TAI doesn't need TM.
Modified:
llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.cpp
llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.h
llvm/trunk/lib/Target/MSP430/MSP430TargetMachine.cpp
Modified: llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.cpp?rev=77871&r1=77870&r2=77871&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.cpp Sat Aug 1 23:45:22 2009
@@ -14,6 +14,6 @@
#include "MSP430TargetAsmInfo.h"
using namespace llvm;
-MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) {
+MSP430TargetAsmInfo::MSP430TargetAsmInfo() {
AlignmentIsInBytes = false;
}
Modified: llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.h?rev=77871&r1=77870&r2=77871&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430TargetAsmInfo.h Sat Aug 1 23:45:22 2009
@@ -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
Modified: llvm/trunk/lib/Target/MSP430/MSP430TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430TargetMachine.cpp?rev=77871&r1=77870&r2=77871&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430TargetMachine.cpp Sat Aug 1 23:45:22 2009
@@ -31,7 +31,7 @@
FrameInfo(TargetFrameInfo::StackGrowsDown, 2, -2) { }
const TargetAsmInfo *MSP430TargetMachine::createTargetAsmInfo() const {
- return new MSP430TargetAsmInfo(*this);
+ return new MSP430TargetAsmInfo();
}
bool MSP430TargetMachine::addInstSelector(PassManagerBase &PM,
More information about the llvm-commits
mailing list