mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- Remove valgrind code, now that the assembly stuff is gone.
This commit is contained in:
parent
3fbe41957d
commit
67b2e2f52e
2 changed files with 0 additions and 32 deletions
|
@ -196,7 +196,6 @@ else()
|
||||||
else()
|
else()
|
||||||
option( NO_GTK "Disable GTK+ dialogs (Not applicable to Windows)" )
|
option( NO_GTK "Disable GTK+ dialogs (Not applicable to Windows)" )
|
||||||
option( DYN_GTK "Load GTK+ at runtime instead of compile time" ON )
|
option( DYN_GTK "Load GTK+ at runtime instead of compile time" ON )
|
||||||
option( VALGRIND "Add special Valgrind sequences to self-modifying code" )
|
|
||||||
|
|
||||||
set( FMOD_SEARCH_PATHS
|
set( FMOD_SEARCH_PATHS
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
%ifdef VALGRIND_AWARE
|
|
||||||
|
|
||||||
%define VG_USERREQ__DISCARD_TRANSLATIONS 0x1002
|
|
||||||
|
|
||||||
%macro selfmod 2
|
|
||||||
pusha
|
|
||||||
sub esp,6*4
|
|
||||||
mov dword [esp], VG_USERREQ__DISCARD_TRANSLATIONS
|
|
||||||
mov dword [esp+4], %1
|
|
||||||
mov dword [esp+8], %2 - %1
|
|
||||||
mov dword [esp+12], 0
|
|
||||||
mov dword [esp+16], 0
|
|
||||||
mov dword [esp+20], 0
|
|
||||||
mov eax, esp
|
|
||||||
; special instruction preamble
|
|
||||||
rol edi, 3
|
|
||||||
rol edi, 13
|
|
||||||
rol edi, 29
|
|
||||||
rol edi, 19
|
|
||||||
xchg ebx, ebx
|
|
||||||
; restore state
|
|
||||||
add esp,6*4
|
|
||||||
popa
|
|
||||||
%endmacro
|
|
||||||
|
|
||||||
%else
|
|
||||||
|
|
||||||
%macro selfmod 2
|
|
||||||
%endmacro
|
|
||||||
|
|
||||||
%endif
|
|
Loading…
Reference in a new issue