diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-07 14:21:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-07 14:21:18 +0000 |
commit | f8b27c41e84cefba4be361b96cc0bd545e1dc64d (patch) | |
tree | 30da06ab749221027f133c39c8d85ade1bdc2807 /llvm/lib/Target/PowerPC/PPCJITInfo.h | |
parent | 84d35dfe962dcac4833381e5bd52eddcbcb91662 (diff) | |
download | bcm5719-llvm-f8b27c41e84cefba4be361b96cc0bd545e1dc64d.tar.gz bcm5719-llvm-f8b27c41e84cefba4be361b96cc0bd545e1dc64d.zip |
Nuke the old JIT.
I am sure we will be finding bits and pieces of dead code for years to
come, but this is a good start.
Thanks to Lang Hames for making MCJIT a good replacement!
llvm-svn: 215111
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCJITInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCJITInfo.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.h b/llvm/lib/Target/PowerPC/PPCJITInfo.h deleted file mode 100644 index b6b37ffb852..00000000000 --- a/llvm/lib/Target/PowerPC/PPCJITInfo.h +++ /dev/null @@ -1,46 +0,0 @@ -//===-- PPCJITInfo.h - PowerPC impl. of the JIT interface -------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file contains the PowerPC implementation of the TargetJITInfo class. -// -//===----------------------------------------------------------------------===// - -#ifndef POWERPC_JITINFO_H -#define POWERPC_JITINFO_H - -#include "llvm/CodeGen/JITCodeEmitter.h" -#include "llvm/Target/TargetJITInfo.h" - -namespace llvm { -class PPCSubtarget; -class PPCJITInfo : public TargetJITInfo { -protected: - PPCSubtarget &Subtarget; - bool is64Bit; - -public: - PPCJITInfo(PPCSubtarget &STI); - - StubLayout getStubLayout() override; - void *emitFunctionStub(const Function *F, void *Fn, - JITCodeEmitter &JCE) override; - LazyResolverFn getLazyResolverFunction(JITCompilerFn) override; - void relocate(void *Function, MachineRelocation *MR, unsigned NumRelocs, - unsigned char *GOTBase) override; - - /// replaceMachineCodeForFunction - Make it so that calling the function - /// whose machine code is at OLD turns into a call to NEW, perhaps by - /// overwriting OLD with a branch to NEW. This is used for self-modifying - /// code. - /// - void replaceMachineCodeForFunction(void *Old, void *New) override; -}; -} - -#endif |