mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
eliminate TargetMAchine argument to sparc TAI
llvm-svn: 77864
This commit is contained in:
parent
b5ceb50677
commit
65a4fca21d
@ -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