diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-02 23:37:13 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-02 23:37:13 +0000 |
commit | e28039cfd1a9c43b5fa9274bf19372d96f58f460 (patch) | |
tree | 041034918223f633336eac712c8807536d06f4f4 /lib/Target/Mips/MipsTargetMachine.h | |
parent | c20a6fd8ce2fb96dd7572c11dcfb7654ac455c43 (diff) |
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/Mips/MipsTargetMachine.h')
-rw-r--r-- | lib/Target/Mips/MipsTargetMachine.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/Mips/MipsTargetMachine.h b/lib/Target/Mips/MipsTargetMachine.h index cdee9cc194..e2b83b721f 100644 --- a/lib/Target/Mips/MipsTargetMachine.h +++ b/lib/Target/Mips/MipsTargetMachine.h @@ -35,8 +35,8 @@ namespace llvm { virtual const TargetAsmInfo *createTargetAsmInfo() const; public: - MipsTargetMachine(const Target &T, const Module &M, const std::string &FS, - bool isLittle); + MipsTargetMachine(const Target &T, const Module &M, + const std::string &FS, bool isLittle); virtual const MipsInstrInfo *getInstrInfo() const { return &InstrInfo; } @@ -67,8 +67,6 @@ namespace llvm { class MipselTargetMachine : public MipsTargetMachine { public: MipselTargetMachine(const Target &T, const Module &M, const std::string &FS); - - static unsigned getModuleMatchQuality(const Module &M); }; } // End llvm namespace |