mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Tidy up doxygen comment for getPointerToFunction().
Add prototypes for recompileAndRelinkFunction() and runJITOnFunction(). llvm-svn: 9200
This commit is contained in:
parent
7b9b6dbd63
commit
eaf7472fd7
@ -54,11 +54,21 @@ public:
|
||||
|
||||
/// getPointerToFunction - This returns the address of the specified function,
|
||||
/// compiling it if necessary.
|
||||
///
|
||||
void *getPointerToFunction(Function *F);
|
||||
|
||||
/// recompileAndRelinkFunction - This method is used to force a function
|
||||
/// which has already been compiled, to be compiled again, possibly
|
||||
/// after it has been modified. Then the entry to the old copy is overwritten
|
||||
/// with a branch to the new copy. If there was no old copy, this acts
|
||||
/// just like VM::getPointerToFunction().
|
||||
///
|
||||
void *recompileAndRelinkFunction(Function *F);
|
||||
|
||||
private:
|
||||
static MachineCodeEmitter *createEmitter(VM &V);
|
||||
void setupPassManager();
|
||||
void runJITOnFunction (Function *F);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user