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 | 7fccbe2ba6b932223655c19f1ae990229dd6799a (patch) | |
tree | 3591dd72f0a788fc5d1b5756d0071db129693328 /lib | |
parent | 361da8a694f14f3e1f2b7612639f94dce1e286d7 (diff) | |
download | external_llvm-7fccbe2ba6b932223655c19f1ae990229dd6799a.tar.gz external_llvm-7fccbe2ba6b932223655c19f1ae990229dd6799a.tar.bz2 external_llvm-7fccbe2ba6b932223655c19f1ae990229dd6799a.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/SystemZ/SystemZTargetAsmInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SystemZ/SystemZTargetAsmInfo.h | 7 | ||||
-rw-r--r-- | lib/Target/SystemZ/SystemZTargetMachine.cpp | 3 |
3 files changed, 4 insertions, 8 deletions
diff --git a/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp b/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp index 25877f8da8..6aff8a0d8f 100644 --- a/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp +++ b/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/lib/Target/SystemZ/SystemZTargetAsmInfo.h b/lib/Target/SystemZ/SystemZTargetAsmInfo.h index e7bf8954f6..672524b5b2 100644 --- a/lib/Target/SystemZ/SystemZTargetAsmInfo.h +++ b/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/lib/Target/SystemZ/SystemZTargetMachine.cpp b/lib/Target/SystemZ/SystemZTargetMachine.cpp index 8c11a47d1a..8bebf5b41a 100644 --- a/lib/Target/SystemZ/SystemZTargetMachine.cpp +++ b/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 |