mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
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:
parent
3878bff390
commit
71a56d75b4
@ -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";
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user