implement method

llvm-svn: 10321
This commit is contained in:
Chris Lattner 2003-12-08 08:23:04 +00:00
parent e6492f1057
commit 86ad4c05d0
1 changed files with 7 additions and 0 deletions

View File

@ -106,6 +106,13 @@ public:
virtual GenericValue run(Function *F, virtual GenericValue run(Function *F,
const std::vector<GenericValue> &ArgValues); 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: // Methods used to execute code:
// Place a call on the stack // Place a call on the stack
void callFunction(Function *F, const std::vector<GenericValue> &ArgVals); void callFunction(Function *F, const std::vector<GenericValue> &ArgVals);