OSDN Git Service

eliminate a now-useless class.
authorChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 01:50:22 +0000 (01:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 01:50:22 +0000 (01:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94728 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp

index 582f3ee..f190877 100644 (file)
@@ -267,18 +267,6 @@ namespace {
       }
     }
   };
-
-  /// LinuxAsmPrinter - SPU assembly printer, customized for Linux
-  class LinuxAsmPrinter : public SPUAsmPrinter {
-  public:
-    explicit LinuxAsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
-                             const MCAsmInfo *T, bool V)
-      : SPUAsmPrinter(O, TM, T, V) {}
-
-    virtual const char *getPassName() const {
-      return "STI CBEA SPU Assembly Printer";
-    }
-  };
 } // end of anonymous namespace
 
 // Include the auto-generated portion of the assembly writer
@@ -367,5 +355,5 @@ bool SPUAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
 
 // Force static initialization.
 extern "C" void LLVMInitializeCellSPUAsmPrinter() { 
-  RegisterAsmPrinter<LinuxAsmPrinter> X(TheCellSPUTarget);
+  RegisterAsmPrinter<SPUAsmPrinter> X(TheCellSPUTarget);
 }