[pypy-dev] [pypy-commit] pypy unroll-if-alt: a) Renamed @unroll_if to @look_inside_iff at carl's request
Antonio Cuni
anto.cuni at gmail.com
Wed Aug 3 10:06:23 CEST 2011
On 03/08/11 02:16, alex_gaynor wrote:
> Author: Alex Gaynor<alex.gaynor at gmail.com>
> Branch: unroll-if-alt
> Changeset: r46219:524483d98407
> Date: 2011-08-02 17:17 -0700
> http://bitbucket.org/pypy/pypy/changeset/524483d98407/
>
> Log: a) Renamed @unroll_if to @look_inside_iff at carl's request b)
> Unroll Argument.unpack if one should. c) Leave a comment about a
> small level mess with keyword argumengs and the decorator
>
> diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py
> --- a/pypy/interpreter/argument.py
> +++ b/pypy/interpreter/argument.py
> @@ -125,6 +125,7 @@
>
> ### Manipulation ###
>
> + @jit.look_inside_iff(lambda self: not self._dont_jit)
> def unpack(self): # slowish
> "Return a ([w1,w2...], {'kw':w3...}) pair."
> kwds_w = {}
> @@ -245,6 +246,8 @@
I think that this should have a test_pypy_c test.
ciao,
Anto
More information about the pypy-dev
mailing list