diff --git a/src/asmjit/base/memorymanager.h b/src/asmjit/base/memorymanager.h index 389126e..a48a8cd 100644 --- a/src/asmjit/base/memorymanager.h +++ b/src/asmjit/base/memorymanager.h @@ -23,13 +23,11 @@ namespace asmjit { // [asmjit::kVirtualAlloc] // ============================================================================ -//! @brief Type of virtual memory allocation, see @c asmjit::MemoryManager::alloc(). +//! @brief Type of virtual memory allocation, see @ref MemoryManager::alloc(). ASMJIT_ENUM(kVirtualAlloc) { - //! @brief Normal memory allocation, allocated memory can be free by calling - //! @ref asmjit::MemoryManager::free() - //! method. + //! @brief Normal memory allocation, has to be freed by @ref MemoryManager::release(). kVirtualAllocFreeable = 0, - //! @brief Allocate permanent memory that will be never freed. + //! @brief Allocate permanent memory, can't be freed. kVirtualAllocPermanent = 1 }; diff --git a/src/asmjit/base/runtime.h b/src/asmjit/base/runtime.h index 8d137a6..b8e8dd5 100644 --- a/src/asmjit/base/runtime.h +++ b/src/asmjit/base/runtime.h @@ -74,6 +74,7 @@ struct BaseRuntime { // [asmjit::JitRuntime] // ============================================================================ +//! @brief JIT runtime. struct JitRuntime : public BaseRuntime { ASMJIT_NO_COPY(JitRuntime) diff --git a/src/asmjit/x86/x86compiler.h b/src/asmjit/x86/x86compiler.h index 45e9417..0648dcc 100644 --- a/src/asmjit/x86/x86compiler.h +++ b/src/asmjit/x86/x86compiler.h @@ -819,7 +819,7 @@ struct X86X64CallNode : public CallNode { //! Compiler c; //! GpVar a0(c, kVarTypeIntPtr); //! -//! c.addFunc(kFuncConvHost, BuildFunction1()); +//! c.addFunc(kFuncConvHost, FuncBuilder1()); //! c.setArg(0, a0); //! //! // Create your variables. @@ -1277,10 +1277,10 @@ struct X86X64Compiler : public BaseCompiler { //! by @c Compiler. First parameter @a cconv specifies function calling //! convention to use. Second parameter @a params specifies function //! arguments. To create function arguments are used templates - //! @c BuildFunction0<...>, @c BuildFunction1<...>, @c BuildFunction2<...>, + //! @c FuncBuilder0<...>, @c FuncBuilder1<...>, @c FuncBuilder2<...>, //! etc... //! - //! Templates with BuildFunction prefix are used to generate argument IDs + //! Templates with FuncBuilder prefix are used to generate argument IDs //! based on real C++ types. See next example how to generate function with //! two 32-bit integer arguments. //! @@ -1295,7 +1295,7 @@ struct X86X64Compiler : public BaseCompiler { //! // Default calling convention (32-bit cdecl or 64-bit for host OS) //! kFuncConvHost, //! // Using function builder to generate arguments list - //! BuildFunction2()); + //! FuncBuilder2()); //! //! // End of function (also emits function @c Epilog) //! c.endFunc(); @@ -1319,7 +1319,7 @@ struct X86X64Compiler : public BaseCompiler { //! // Default calling convention (32-bit cdecl or 64-bit for host OS) //! kFuncConvHost, //! // Using function builder to generate arguments list - //! BuildFunction2()); + //! FuncBuilder2()); //! //! c.setArg(0, a0); //! c.setArg(1, a1); @@ -1338,7 +1338,7 @@ struct X86X64Compiler : public BaseCompiler { //! pointer to @c asmjit::Function returned by @c asmjit::Compiler::addFunc<> //! method. Recommended is to save the pointer. //! - //! @sa @c BuildFunction0, @c BuildFunction1, @c BuildFunction2, ... + //! @sa @c FuncBuilder0, @c FuncBuilder1, @c FuncBuilder2, ... ASMJIT_API X86X64FuncNode* addFunc(uint32_t conv, const FuncPrototype& p); //! @brief End of current function.