1. Sirius Dely
  2. pypy

Source

pypy / pypy / jit / tool / oparser_model.py

Author Commit Message Date Builds
Maciej Fijalkowski
invent new descrs only for labels
Branches
better-jit-hooks
Maciej Fijalkowski
Implement inventing descrs for jumps and labels (and everything else)
Branches
better-jit-hooks
Hakan Ardo
reenable autoconstruction of jump descr in oparser
Branches
jit-targets
Hakan Ardo
Rename ProcedureToken to JitCellToken. It now refers to all compiled traces starting from a specific JitCell and it is used as a decsr of jumps produced by the frontend to indicate the target of the jump. The optimizer will the convert this to a jump to a TargetToken (which refers to a specific label in an already compiled trace). If that is not yet possible it will be converted into a label resop with a new TargetTocken
Branches
jit-targets
Hakan Ardo
reintroduce inputargs on loops
Branches
jit-targets
Antonio Cuni
test that we actually avoid to import the world when using the mock model with oparser, and fix the tests
Antonio Cuni
remove the last 'big' import
Antonio Cuni
move two more imports to the model
Antonio Cuni
move the import of longlong inside the model
Antonio Cuni
move get_const_ptr_for_* to the model
Antonio Cuni
move LoopToken to the model; it needs a hack to bypass the isinstance check
Antonio Cuni
add minimal support for Const* in the mock model, enough to make tests passing
Antonio Cuni
move Const* to the model; no need to put them in the mock, because self._const is None in that case
Antonio Cuni
make it possible to use either the "real model", which uses the real BoxInt&co. or the "mock model", which uses mock objects; by default the real one is used, but the jitlogparser (used by the jitviewer) uses the latter