Source

mino-pypy / pypy / translator / backendopt / merge_if_blocks.py

Author Commit Message Labels Comments Date
Alex Gaynor
general cleanup of random stuff in backendopt
Antonio Cuni
fix an obscure case which seems to be produced only with ootype translation. I didn't manage to write a test for it :-(
Branches
ootype-virtualrefs
Carl Friedrich Bolz
kill flatten, which is useless nowadays
Alexander Schremmer
Make backendopts less chatty if verbose is false.
Armin Rigo
Make checkgraph() more strict: it checks that return/except blocks have
Carl Friedrich Bolz
fix a bug in merge_if_blocks: if two of the checked values are the same, then
Armin Rigo
Fix translation. The exitcase is not supposed to be a Constant.
Armin Rigo
Massive untabify.
Anders Chrigström
Extend the 'if ... elif ...' merging to other types than
Carl Friedrich Bolz
bug fix + test: after inlining it is possible that there are int_eq operations
Carl Friedrich Bolz
oops! don't merge chains of ifs, only chains of one if and elifs.
Carl Friedrich Bolz
merge as many blocks as possible per graph
Eric van Riet Paap
(cfbolz, ericvrp): start of a transformation to merge consecutive equality