[pypy-svn] r57739 - pypy/branch/garden-call-code-2/pypy/interpreter
pedronis at codespeak.net
pedronis at codespeak.net
Mon Sep 1 23:57:37 CEST 2008
Author: pedronis
Date: Mon Sep 1 23:57:36 2008
New Revision: 57739
Modified:
pypy/branch/garden-call-code-2/pypy/interpreter/pycode.py
Log:
the shortcut in funccall works for any pycode arity
Modified: pypy/branch/garden-call-code-2/pypy/interpreter/pycode.py
==============================================================================
--- pypy/branch/garden-call-code-2/pypy/interpreter/pycode.py (original)
+++ pypy/branch/garden-call-code-2/pypy/interpreter/pycode.py Mon Sep 1 23:57:36 2008
@@ -163,8 +163,6 @@
def _compute_fastcall(self):
# Speed hack!
self.fast_natural_arity = -99
- if not (0 <= self.co_argcount <= 4):
- return
if self.co_flags & (CO_VARARGS | CO_VARKEYWORDS):
return
if len(self._args_as_cellvars) > 0:
More information about the Pypy-commit
mailing list