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 6f2dbbb7bcecf1b2b6ad57c26e0c91c53396534a..a5bc6c2fc6b050ae28fb151c98dc8a33030178bc 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 d1ceb3ff6c5ddda1f2bcbe3ec35b552007d5dc2d..c4f71e43137e52524feb2e26dc844716fcd48d03 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 faea96057217a16aaa4efbf551450ee376e2e73a..eac8ca1b15467ad477d816c5bb7b9853d5b85e0c 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