[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 8 02:24:03 PST 2003
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Interpreter.h updated: 1.55 -> 1.56
---
Log message:
implement method
---
Diffs of the changes: (+7 -0)
Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.55 llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.56
--- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.55 Tue Nov 25 14:44:56 2003
+++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.h Mon Dec 8 02:23:04 2003
@@ -106,6 +106,13 @@
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);
More information about the llvm-commits
mailing list