mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
alpha TAI doesn't need TM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68f2b2cdd5
commit
f67de7a69e
@ -11,12 +11,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "AlphaTargetMachine.h"
|
||||
#include "AlphaTargetAsmInfo.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) {
|
||||
AlphaTargetAsmInfo::AlphaTargetAsmInfo() {
|
||||
AlignmentIsInBytes = false;
|
||||
PrivateGlobalPrefix = "$";
|
||||
JumpTableDirective = ".gprel32";
|
||||
|
@ -18,11 +18,8 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// Forward declaration.
|
||||
class AlphaTargetMachine;
|
||||
|
||||
struct AlphaTargetAsmInfo : public TargetAsmInfo {
|
||||
explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
|
||||
explicit AlphaTargetAsmInfo();
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
|
@ -27,7 +27,7 @@ extern "C" void LLVMInitializeAlphaTarget() {
|
||||
}
|
||||
|
||||
const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
|
||||
return new AlphaTargetAsmInfo(*this);
|
||||
return new AlphaTargetAsmInfo();
|
||||
}
|
||||
|
||||
AlphaTargetMachine::AlphaTargetMachine(const Target &T, const Module &M,
|
||||
|
Loading…
Reference in New Issue
Block a user