Author: Tim Felgentreff <[email protected]>
Branch: rbitblt
Changeset: r556:03b60ed307da
Date: 2014-01-08 10:37 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/03b60ed307da/
Log: detach form shadow on sync_cache failure
diff --git a/spyvm/plugins/bitblt.py b/spyvm/plugins/bitblt.py
--- a/spyvm/plugins/bitblt.py
+++ b/spyvm/plugins/bitblt.py
@@ -752,5 +752,6 @@
self.pixPerWord = 32 / self.depth
self.pitch = (self.width + (self.pixPerWord - 1)) / self.pixPerWord | 0
if self.w_bits.size() != (self.pitch * self.height):
- # raise error.PrimitiveFailedError()
- pass # - we'll be updated again
+ w_self = self.w_self()
+ assert isinstance(w_self, model.W_PointersObject)
+ w_self._shadow = None
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit