xcore TAI doesn't need TM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-02 04:42:09 +00:00
parent 3878bff390
commit 71a56d75b4
3 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@
#include "XCoreTargetAsmInfo.h" #include "XCoreTargetAsmInfo.h"
using namespace llvm; using namespace llvm;
XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM) { XCoreTargetAsmInfo::XCoreTargetAsmInfo() {
SupportsDebugInformation = true; SupportsDebugInformation = true;
Data16bitsDirective = "\t.short\t"; Data16bitsDirective = "\t.short\t";
Data32bitsDirective = "\t.long\t"; Data32bitsDirective = "\t.long\t";

View File

@ -17,10 +17,9 @@
#include "llvm/Target/TargetAsmInfo.h" #include "llvm/Target/TargetAsmInfo.h"
namespace llvm { namespace llvm {
class TargetMachine;
class XCoreTargetAsmInfo : public TargetAsmInfo { class XCoreTargetAsmInfo : public TargetAsmInfo {
public: public:
explicit XCoreTargetAsmInfo(const TargetMachine &TM); explicit XCoreTargetAsmInfo();
}; };
} // namespace llvm } // namespace llvm

View File

@ -18,7 +18,7 @@
using namespace llvm; using namespace llvm;
const TargetAsmInfo *XCoreTargetMachine::createTargetAsmInfo() const { const TargetAsmInfo *XCoreTargetMachine::createTargetAsmInfo() const {
return new XCoreTargetAsmInfo(*this); return new XCoreTargetAsmInfo();
} }
/// XCoreTargetMachine ctor - Create an ILP32 architecture model /// XCoreTargetMachine ctor - Create an ILP32 architecture model