[pypy-commit] lang-smalltalk default: fix COPY_BITS prim if we call the rpython plugin

timfel noreply at buildbot.pypy.org
Fri Feb 7 09:55:33 CET 2014


Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch: 
Changeset: r596:2d1aef2a70a3
Date: 2014-02-05 10:15 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/2d1aef2a70a3/

Log:	fix COPY_BITS prim if we call the rpython plugin

diff --git a/spyvm/primitives.py b/spyvm/primitives.py
--- a/spyvm/primitives.py
+++ b/spyvm/primitives.py
@@ -659,7 +659,8 @@
         return w_rcvr
     except shadow.MethodNotFound:
         from spyvm.plugins.bitblt import BitBltPlugin
-        return BitBltPlugin.call("primitiveCopyBits", interp, s_frame, argcount, s_method)
+        BitBltPlugin.call("primitiveCopyBits", interp, s_frame, argcount, s_method)
+        return w_rcvr
 
 @expose_primitive(BE_CURSOR)
 def func(interp, s_frame, argcount):


More information about the pypy-commit mailing list