Carl Friedrich Bolz-Tereick pushed to branch branch/py3.10-bytecode-positions 
at PyPy / pypy


Commits:
6a0505a4 by Carl Friedrich Bolz-Tereick at 2023-03-20T10:14:01+01:00
test and fix: be a bit more thorough in duplicating blocks without line info
leading to an implicit return or an implicit reraise

--HG--
branch : py3.10-bytecode-positions

- - - - -
7f1b948a by Carl Friedrich Bolz-Tereick at 2023-03-20T10:31:35+01:00
fix revdb tests

--HG--
branch : py3.10-bytecode-positions

- - - - -
ad20cc71 by Carl Friedrich Bolz-Tereick at 2023-03-20T10:45:00+01:00
optimize assert 0

--HG--
branch : py3.10-bytecode-positions

- - - - -
0509e464 by Carl Friedrich Bolz-Tereick at 2023-03-20T11:04:41+01:00
typo

--HG--
branch : py3.10-bytecode-positions

- - - - -
b21e81b5 by Carl Friedrich Bolz-Tereick at 2023-03-20T11:38:02+01:00
two more optimizations:

- make accept_jump_if generally look into the constness of its condition
- remove JUMP_FORWARDS that go to the block that would be reached by falling
  through anyway

--HG--
branch : py3.10-bytecode-positions

- - - - -
f6543c60 by Carl Friedrich Bolz-Tereick at 2023-03-20T13:29:22+01:00
an attempt to be a bit less messy, has other downsides of requiring annoying
bit manipulation in propagate_positions though

--HG--
branch : py3.10-bytecode-positions

- - - - -
660da28f by Carl Friedrich Bolz-Tereick at 2023-03-20T14:48:19+01:00
cleanup, plus a bug fix

--HG--
branch : py3.10-bytecode-positions

- - - - -
fc7f362e by Carl Friedrich Bolz-Tereick at 2023-03-20T15:44:52+01:00
use a StringBuilder

--HG--
branch : py3.10-bytecode-positions

- - - - -
afa766e1 by Carl Friedrich Bolz-Tereick at 2023-03-20T15:51:28+01:00
use a StringBuilder for building the position info byte string

--HG--
branch : py3.10-bytecode-positions

- - - - -


8 changed files:

- pypy/interpreter/astcompiler/assemble.py
- pypy/interpreter/astcompiler/codegen.py
- pypy/interpreter/astcompiler/optimize.py
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/interpreter/location.py
- pypy/interpreter/pycode.py
- pypy/interpreter/reverse_debugging.py
- pypy/interpreter/test/apptest_pyframe.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/e55f43a7740efc20cec4da786ecc67ed03a7ae3b...afa766e1fc288c16e678f0908c72683d82c1fc16

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/e55f43a7740efc20cec4da786ecc67ed03a7ae3b...afa766e1fc288c16e678f0908c72683d82c1fc16
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to