mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Reinstate "Nuke the old JIT."
Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -122,17 +122,6 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/// recompileAndRelinkFunction - For the interpreter, functions are always
|
||||
/// up-to-date.
|
||||
///
|
||||
void *recompileAndRelinkFunction(Function *F) override {
|
||||
return getPointerToFunction(F);
|
||||
}
|
||||
|
||||
/// freeMachineCodeForFunction - The interpreter does not generate any code.
|
||||
///
|
||||
void freeMachineCodeForFunction(Function *F) override { }
|
||||
|
||||
// Methods used to execute code:
|
||||
// Place a call on the stack
|
||||
void callFunction(Function *F, const std::vector<GenericValue> &ArgVals);
|
||||
@@ -214,7 +203,6 @@ private: // Helper functions
|
||||
void SwitchToNewBasicBlock(BasicBlock *Dest, ExecutionContext &SF);
|
||||
|
||||
void *getPointerToFunction(Function *F) override { return (void*)F; }
|
||||
void *getPointerToBasicBlock(BasicBlock *BB) override { return (void*)BB; }
|
||||
|
||||
void initializeExecutionEngine() { }
|
||||
void initializeExternalFunctions();
|
||||
|
Reference in New Issue
Block a user