Author: Maciej Fijalkowski <[email protected]>
Branch: release-2.1.x
Changeset: r65319:9baca13ddc39
Date: 2013-07-09 15:04 +0200
http://bitbucket.org/pypy/pypy/changeset/9baca13ddc39/
Log: it seems this is enough to enable fastpath for ['self', 'space']
unwrap_spec
diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py
--- a/pypy/interpreter/gateway.py
+++ b/pypy/interpreter/gateway.py
@@ -347,7 +347,7 @@
(self.use(typ), self.nextarg()))
def visit__ObjSpace(self, el):
- if self.finger != 0:
+ if self.finger > 1:
raise FastFuncNotSupported
self.unwrap.append("space")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit