forked from OSchip/llvm-project
now that JumpTableDirective can differentate picness itself, MIPS TAI
no longer needs a targetmachine to initialize itself. llvm-svn: 78710
This commit is contained in:
parent
fe27130454
commit
67e5ea2726
|
@ -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…
Reference in New Issue