2008-09-18 03:15:49 +00:00
|
|
|
class CFunctionMap
|
|
|
|
{
|
2010-05-25 09:15:19 +00:00
|
|
|
protected:
|
|
|
|
typedef CCompiledFunc * PCCompiledFunc;
|
|
|
|
typedef PCCompiledFunc * PCCompiledFunc_TABLE;
|
|
|
|
|
|
|
|
CFunctionMap();
|
|
|
|
~CFunctionMap();
|
|
|
|
|
|
|
|
bool AllocateMemory ( void );
|
2010-06-12 02:02:06 +00:00
|
|
|
void Reset ( void );
|
|
|
|
|
|
|
|
inline PCCompiledFunc_TABLE * FunctionTable ( void ) const { return m_FunctionTable; }
|
|
|
|
inline BYTE ** DelaySlotTable ( void ) const { return m_DelaySlotTable; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CleanBuffers ( void );
|
2010-05-25 09:15:19 +00:00
|
|
|
|
|
|
|
PCCompiledFunc_TABLE * m_FunctionTable;
|
2010-06-07 02:23:58 +00:00
|
|
|
BYTE ** m_DelaySlotTable;
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|