[pypy-commit] lang-smalltalk storage: Fixed an initialization issue
anton_gulenko
noreply at buildbot.pypy.org
Fri Jul 18 14:08:42 CEST 2014
Author: Anton Gulenko <anton.gulenko at googlemail.com>
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)
More information about the pypy-commit
mailing list