summaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/COFFTargetAsmInfo.h2
-rw-r--r--include/llvm/Target/DarwinTargetAsmInfo.h2
-rw-r--r--include/llvm/Target/ELFTargetAsmInfo.h4
-rw-r--r--include/llvm/Target/TargetAsmInfo.h6
4 files changed, 4 insertions, 10 deletions
diff --git a/include/llvm/Target/COFFTargetAsmInfo.h b/include/llvm/Target/COFFTargetAsmInfo.h
index a035f2b..fd9fb45 100644
--- a/include/llvm/Target/COFFTargetAsmInfo.h
+++ b/include/llvm/Target/COFFTargetAsmInfo.h
@@ -15,7 +15,7 @@
namespace llvm {
class COFFTargetAsmInfo : public TargetAsmInfo {
protected:
- explicit COFFTargetAsmInfo(const TargetMachine &TM);
+ explicit COFFTargetAsmInfo();
};
}
diff --git a/include/llvm/Target/DarwinTargetAsmInfo.h b/include/llvm/Target/DarwinTargetAsmInfo.h
index 99e4130..0834390 100644
--- a/include/llvm/Target/DarwinTargetAsmInfo.h
+++ b/include/llvm/Target/DarwinTargetAsmInfo.h
@@ -24,7 +24,7 @@ namespace llvm {
class Mangler;
struct DarwinTargetAsmInfo : public TargetAsmInfo {
- explicit DarwinTargetAsmInfo(const TargetMachine &TM);
+ explicit DarwinTargetAsmInfo();
};
}
diff --git a/include/llvm/Target/ELFTargetAsmInfo.h b/include/llvm/Target/ELFTargetAsmInfo.h
index 1b141d5..46a88d5 100644
--- a/include/llvm/Target/ELFTargetAsmInfo.h
+++ b/include/llvm/Target/ELFTargetAsmInfo.h
@@ -19,9 +19,7 @@
namespace llvm {
- struct ELFTargetAsmInfo : public TargetAsmInfo {
- ELFTargetAsmInfo(const TargetMachine &TM);
- };
+
}
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 958a701..9d37d49 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -22,15 +22,11 @@
namespace llvm {
template <typename T> class SmallVectorImpl;
- class TargetMachine;
/// TargetAsmInfo - This class is intended to be used as a base class for asm
/// properties and features specific to the target.
class TargetAsmInfo {
protected:
- /// TM - The current TargetMachine.
- const TargetMachine &TM;
-
//===------------------------------------------------------------------===//
// Properties to be set by the target writer, used to configure asm printer.
//
@@ -376,7 +372,7 @@ namespace llvm {
const char *const *AsmTransCBE; // Defaults to empty
public:
- explicit TargetAsmInfo(const TargetMachine &TM);
+ explicit TargetAsmInfo();
virtual ~TargetAsmInfo();
/// Measure the specified inline asm to determine an approximation of its