aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Alpha/AlphaTargetAsmInfo.cpp4
-rw-r--r--lib/Target/Alpha/AlphaTargetAsmInfo.h5
-rw-r--r--lib/Target/Alpha/AlphaTargetMachine.cpp2
3 files changed, 3 insertions, 8 deletions
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
index ee7166e..0abdce9 100644
--- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
+++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
@@ -11,12 +11,10 @@
//
//===----------------------------------------------------------------------===//
-#include "AlphaTargetMachine.h"
#include "AlphaTargetAsmInfo.h"
-
using namespace llvm;
-AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) {
+AlphaTargetAsmInfo::AlphaTargetAsmInfo() {
AlignmentIsInBytes = false;
PrivateGlobalPrefix = "$";
JumpTableDirective = ".gprel32";
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.h b/lib/Target/Alpha/AlphaTargetAsmInfo.h
index 0b50de8..1f0259b 100644
--- a/lib/Target/Alpha/AlphaTargetAsmInfo.h
+++ b/lib/Target/Alpha/AlphaTargetAsmInfo.h
@@ -18,11 +18,8 @@
namespace llvm {
- // Forward declaration.
- class AlphaTargetMachine;
-
struct AlphaTargetAsmInfo : public TargetAsmInfo {
- explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
+ explicit AlphaTargetAsmInfo();
};
} // namespace llvm
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp
index 70d7b15..9de5c36 100644
--- a/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/lib/Target/Alpha/AlphaTargetMachine.cpp
@@ -27,7 +27,7 @@ extern "C" void LLVMInitializeAlphaTarget() {
}
const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
- return new AlphaTargetAsmInfo(*this);
+ return new AlphaTargetAsmInfo();
}
AlphaTargetMachine::AlphaTargetMachine(const Target &T, const Module &M,