From fa41ea33970920611860ad289613018f8af3ca7a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 Dec 2003 06:31:42 +0000 Subject: Doxygenify comments, remove extraneous #include llvm-svn: 10428 --- .../include/llvm/ExecutionEngine/ExecutionEngine.h | 31 +++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'llvm') diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h index f6f725a..f049197 100644 --- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -16,7 +16,6 @@ #define EXECUTION_ENGINE_H #include -#include #include #include @@ -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::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(). -- cgit v1.1