diff --git a/amxmodx/JIT/jits-lineop.o b/amxmodx/JIT/jits-lineop.o deleted file mode 100755 index f15a1b5f..00000000 Binary files a/amxmodx/JIT/jits-lineop.o and /dev/null differ diff --git a/amxmodx/JIT/jits.asm b/amxmodx/JIT/jits.asm index 4026c3d6..673502f8 100755 --- a/amxmodx/JIT/jits.asm +++ b/amxmodx/JIT/jits.asm @@ -1728,15 +1728,20 @@ OP_FILE: ;opcode is simply ignored OP_LINE: ;nop; ;~dvander - opline is now variable on compile time :] - push eax - push ebp - mov ebp,[amxhead] - mov eax,[ebp+_h_flags] - and eax,AMX_FLAG_LINEOPS - cmp eax,AMX_FLAG_LINEOPS - pop ebp - pop eax - je _go_debug + ;save registers + push eax + push ebp + ;get .amx flags + mov ebp,[amxhead] + mov eax,[ebp+_h_flags] + ;check to see if the flag has line ops + and eax,AMX_FLAG_LINEOPS + cmp eax,AMX_FLAG_LINEOPS + ;restore registers + pop ebp + pop eax + ;if so, skip down to debug compiler + je _go_debug mov [ebx],edi ; no line number support: ignore opcode add ebx,12 ; move on to next opcode diff --git a/amxmodx/JIT/jits.def b/amxmodx/JIT/jits.def deleted file mode 100755 index 970881a5..00000000 --- a/amxmodx/JIT/jits.def +++ /dev/null @@ -1,10 +0,0 @@ -LIBRARY jits -DESCRIPTION "JIT for AMX Mod X" -EXPORTS - asm_runJIT @1 - getMaxCodeSize @2 - amx_exec_asm @3 - amx_opcodelist @4 -SECTIONS - .data READ WRITE - .code EXECUTE \ No newline at end of file diff --git a/amxmodx/JIT/jits.exp b/amxmodx/JIT/jits.exp deleted file mode 100755 index df1c0fcf..00000000 Binary files a/amxmodx/JIT/jits.exp and /dev/null differ diff --git a/amxmodx/JIT/jits.lib b/amxmodx/JIT/jits.lib deleted file mode 100755 index 1652b7bd..00000000 Binary files a/amxmodx/JIT/jits.lib and /dev/null differ diff --git a/amxmodx/JIT/jits.obj b/amxmodx/JIT/jits.obj new file mode 100755 index 00000000..e3bb10f9 Binary files /dev/null and b/amxmodx/JIT/jits.obj differ