[pypy-commit] pypy jitframe-on-heap: try harder to use valgrind

fijal noreply at buildbot.pypy.org
Wed Jan 23 19:55:58 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60384:9de45c866547
Date: 2013-01-23 20:55 +0200
http://bitbucket.org/pypy/pypy/changeset/9de45c866547/

Log:	try harder to use valgrind

diff --git a/rpython/jit/backend/x86/valgrind.py b/rpython/jit/backend/x86/valgrind.py
--- a/rpython/jit/backend/x86/valgrind.py
+++ b/rpython/jit/backend/x86/valgrind.py
@@ -26,5 +26,5 @@
 # ____________________________________________________________
 
 def discard_translations(data, size):
-    if we_are_translated() and VALGRIND_DISCARD_TRANSLATIONS is not None:
-        VALGRIND_DISCARD_TRANSLATIONS(llmemory.cast_int_to_adr(data), size)
+    #if we_are_translated() and VALGRIND_DISCARD_TRANSLATIONS is not None:
+    VALGRIND_DISCARD_TRANSLATIONS(llmemory.cast_int_to_adr(data), size)


More information about the pypy-commit mailing list