[pypy-commit] pypy release-2.1.x: it seems this is enough to enable fastpath for ['self', 'space'] unwrap_spec
fijal
noreply at buildbot.pypy.org
Wed Jul 10 17:21:50 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
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")
More information about the pypy-commit
mailing list