xcore TAI doesn't need TM.

llvm-svn: 77868
This commit is contained in:
Chris Lattner 2009-08-02 04:42:09 +00:00
parent 3ea23cff65
commit 2be66ce420
3 changed files with 3 additions and 4 deletions

View 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";

View File

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

View 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