eliminate the TM argument to the TAI class, remove comment about supporting

solaris :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-02 04:32:07 +00:00
parent ba8e7401fb
commit e6483e3097
3 changed files with 4 additions and 8 deletions

View File

@ -16,7 +16,7 @@
using namespace llvm;
SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM) {
SystemZTargetAsmInfo::SystemZTargetAsmInfo() {
AlignmentIsInBytes = true;
PrivateGlobalPrefix = ".L";

View File

@ -14,15 +14,12 @@
#ifndef SystemZTARGETASMINFO_H
#define SystemZTARGETASMINFO_H
#include "llvm/Target/ELFTargetAsmInfo.h"
#include "llvm/Target/TargetAsmInfo.h"
namespace llvm {
// Forward declaration.
class SystemZTargetMachine;
struct SystemZTargetAsmInfo : public TargetAsmInfo {
explicit SystemZTargetAsmInfo(const SystemZTargetMachine &TM);
explicit SystemZTargetAsmInfo();
};
} // namespace llvm

View File

@ -24,8 +24,7 @@ extern "C" void LLVMInitializeSystemZTarget() {
}
const TargetAsmInfo *SystemZTargetMachine::createTargetAsmInfo() const {
// FIXME: Handle Solaris subtarget someday :)
return new SystemZTargetAsmInfo(*this);
return new SystemZTargetAsmInfo();
}
/// SystemZTargetMachine ctor - Create an ILP64 architecture model