From 02be09dd001a82c3623376e37e6dcb0840c07216 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 28 Aug 2004 22:34:02 +0000 Subject: [PATCH] Removed inline notation. --- amxmodx/CTask.h | 18 +++++++++--------- amxmodx/JIT/jits.asm | 7 +++---- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/amxmodx/CTask.h b/amxmodx/CTask.h index 4b7e0a8f..fa87b0fc 100755 --- a/amxmodx/CTask.h +++ b/amxmodx/CTask.h @@ -54,19 +54,19 @@ private: // execution float m_fNextExecTime; public: - inline void set(CPluginMngr::CPlugin *pPlugin, int iFunc, int iFlags, int iId, float fBase, int iParamsLen, const cell *pParams, int iRepeat, float fCurrentTime); - inline void clear(); - inline bool isFree() const; + void set(CPluginMngr::CPlugin *pPlugin, int iFunc, int iFlags, int iId, float fBase, int iParamsLen, const cell *pParams, int iRepeat, float fCurrentTime); + void clear(); + bool isFree() const; - inline CPluginMngr::CPlugin *getPlugin() const; - inline int getTaskId() const; + CPluginMngr::CPlugin *getPlugin() const; + int getTaskId() const; - inline void executeIfRequired(float fCurrentTime, float fTimeLimit, float fTimeLeft); // also removes the task if needed + void executeIfRequired(float fCurrentTime, float fTimeLimit, float fTimeLeft); // also removes the task if needed - inline void changeBase(float fNewBase); - inline void resetNextExecTime(float fCurrentTime); + void changeBase(float fNewBase); + void resetNextExecTime(float fCurrentTime); - inline bool shouldRepeat(); + bool shouldRepeat(); CTask(); ~CTask(); diff --git a/amxmodx/JIT/jits.asm b/amxmodx/JIT/jits.asm index 459a5e7f..d7c59bb7 100755 --- a/amxmodx/JIT/jits.asm +++ b/amxmodx/JIT/jits.asm @@ -288,9 +288,9 @@ AMX_FLAG_RELOC equ 8000h ; jump/call addresses relocated ; in the Masm implementation, since it only does two passes. This macro is ; called *after* the code for each Small instruction. %macro CHECKCODESIZE 1 - %if MAXCODESIZE < $-%1 - %assign MAXCODESIZE $-%1 - %endif +; %if MAXCODESIZE < $-%1 +; %assign MAXCODESIZE $-%1 +; %endif %endmacro ; @@ -1989,7 +1989,6 @@ err_stacklow: _CHKMARGIN_STACK: ; some run-time check routines cmp esp,stp - lea ebp,[esp-STACKRESERVE] jg err_stacklow sub ebp,edi cmp hea,ebp