mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
eliminate the TM argument to the TAI class, remove comment about supporting
solaris :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ba8e7401fb
commit
e6483e3097
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM) {
|
SystemZTargetAsmInfo::SystemZTargetAsmInfo() {
|
||||||
AlignmentIsInBytes = true;
|
AlignmentIsInBytes = true;
|
||||||
|
|
||||||
PrivateGlobalPrefix = ".L";
|
PrivateGlobalPrefix = ".L";
|
||||||
|
@ -14,15 +14,12 @@
|
|||||||
#ifndef SystemZTARGETASMINFO_H
|
#ifndef SystemZTARGETASMINFO_H
|
||||||
#define SystemZTARGETASMINFO_H
|
#define SystemZTARGETASMINFO_H
|
||||||
|
|
||||||
#include "llvm/Target/ELFTargetAsmInfo.h"
|
#include "llvm/Target/TargetAsmInfo.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
// Forward declaration.
|
|
||||||
class SystemZTargetMachine;
|
|
||||||
|
|
||||||
struct SystemZTargetAsmInfo : public TargetAsmInfo {
|
struct SystemZTargetAsmInfo : public TargetAsmInfo {
|
||||||
explicit SystemZTargetAsmInfo(const SystemZTargetMachine &TM);
|
explicit SystemZTargetAsmInfo();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace llvm
|
} // namespace llvm
|
||||||
|
@ -24,8 +24,7 @@ extern "C" void LLVMInitializeSystemZTarget() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const TargetAsmInfo *SystemZTargetMachine::createTargetAsmInfo() const {
|
const TargetAsmInfo *SystemZTargetMachine::createTargetAsmInfo() const {
|
||||||
// FIXME: Handle Solaris subtarget someday :)
|
return new SystemZTargetAsmInfo();
|
||||||
return new SystemZTargetAsmInfo(*this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// SystemZTargetMachine ctor - Create an ILP64 architecture model
|
/// SystemZTargetMachine ctor - Create an ILP64 architecture model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user