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 | 6cca84e43c934344051252d4bc3a2f11d89ce1a2 (patch) | |
tree | 7f1a383eea6c66f519d3bb98be0dd9bc76375c8d /llvm/lib/Target/PowerPC/PPCJITInfo.h | |
parent | 825298b060b9194a591b547a6d4e067db2f51639 (diff) | |
download | bcm5719-llvm-6cca84e43c934344051252d4bc3a2f11d89ce1a2.tar.gz bcm5719-llvm-6cca84e43c934344051252d4bc3a2f11d89ce1a2.zip |
More PPC32 -> PPC changes, as well as merging some classes that were
redundant after the change.
llvm-svn: 23759
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCJITInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCJITInfo.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.h b/llvm/lib/Target/PowerPC/PPCJITInfo.h index 9a24ee6d5bd..39a706f0830 100644 --- a/llvm/lib/Target/PowerPC/PPCJITInfo.h +++ b/llvm/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, |