19.03.2012, 14:24
(
Last edited by KingJ; 25/03/2013 at 01:40 PM.
Reason: Updated URL
)
This is a Just-In-Time (JIT) compiler for AMX.
It translates AMX bytecode (the code produced by Pawn compiler) to native x86 code at run time to speed up script execution. You can read more about JIT compilation here.
Download
Changelog:
If JIT suddenly crashes your server consider running samp-server.exe under ProcDump and submitting the .dmp file to me. To do that open command prompt, cd to you server directory and run this command
It translates AMX bytecode (the code produced by Pawn compiler) to native x86 code at run time to speed up script execution. You can read more about JIT compilation here.
Download
Changelog:
Code:
v0.3.2 - 27/03/2012 - Fixed crash of HALT/BOUNDS instructions - Fixed crash if native function is not found - now a runtime error 19 is shown instead v0.3.1 - 26/03/2012 - Fixed crash during compilation if script contains an empty switch statement - Fixed crash if server.cfg contains non-ASCII characters - Added support for LCTRL 6/SCTRL 6 - Added support for CALL.pri/JUMP.pri v0.3 - 25/03/2012 - Now the whole script is compiled at once, when AMX is loaded. If an error occurs during JIT compilation, a message is printed and the code is run as usually i.e. without JIT. - Mad it possible to set the size of stack on which JIT code is executed via the "jit_stack" option in server.cfg. - Reduced CALL overhead of recursive functions, thanks to first item. - Made it possible for JUMP/JCC to jump outside of function bounds. v0.2 - 23/03/2012 - Ported to AsmJit - http://code.******.com/p/asmjit/ - which automatically fixed a few issues v0.1 - 19/03/2012 - Initial release
If JIT suddenly crashes your server consider running samp-server.exe under ProcDump and submitting the .dmp file to me. To do that open command prompt, cd to you server directory and run this command
Code:
path/to/procdump.exe -e -ma -x samp-server.exe samp-server.dmp