aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZTargetMachine.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-02 23:37:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-02 23:37:13 +0000
commitf5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f (patch)
tree041034918223f633336eac712c8807536d06f4f4 /lib/Target/SystemZ/SystemZTargetMachine.h
parent7c76cd517ec699424cbc7c218fa71bad08331e61 (diff)
downloadexternal_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.tar.gz
external_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.tar.bz2
external_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.zip
Move most targets TargetMachine constructor to only taking a target triple.
- The C, C++, MSIL, and Mips backends still need the module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZTargetMachine.h')
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/SystemZTargetMachine.h b/lib/Target/SystemZ/SystemZTargetMachine.h
index 843399c2e4..6626fd0e50 100644
--- a/lib/Target/SystemZ/SystemZTargetMachine.h
+++ b/lib/Target/SystemZ/SystemZTargetMachine.h
@@ -41,7 +41,8 @@ protected:
virtual const TargetAsmInfo *createTargetAsmInfo() const;
public:
- SystemZTargetMachine(const Target &T, const Module &M, const std::string &FS);
+ SystemZTargetMachine(const Target &T, const std::string &TT,
+ const std::string &FS);
virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; }
virtual const SystemZInstrInfo *getInstrInfo() const { return &InstrInfo; }
@@ -57,7 +58,6 @@ public:
}
virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
- static unsigned getModuleMatchQuality(const Module &M);
}; // SystemZTargetMachine.
} // end namespace llvm