1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/sourcepawn/jit/jit_function.h Fri Aug 15 05:22:26 2008 +0000
1.3 @@ -0,0 +1,19 @@
1.4 +#ifndef _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
1.5 +#define _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
1.6 +
1.7 +#include <sp_vm_types.h>
1.8 +
1.9 +class JitFunction
1.10 +{
1.11 +public:
1.12 + JitFunction(void *entry_addr, cell_t pcode_offs);
1.13 + ~JitFunction();
1.14 +public:
1.15 + void *GetEntryAddress();
1.16 + cell_t GetPCodeAddress();
1.17 +private:
1.18 + void *m_pEntryAddr;
1.19 + cell_t m_PcodeOffs;
1.20 +};
1.21 +
1.22 +#endif //_INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_