[pypy-dev] [pypy-commit] pypy reflex-support: Remove elidable_promote that made the translation choke.

wlavrijsen at lbl.gov wlavrijsen at lbl.gov
Fri Aug 26 19:02:18 CEST 2011


Hi,

On Thu, 25 Aug 2011, WLavrijsen at lbl.gov wrote:
> for functions, I have the interp_w in the calling function, so I'm guessing
> that the problem is with the promote, not with the elidability. I'll change
> that to be the same as for functions, which should then work.

so yes, that was the ticket.

The other thing that I was thinking of, is that since access to the table of
functions to calculate offsets is going through the reflection layer anyway,
it may be possible to bootstrap this and have the call go through inter_cppyy
itself. At that point, the whole thing will be open to the JIT (and be a
rather strict application of "eating one's own dogfood" :) ). It may even be
possible to do this for all functions in the C-API that are called during the
dispatch of functions, as Reflex can run on itself (we already have this in a
package called Relax).

Best regards,
            Wim
-- 
WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net


More information about the pypy-dev mailing list