Remove the unused TheTarget member.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-11-26 04:24:21 +00:00
parent 052f1eebdb
commit fd46797d0d
6 changed files with 8 additions and 13 deletions

View File

@@ -29,10 +29,7 @@ class TargetAsmBackend {
TargetAsmBackend(const TargetAsmBackend &); // DO NOT IMPLEMENT
void operator=(const TargetAsmBackend &); // DO NOT IMPLEMENT
protected: // Can only create subclasses.
TargetAsmBackend(const Target &);
/// TheTarget - The Target that this machine was created for.
const Target &TheTarget;
TargetAsmBackend();
unsigned HasReliableSymbolDifference : 1;
unsigned HasScatteredSymbols : 1;
@@ -40,8 +37,6 @@ protected: // Can only create subclasses.
public:
virtual ~TargetAsmBackend();
const Target &getTarget() const { return TheTarget; }
virtual const MCObjectFormat &getObjectFormat() const = 0;
/// createObjectWriter - Create a new MCObjectWriter instance for use by the