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 | f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f (patch) | |
| tree | 041034918223f633336eac712c8807536d06f4f4 /lib/Target/PowerPC/PPCTargetMachine.h | |
| parent | 7c76cd517ec699424cbc7c218fa71bad08331e61 (diff) | |
| download | external_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.zip external_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.tar.gz external_llvm-f5c2b85a55d67bb0b4711932ecb3a4bfb7a1974f.tar.bz2 | |
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/PowerPC/PPCTargetMachine.h')
| -rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.h b/lib/Target/PowerPC/PPCTargetMachine.h index 0000fa8..b7ac6ef 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.h +++ b/lib/Target/PowerPC/PPCTargetMachine.h @@ -43,8 +43,8 @@ protected: virtual const TargetAsmInfo *createTargetAsmInfo() const; public: - PPCTargetMachine(const Target &T, const Module &M, const std::string &FS, - bool is64Bit); + PPCTargetMachine(const Target &T, const std::string &TT, + const std::string &FS, bool is64Bit); virtual const PPCInstrInfo *getInstrInfo() const { return &InstrInfo; } virtual const PPCFrameInfo *getFrameInfo() const { return &FrameInfo; } @@ -90,14 +90,16 @@ public: /// class PPC32TargetMachine : public PPCTargetMachine { public: - PPC32TargetMachine(const Target &T, const Module &M, const std::string &FS); + PPC32TargetMachine(const Target &T, const std::string &TT, + const std::string &FS); }; /// PPC64TargetMachine - PowerPC 64-bit target machine. /// class PPC64TargetMachine : public PPCTargetMachine { public: - PPC64TargetMachine(const Target &T, const Module &M, const std::string &FS); + PPC64TargetMachine(const Target &T, const std::string &TT, + const std::string &FS); }; } // end namespace llvm |
