diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:32:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:32:07 +0000 |
commit | 7ee0246f51c91e8b42793302eb157b570b1e43aa (patch) | |
tree | 5c3e5d7e82642ded0a2d087e40c8b7b5a691376a | |
parent | d39874e6ecfeb19b420b0d5116f12facab01de5a (diff) | |
download | bcm5719-llvm-7ee0246f51c91e8b42793302eb157b570b1e43aa.tar.gz bcm5719-llvm-7ee0246f51c91e8b42793302eb157b570b1e43aa.zip |
eliminate the TM argument to the TAI class, remove comment about supporting
solaris :)
llvm-svn: 77865
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.h | 7 | ||||
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp | 3 |
3 files changed, 4 insertions, 8 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp b/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp index 25877f8da8b..6aff8a0d8f8 100644 --- a/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp +++ b/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp @@ -16,7 +16,7 @@ using namespace llvm; -SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM) { +SystemZTargetAsmInfo::SystemZTargetAsmInfo() { AlignmentIsInBytes = true; PrivateGlobalPrefix = ".L"; diff --git a/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.h b/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.h index e7bf8954f64..672524b5b24 100644 --- a/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.h +++ b/llvm/lib/Target/SystemZ/SystemZTargetAsmInfo.h @@ -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 diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp index 8c11a47d1a6..8bebf5b41af 100644 --- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp +++ b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp @@ -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 |