diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-10-16 05:39:50 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-10-16 05:39:50 +0000 |
commit | 21e463b2bf864671a87ebe386cb100ef9349a540 (patch) | |
tree | 66837a69bdb67333bffe2b5c6767954f5771f411 /lib/Target/PowerPC/PPCJITInfo.h | |
parent | 5024d93c8b3bde57e906c0325573ed8d3b7061fd (diff) | |
download | llvm-21e463b2bf864671a87ebe386cb100ef9349a540.tar.gz llvm-21e463b2bf864671a87ebe386cb100ef9349a540.tar.bz2 llvm-21e463b2bf864671a87ebe386cb100ef9349a540.tar.xz |
More PPC32 -> PPC changes, as well as merging some classes that were
redundant after the change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.h')
-rw-r--r-- | lib/Target/PowerPC/PPCJITInfo.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h index 9a24ee6d5b..39a706f083 100644 --- a/lib/Target/PowerPC/PPCJITInfo.h +++ b/lib/Target/PowerPC/PPCJITInfo.h @@ -19,24 +19,18 @@ namespace llvm { class TargetMachine; - // FIXME: Merge into one PPCJITInfo class. - class PowerPCJITInfo : public TargetJITInfo { + class PPCJITInfo : public TargetJITInfo { protected: TargetMachine &TM; public: - PowerPCJITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;} + PPCJITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;} /// addPassesToJITCompile - Add passes to the specified pass manager to /// implement a fast dynamic compiler for this target. Return true if this /// is not supported for this target. /// virtual void addPassesToJITCompile(FunctionPassManager &PM); - }; - - class PPC32JITInfo : public PowerPCJITInfo { - public: - PPC32JITInfo(TargetMachine &tm) : PowerPCJITInfo(tm) {} - + virtual void *emitFunctionStub(void *Fn, MachineCodeEmitter &MCE); virtual LazyResolverFn getLazyResolverFunction(JITCompilerFn); virtual void relocate(void *Function, MachineRelocation *MR, |