Remove unused argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-05-10 18:16:59 +00:00
parent 50be71d182
commit 6e53180db1
24 changed files with 31 additions and 38 deletions

View File

@@ -15,7 +15,7 @@
using namespace llvm;
HexagonMCAsmInfo::HexagonMCAsmInfo(const Target &T, StringRef TT) {
HexagonMCAsmInfo::HexagonMCAsmInfo(StringRef TT) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.

View File

@@ -18,11 +18,9 @@
#include "llvm/MC/MCAsmInfo.h"
namespace llvm {
class Target;
class HexagonMCAsmInfo : public MCAsmInfo {
public:
explicit HexagonMCAsmInfo(const Target &T, StringRef TT);
explicit HexagonMCAsmInfo(StringRef TT);
};
} // namespace llvm

View File

@@ -54,8 +54,8 @@ static MCSubtargetInfo *createHexagonMCSubtargetInfo(StringRef TT,
return X;
}
static MCAsmInfo *createHexagonMCAsmInfo(const Target &T, StringRef TT) {
MCAsmInfo *MAI = new HexagonMCAsmInfo(T, TT);
static MCAsmInfo *createHexagonMCAsmInfo(StringRef TT) {
MCAsmInfo *MAI = new HexagonMCAsmInfo(TT);
// VirtualFP = (R30 + #0).
MachineLocation Dst(MachineLocation::VirtualFP);