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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-08-07 14:21:18 +00:00
parent 7ad7c75048
commit 875710a2fd
224 changed files with 177 additions and 12478 deletions

View File

@@ -211,7 +211,7 @@ class MCJIT : public ExecutionEngine {
MCContext *Ctx;
LinkingMemoryManager MemMgr;
RuntimeDyld Dyld;
SmallVector<JITEventListener*, 2> EventListeners;
std::vector<JITEventListener*> EventListeners;
OwningModuleContainer OwnedModules;
@@ -275,14 +275,8 @@ public:
/// \param isDtors - Run the destructors instead of constructors.
void runStaticConstructorsDestructors(bool isDtors) override;
void *getPointerToBasicBlock(BasicBlock *BB) override;
void *getPointerToFunction(Function *F) override;
void *recompileAndRelinkFunction(Function *F) override;
void freeMachineCodeForFunction(Function *F) override;
GenericValue runFunction(Function *F,
const std::vector<GenericValue> &ArgValues) override;