diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-12 06:31:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-12 06:31:42 +0000 |
commit | 895be4bae2c4f9a2fd2234f0329f618274e67eab (patch) | |
tree | 514d3f019094ef117c64802baca16806942fdfb9 /include/llvm/ExecutionEngine | |
parent | 8c1237e63cfc03e0b5a1d1cb4b21a068b509ef28 (diff) | |
download | llvm-895be4bae2c4f9a2fd2234f0329f618274e67eab.tar.gz llvm-895be4bae2c4f9a2fd2234f0329f618274e67eab.tar.bz2 llvm-895be4bae2c4f9a2fd2234f0329f618274e67eab.tar.xz |
Doxygenify comments, remove extraneous #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index f6f725a78a..f049197e52 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -16,7 +16,6 @@ #define EXECUTION_ENGINE_H #include <vector> -#include <string> #include <map> #include <cassert> @@ -67,29 +66,29 @@ public: CurVal = Addr; } - // getPointerToGlobalIfAvailable - This returns the address of the specified - // global value if it is available, otherwise it returns null. - // + /// getPointerToGlobalIfAvailable - This returns the address of the specified + /// global value if it is available, otherwise it returns null. + /// void *getPointerToGlobalIfAvailable(const GlobalValue *GV) { std::map<const GlobalValue*, void*>::iterator I = GlobalAddress.find(GV); return I != GlobalAddress.end() ? I->second : 0; } - // getPointerToGlobal - This returns the address of the specified global - // value. This may involve code generation if it's a function. - // + /// getPointerToGlobal - This returns the address of the specified global + /// value. This may involve code generation if it's a function. + /// void *getPointerToGlobal(const GlobalValue *GV); - // getPointerToFunction - The different EE's represent function bodies in - // different ways. They should each implement this to say what a function - // pointer should look like. - // + /// getPointerToFunction - The different EE's represent function bodies in + /// different ways. They should each implement this to say what a function + /// pointer should look like. + /// virtual void *getPointerToFunction(Function *F) = 0; - // getPointerToFunctionOrStub - If the specified function has been code-gen'd, - // return a pointer to the function. If not, compile it, or use a stub to - // implement lazy compilation if available. - // + /// getPointerToFunctionOrStub - If the specified function has been + /// code-gen'd, return a pointer to the function. If not, compile it, or use + /// a stub to implement lazy compilation if available. + /// virtual void *getPointerToFunctionOrStub(Function *F) { // Default implementation, just codegen the function. return getPointerToFunction(F); @@ -99,7 +98,7 @@ public: void InitializeMemory(const Constant *Init, void *Addr); /// recompileAndRelinkFunction - This method is used to force a function - /// which has already been compiled, to be compiled again, possibly + /// 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(). |