Author: Lars Wassermann <[email protected]>
Branch: 
Changeset: r288:7ee37752fdbd
Date: 2013-04-16 16:23 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/7ee37752fdbd/

Log:    removed tracing from code called by bitBlt primitive to reproduce
        errors of normal execution faster

diff --git a/spyvm/primitives.py b/spyvm/primitives.py
--- a/spyvm/primitives.py
+++ b/spyvm/primitives.py
@@ -563,9 +563,13 @@
         raise PrimitiveFailedError
 
     space = interp.space
+    trace = interp.trace
+    interp.trace = False
     try:
         s_frame._sendSelfSelector(interp.image.w_simulateCopyBits, 0, interp)
+        interp.trace = trace
     except Return:
+        interp.trace = trace
         w_dest_form = w_rcvr.fetch(space, 0)
         if w_dest_form.is_same_object(space.objtable['w_display']):
             w_bitmap = w_dest_form.fetch(space, 0)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to