[pypy-commit] lang-smalltalk default: virtualizable2 is now virtualizable

timfel noreply at buildbot.pypy.org
Thu Dec 5 21:48:32 CET 2013


Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch: 
Changeset: r515:a17cd38881fe
Date: 2013-12-05 21:48 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/a17cd38881fe/

Log:	virtualizable2 is now virtualizable

diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -443,7 +443,7 @@
     _attrs_ = ['_s_sender', '_pc', '_temps_and_stack',
             '_stack_ptr', 'instances_w']
 
-    _virtualizable2_ = [
+    _virtualizable_ = [
         "_s_sender", "_pc",
         "_temps_and_stack[*]", "_stack_ptr",
         "_w_self", "_w_self_size"
@@ -1254,7 +1254,7 @@
     def check_overlap(self):
         self.h_dir = 1
         self.v_dir = 1
-        if (self.source_form is not None and 
+        if (self.source_form is not None and
             self.source_form.w_self().is_same_object(self.dest_form.w_self()) and
             self.dy >= self.sy):
             if self.dy > self.sy:


More information about the pypy-commit mailing list