Author: Lars Wassermann <[email protected]>
Branch:
Changeset: r379:cd9d6bc86103
Date: 2013-05-07 10:39 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/cd9d6bc86103/
Log: added is_closure_context to BlockContextShadow to fix some of our
tests
diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -811,6 +811,9 @@
# A blockcontext doesn't have any temps
return 0
+ def is_closure_context(self):
+ return True
+
def short_str(self, argcount):
return 'BlockContext of %s (%s) [%d]' % (
self.w_method().get_identifier_string(),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit