Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/s/y/Sypy-HEAD/jit/metainterp/pyjitpl.py   Sypy(Download)
from pypy.jit.metainterp.jitprof import EmptyProfiler
from pypy.jit.metainterp.jitprof import GUARDS, RECORDED_OPS, ABORT_ESCAPE
from pypy.jit.metainterp.jitprof import ABORT_TOO_LONG, ABORT_BRIDGE, \
                                        ABORT_FORCE_QUASIIMMUT, ABORT_BAD_LOOP
from pypy.jit.metainterp.jitexc import JitException, get_llexception
                warmrunnerstate.disable_noninlinable_function(
                    greenkey_of_huge_function)
            raise SwitchToBlackhole(ABORT_TOO_LONG)
 
    def _interpret(self):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
from pypy.jit.metainterp.jitprof import BLACKHOLED_OPS, EmptyProfiler
from pypy.jit.metainterp.jitprof import GUARDS, RECORDED_OPS
from pypy.jit.metainterp.jitprof import ABORT_TOO_LONG, ABORT_BRIDGE
from pypy.rlib.rarithmetic import intmask
from pypy.rlib.objectmodel import specialize
    def switch_to_blackhole_if_trace_too_long(self):
        if not self.is_blackholing():
            warmrunnerstate = self.staticdata.state
            if len(self.history.operations) > warmrunnerstate.trace_limit:
                self.staticdata.profiler.count(ABORT_TOO_LONG)

src/s/y/Sypy-HEAD/module/pypyjit/test/test_jit_hook.py   Sypy(Download)
from pypy.jit.tool.oparser import parse
from pypy.jit.metainterp.typesystem import llhelper
from pypy.jit.metainterp.jitprof import ABORT_TOO_LONG
from pypy.rlib.jit import JitDebugInfo, AsmInfo
 
        def interp_on_abort():
            pypy_hooks.on_abort(ABORT_TOO_LONG, pypyjitdriver, greenkey,
                                'blah')
 
        cls.w_on_compile = space.wrap(interp2app(interp_on_compile))