summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-08 08:23:04 +0000
committerChris Lattner <sabre@nondot.org>2003-12-08 08:23:04 +0000
commit86ad4c05d03d6bd56adecd1833cfcf621f11313e (patch)
tree9e791f32bff51cdda05a675cc9842c0824e301e1 /llvm/lib/ExecutionEngine/Interpreter
parente6492f10575fbdcee74db7b45a4ab883baf00ce7 (diff)
downloadbcm5719-llvm-86ad4c05d03d6bd56adecd1833cfcf621f11313e.tar.gz
bcm5719-llvm-86ad4c05d03d6bd56adecd1833cfcf621f11313e.zip
implement method
llvm-svn: 10321
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 465a08a2641..c6aa896eb09 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<GenericValue> &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<GenericValue> &ArgVals);
OpenPOWER on IntegriCloud