OSDN Git Service

xcore TAI doesn't need TM.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:42:09 +0000 (04:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:42:09 +0000 (04:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77868 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/XCore/XCoreTargetAsmInfo.cpp
lib/Target/XCore/XCoreTargetAsmInfo.h
lib/Target/XCore/XCoreTargetMachine.cpp

index 6f2dbbb..a5bc6c2 100644 (file)
@@ -10,7 +10,7 @@
 #include "XCoreTargetAsmInfo.h"
 using namespace llvm;
 
-XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM) {
+XCoreTargetAsmInfo::XCoreTargetAsmInfo() {
   SupportsDebugInformation = true;
   Data16bitsDirective = "\t.short\t";
   Data32bitsDirective = "\t.long\t";
index d1ceb3f..c4f71e4 100644 (file)
 #include "llvm/Target/TargetAsmInfo.h"
 
 namespace llvm {
-  class TargetMachine;
   class XCoreTargetAsmInfo : public TargetAsmInfo {
   public:
-    explicit XCoreTargetAsmInfo(const TargetMachine &TM);
+    explicit XCoreTargetAsmInfo();
   };
 
 } // namespace llvm
index faea960..eac8ca1 100644 (file)
@@ -18,7 +18,7 @@
 using namespace llvm;
 
 const TargetAsmInfo *XCoreTargetMachine::createTargetAsmInfo() const {
-  return new XCoreTargetAsmInfo(*this);
+  return new XCoreTargetAsmInfo();
 }
 
 /// XCoreTargetMachine ctor - Create an ILP32 architecture model