mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
PIC16 TAI doesn't need TM
llvm-svn: 77867
This commit is contained in:
parent
f13912f657
commit
347434dfea
@ -12,15 +12,15 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "PIC16TargetAsmInfo.h"
|
||||
#include "PIC16TargetMachine.h"
|
||||
#include "llvm/GlobalValue.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
|
||||
// FIXME: Layering violation to get enums and static function, should be moved
|
||||
// to separate headers.
|
||||
#include "PIC16.h"
|
||||
#include "PIC16ISelLowering.h"
|
||||
using namespace llvm;
|
||||
|
||||
PIC16TargetAsmInfo::
|
||||
PIC16TargetAsmInfo(const PIC16TargetMachine &TM) {
|
||||
PIC16TargetAsmInfo() {
|
||||
CommentString = ";";
|
||||
GlobalPrefix = PAN::getTagName(PAN::PREFIX_SYMBOL);
|
||||
GlobalDirective = "\tglobal\t";
|
||||
|
@ -17,17 +17,12 @@
|
||||
#include "llvm/Target/TargetAsmInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// Forward declaration.
|
||||
class PIC16TargetMachine;
|
||||
|
||||
class PIC16TargetAsmInfo : public TargetAsmInfo {
|
||||
const char *RomData8bitsDirective;
|
||||
const char *RomData16bitsDirective;
|
||||
const char *RomData32bitsDirective;
|
||||
public:
|
||||
PIC16TargetAsmInfo(const PIC16TargetMachine &TM);
|
||||
|
||||
PIC16TargetAsmInfo();
|
||||
|
||||
virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
|
||||
};
|
||||
|
@ -38,7 +38,7 @@ CooperTargetMachine::CooperTargetMachine(const Target &T, const Module &M,
|
||||
|
||||
|
||||
const TargetAsmInfo *PIC16TargetMachine::createTargetAsmInfo() const {
|
||||
return new PIC16TargetAsmInfo(*this);
|
||||
return new PIC16TargetAsmInfo();
|
||||
}
|
||||
|
||||
bool PIC16TargetMachine::addInstSelector(PassManagerBase &PM,
|
||||
|
Loading…
Reference in New Issue
Block a user