-//===-- SparcTargetAsmInfo.cpp - Sparc asm properties -----------*- C++ -*-===//
+//===-- SparcTargetAsmInfo.cpp - Sparc asm properties ---------------------===//
//
// The LLVM Compiler Infrastructure
//
#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.
namespace llvm {
- // Forward declaration.
- class TargetMachine;
-
struct SparcELFTargetAsmInfo : public TargetAsmInfo {
- explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
+ explicit SparcELFTargetAsmInfo();
};
} // namespace llvm
const TargetAsmInfo *SparcTargetMachine::createTargetAsmInfo() const {
// FIXME: Handle Solaris subtarget someday :)
- return new SparcELFTargetAsmInfo(*this);
+ return new SparcELFTargetAsmInfo();
}
/// SparcTargetMachine ctor - Create an ILP32 architecture model