Author: Anton Gulenko <[email protected]>
Branch: storage
Changeset: r914:a742cab321c8
Date: 2014-07-15 23:51 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/a742cab321c8/
Log: Fixed an initialization issue
diff --git a/spyvm/model.py b/spyvm/model.py
--- a/spyvm/model.py
+++ b/spyvm/model.py
@@ -614,8 +614,8 @@
def switch_shadow(self, new_shadow, w_element=None):
old_shadow = self.assert_shadow()
+ self.store_shadow(new_shadow)
old_shadow.copy_into(new_shadow)
- self.store_shadow(new_shadow)
new_shadow.attach_shadow()
self.log_storage("Switched", old_shadow, w_element=w_element)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit