mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
now that JumpTableDirective can differentate picness itself, MIPS TAI
no longer needs a targetmachine to initialize itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78710 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dfab291702
commit
92319e2454
@ -12,10 +12,9 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "MipsTargetAsmInfo.h"
|
||||
#include "MipsTargetMachine.h"
|
||||
using namespace llvm;
|
||||
|
||||
MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) {
|
||||
MipsTargetAsmInfo::MipsTargetAsmInfo() {
|
||||
AlignmentIsInBytes = false;
|
||||
COMMDirectiveTakesAlignment = true;
|
||||
Data16bitsDirective = "\t.half\t";
|
||||
|
@ -17,11 +17,9 @@
|
||||
#include "llvm/Target/TargetAsmInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
// Forward declaration.
|
||||
class MipsTargetMachine;
|
||||
|
||||
struct MipsTargetAsmInfo : public TargetAsmInfo {
|
||||
explicit MipsTargetAsmInfo(const MipsTargetMachine &TM);
|
||||
class MipsTargetAsmInfo : public TargetAsmInfo {
|
||||
public:
|
||||
explicit MipsTargetAsmInfo();
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
|
@ -24,10 +24,8 @@ extern "C" void LLVMInitializeMipsTarget() {
|
||||
RegisterTargetMachine<MipselTargetMachine> Y(TheMipselTarget);
|
||||
}
|
||||
|
||||
const TargetAsmInfo *MipsTargetMachine::
|
||||
createTargetAsmInfo() const
|
||||
{
|
||||
return new MipsTargetAsmInfo(*this);
|
||||
const TargetAsmInfo *MipsTargetMachine::createTargetAsmInfo() const {
|
||||
return new MipsTargetAsmInfo();
|
||||
}
|
||||
|
||||
// DataLayout --> Big-endian, 32-bit pointer/ABI/alignment
|
||||
|
Loading…
x
Reference in New Issue
Block a user