Did I find the right examples for you? yes no

All Samples(13)  |  Call(8)  |  Derive(0)  |  Import(5)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
    def create_empty_history(self):
        warmrunnerstate = self.staticdata.state
        self.history = history.History(self.cpu)
        self.staticdata.stats.set_history(self.history)
 
        must_compile = warmrunnerstate.must_compile_from_failure(resumedescr)
        if must_compile:
            self.history = history.History(self.cpu)
            self.history.inputargs = inputargs
            self.staticdata.profiler.start_tracing()

src/s/y/Sypy-HEAD/jit/metainterp/compile.py   Sypy(Download)
 
from pypy.jit.metainterp.resoperation import ResOperation, rop, get_deep_immutable_oplist
from pypy.jit.metainterp.history import TreeLoop, Box, History, JitCellToken, TargetToken
from pypy.jit.metainterp.history import AbstractFailDescr, BoxInt
from pypy.jit.metainterp.history import BoxPtr, BoxObj, BoxFloat, Const, ConstInt

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/compile.py   plexnet(Download)
 
from pypy.jit.metainterp.resoperation import ResOperation, rop
from pypy.jit.metainterp.history import TreeLoop, log, Box, History, LoopToken
from pypy.jit.metainterp.history import AbstractFailDescr, BoxInt
from pypy.jit.metainterp.history import BoxPtr, BoxObj, BoxFloat, Const

src/s/y/Sypy-HEAD/jit/metainterp/pyjitpl.py   Sypy(Download)
    def create_empty_history(self):
        self.history = history.History()
        self.staticdata.stats.set_history(self.history)
 
    def _all_constants(self, *boxes):
        try:
            self.portal_call_depth = -1 # always one portal around
            self.history = history.History()
            inputargs_and_holes = self.rebuild_state_after_failure(resumedescr)
            self.history.inputargs = [box for box in inputargs_and_holes if box]

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/test/test_compile.py   plexnet(Download)
from pypy.jit.metainterp.history import LoopToken, ConstInt, History, Stats
from pypy.jit.metainterp.specnode import NotSpecNode, ConstantSpecNode
from pypy.jit.metainterp.compile import insert_loop_token, compile_new_loop
from pypy.jit.metainterp.compile import ResumeGuardDescr
from pypy.jit.metainterp import optimize, jitprof, typesystem
    metainterp.staticdata = staticdata
    metainterp.cpu = cpu
    metainterp.history = History(metainterp.cpu)
    metainterp.history.operations = loop.operations[:]
    metainterp.history.inputargs = loop.inputargs[:]
    metainterp.staticdata = staticdata
    metainterp.cpu = cpu
    metainterp.history = History(metainterp.cpu)
    metainterp.history.operations = loop.operations[:]
    metainterp.history.inputargs = loop.inputargs[:]

src/s/y/Sypy-HEAD/jit/metainterp/test/test_pyjitpl.py   Sypy(Download)
from pypy.jit.metainterp import jitprof
from pypy.jit.metainterp.history import BoxInt, ConstInt
from pypy.jit.metainterp.history import History
from pypy.jit.metainterp.resoperation import ResOperation, rop
from pypy.jit.metainterp.optimizeopt.util import equaloplists
        return True
    metainterp = pyjitpl.MetaInterp(FakeStaticData(), None)
    metainterp.history = History()
    b1 = BoxInt(1)
    b2 = BoxInt(2)

src/s/y/Sypy-HEAD/jit/metainterp/test/test_compile.py   Sypy(Download)
from pypy.config.pypyoption import get_pypy_config
from pypy.jit.metainterp.history import TargetToken, ConstInt, History, Stats
from pypy.jit.metainterp.history import BoxInt, INT
from pypy.jit.metainterp.compile import compile_loop
from pypy.jit.metainterp.compile import ResumeGuardDescr
    metainterp.staticdata = staticdata
    metainterp.cpu = cpu
    metainterp.history = History()
    metainterp.history.operations = loop.operations[:-1]
    metainterp.history.inputargs = loop.inputargs[:]