projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f0eba
)
implement method
author
Chris Lattner
<sabre@nondot.org>
Mon, 8 Dec 2003 08:23:04 +0000
(08:23 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 8 Dec 2003 08:23:04 +0000
(08:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10321
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Interpreter.h
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Interpreter.h
b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 465a08a2641dc1b6910e3956cbaeff99d052d70b..c6aa896eb09246788baf65f0e9825acefffe39af 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/
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);