Exemplo n.º 1
0
 def interp_on_abort():
     if pypy_hooks.are_hooks_enabled():
         pypy_hooks.on_abort(Counters.ABORT_TOO_LONG,
                             pypyjitdriver, greenkey, 'blah',
                             Logger(MockSD), cls.oplist_no_descrs)
Exemplo n.º 2
0
 def interp_on_compile_bridge():
     if pypy_hooks.are_hooks_enabled():
         pypy_hooks.after_compile_bridge(di_bridge)
Exemplo n.º 3
0
 def interp_on_optimize():
     if pypy_hooks.are_hooks_enabled():
         di_loop_optimize.oplist = cls.oplist
         pypy_hooks.before_compile(di_loop_optimize)
Exemplo n.º 4
0
 def interp_on_compile():
     di_loop.oplist = cls.oplist
     if pypy_hooks.are_hooks_enabled():
         pypy_hooks.after_compile(di_loop)