Hi Amin,

Yes, it has all the methods defined. If I take out the assignment, but still 
define a JitPolicy with the hooks, it translates fine.

Cheers,
Magnus
> On 15 Mar 2016, at 10:48, Armin Rigo <ar...@tunes.org> wrote:
> 
> Hi Magnus,
> 
> On 15 March 2016 at 03:32, Magnus Morton <m...@magnusmorton.com> wrote:
>> [translation:ERROR] MissingRTypeAttribute: on_abort
>> [translation:ERROR] .. 
>> (rpython.jit.metainterp.pyjitpl:2224)MetaInterp.aborted_tracing
>> [translation:ERROR] .. block@59 with 2 exits(v1678)
>> [translation:ERROR] .. v1680 = getattr(v1679, ('on_abort'))
> 
> This says that 'on_abort' is not found.  Are you sure you have, like
> pypy/module/pypyjit/hooks.py, written a JitHookInterface subclass
> which provides all the same 'on_*' methods?
> 
> 
> A bientôt,
> 
> Armin.

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to