eliminate the TM argument to the TAI class, remove comment about supporting
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:32:07 +0000 (04:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:32:07 +0000 (04:32 +0000)
solaris :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77865 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZTargetAsmInfo.cpp
lib/Target/SystemZ/SystemZTargetAsmInfo.h
lib/Target/SystemZ/SystemZTargetMachine.cpp

index 25877f8da8bf736a34cb2887e2cbe7d89f0a74b9..6aff8a0d8f83ea54db519848434bca2dbd4f94f2 100644 (file)
@@ -16,7 +16,7 @@
 
 using namespace llvm;
 
-SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM) {
+SystemZTargetAsmInfo::SystemZTargetAsmInfo() {
   AlignmentIsInBytes = true;
 
   PrivateGlobalPrefix = ".L";
index e7bf8954f6428443d219a4af71bb92907be6cf40..672524b5b243ba97fc15c6d0fc1213c0aa4c649d 100644 (file)
 #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
index 8c11a47d1a67132152a1abe7dde86c63d81fe462..8bebf5b41af8bbed0f97c871f6856affe9a66a5f 100644 (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