[pypy-commit] lang-smalltalk storage: Fix to make the no_specialized_storage flag work.
anton_gulenko
noreply at buildbot.pypy.org
Tue Apr 1 09:41:46 CEST 2014
Author: Anton Gulenko <anton.gulenko at googlemail.com>
Branch: storage
Changeset: r731:b645dc5a80e1
Date: 2014-03-31 20:00 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/b645dc5a80e1/
Log: Fix to make the no_specialized_storage flag work.
diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -65,6 +65,9 @@
return self._w_self.store_with_new_storage(new_storage, n0, w_val)
def can_contain(self, w_val):
return self.static_can_contain(self.space, w_val)
+ @staticmethod
+ def static_can_contain(space, w_val):
+ raise NotImplementedError()
def do_store(self, n0, w_val):
raise NotImplementedError()
def generalized_strategy_for(self, w_val):
More information about the pypy-commit
mailing list