mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
eliminate TargetMAchine argument to sparc TAI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d4a0a328a
commit
ba8e7401fb
@ -1,4 +1,4 @@
|
||||
//===-- SparcTargetAsmInfo.cpp - Sparc asm properties -----------*- C++ -*-===//
|
||||
//===-- SparcTargetAsmInfo.cpp - Sparc asm properties ---------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
@ -15,7 +15,7 @@
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
using namespace llvm;
|
||||
|
||||
SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const TargetMachine &TM) {
|
||||
SparcELFTargetAsmInfo::SparcELFTargetAsmInfo() {
|
||||
Data16bitsDirective = "\t.half\t";
|
||||
Data32bitsDirective = "\t.word\t";
|
||||
Data64bitsDirective = 0; // .xword is only supported by V9.
|
||||
|
@ -18,11 +18,8 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// Forward declaration.
|
||||
class TargetMachine;
|
||||
|
||||
struct SparcELFTargetAsmInfo : public TargetAsmInfo {
|
||||
explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
|
||||
explicit SparcELFTargetAsmInfo();
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
|
@ -25,7 +25,7 @@ extern "C" void LLVMInitializeSparcTarget() {
|
||||
|
||||
const TargetAsmInfo *SparcTargetMachine::createTargetAsmInfo() const {
|
||||
// FIXME: Handle Solaris subtarget someday :)
|
||||
return new SparcELFTargetAsmInfo(*this);
|
||||
return new SparcELFTargetAsmInfo();
|
||||
}
|
||||
|
||||
/// SparcTargetMachine ctor - Create an ILP32 architecture model
|
||||
|
Loading…
Reference in New Issue
Block a user