From 86ad4c05d03d6bd56adecd1833cfcf621f11313e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 8 Dec 2003 08:23:04 +0000 Subject: [PATCH] implement method llvm-svn: 10321 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 465a08a2641d..c6aa896eb092 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -106,6 +106,13 @@ public: virtual GenericValue run(Function *F, const std::vector &ArgValues); + /// recompileAndRelinkFunction - For the interpreter, functions are always + /// up-to-date. + /// + virtual void *recompileAndRelinkFunction(Function *F) { + return getPointerToFunction(F); + } + // Methods used to execute code: // Place a call on the stack void callFunction(Function *F, const std::vector &ArgVals);