alpha TAI doesn't need TM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-02 04:46:05 +00:00
parent 68f2b2cdd5
commit f67de7a69e
3 changed files with 3 additions and 8 deletions

View File

@ -11,12 +11,10 @@
//
//===----------------------------------------------------------------------===//
#include "AlphaTargetMachine.h"
#include "AlphaTargetAsmInfo.h"
using namespace llvm;
AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) {
AlphaTargetAsmInfo::AlphaTargetAsmInfo() {
AlignmentIsInBytes = false;
PrivateGlobalPrefix = "$";
JumpTableDirective = ".gprel32";

View File

@ -18,11 +18,8 @@
namespace llvm {
// Forward declaration.
class AlphaTargetMachine;
struct AlphaTargetAsmInfo : public TargetAsmInfo {
explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
explicit AlphaTargetAsmInfo();
};
} // namespace llvm

View File

@ -27,7 +27,7 @@ extern "C" void LLVMInitializeAlphaTarget() {
}
const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
return new AlphaTargetAsmInfo(*this);
return new AlphaTargetAsmInfo();
}
AlphaTargetMachine::AlphaTargetMachine(const Target &T, const Module &M,