Carl Friedrich Bolz-Tereick pushed to branch branch/py3.10-bytecode-positions at PyPy / pypy
Commits: 70a979fc by Carl Friedrich Bolz-Tereick at 2023-03-07T09:50:54+01:00 add some code to show the astcompiler blocks as a flow gragh --HG-- branch : py3.10-bytecode-positions - - - - - e861b0db by Carl Friedrich Bolz-Tereick at 2023-03-07T11:50:56+01:00 copy cpython's duplicate_exits_without_lineno logic --HG-- branch : py3.10-bytecode-positions - - - - - 0eb57ef3 by Carl Friedrich Bolz-Tereick at 2023-03-07T11:58:02+01:00 next test, quite a bit trickier --HG-- branch : py3.10-bytecode-positions - - - - - ce016ee9 by Carl Friedrich Bolz-Tereick at 2023-03-07T12:19:31+01:00 this is not it, yet --HG-- branch : py3.10-bytecode-positions - - - - - 2a2b8683 by Carl Friedrich Bolz-Tereick at 2023-03-07T12:40:40+01:00 refactor bytecode compiler Instruction class a tiny bit: encode the jump target less weirdly - - - - - 2fa960c1 by Carl Friedrich Bolz-Tereick at 2023-03-07T13:11:12+01:00 allow using a default in dict_to_switch with int keys - - - - - 9caabffe by Carl Friedrich Bolz-Tereick at 2023-03-07T13:11:27+01:00 use dict_to_switch to be more efficient - - - - - 1e9411b6 by Carl Friedrich Bolz-Tereick at 2023-03-07T13:42:32+01:00 small improvement, rename have_return to be more clear what it means, and add other opcodes that end the execution of a block - - - - - 899f35bf by Carl Friedrich Bolz-Tereick at 2023-03-07T13:46:43+01:00 remove PythonCodeMaker.instrs - - - - - 9114d56f by Carl Friedrich Bolz-Tereick at 2023-03-07T22:31:00+01:00 merge default --HG-- branch : py3.9 - - - - - 1579fac8 by Carl Friedrich Bolz-Tereick at 2023-03-08T10:35:26+01:00 merge py3.9 --HG-- branch : py3.10 - - - - - 830ebeec by Carl Friedrich Bolz-Tereick at 2023-03-08T11:43:03+01:00 merge py3.10 --HG-- branch : py3.10-bytecode-positions - - - - - 3070dc8e by Carl Friedrich Bolz-Tereick at 2023-03-08T11:55:39+01:00 fixes --HG-- branch : py3.10-bytecode-positions - - - - - 0fdf7716 by Carl Friedrich Bolz-Tereick at 2023-03-08T16:49:22+01:00 move jump threading into its own function --HG-- branch : py3.10-bytecode-positions - - - - - 1a240813 by Carl Friedrich Bolz-Tereick at 2023-03-08T17:48:49+01:00 this passes like CPython now --HG-- branch : py3.10-bytecode-positions - - - - - c99d816c by Carl Friedrich Bolz-Tereick at 2023-03-08T19:27:00+01:00 fix lineno of RERAISE in finally blocks --HG-- branch : py3.10-bytecode-positions - - - - - 1372570c by Carl Friedrich Bolz-Tereick at 2023-03-08T19:47:45+01:00 update the tests to be like CPy --HG-- branch : py3.10-bytecode-positions - - - - - 71b047ab by Carl Friedrich Bolz-Tereick at 2023-03-08T19:53:10+01:00 kill test that simply does not make sense any more in 3.10 --HG-- branch : py3.10-bytecode-positions - - - - - 984a3724 by Carl Friedrich Bolz-Tereick at 2023-03-10T08:42:03+01:00 this is the next test I want to pass, the implicit RETURN_VALUE opcode needs to be on line 1 --HG-- branch : py3.10-bytecode-positions - - - - - e04c4ecc by Carl Friedrich Bolz-Tereick at 2023-03-15T10:26:05+01:00 propagate position info to pass test_loop_return --HG-- branch : py3.10-bytecode-positions - - - - - 48fd2ae8 by Carl Friedrich Bolz-Tereick at 2023-03-15T11:03:27+01:00 fix test_f_lineno_set_firstline: if the tracer sets the lineno, don't set it back --HG-- branch : py3.10-bytecode-positions - - - - - 9 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/astcompiler/test/test_misc.py - pypy/interpreter/executioncontext.py - pypy/interpreter/pyframe.py - rpython/rlib/objectmodel.py - rpython/rlib/test/test_objectmodel.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c44c9e848692aed4ea2a529faa143473570035e3...48fd2ae85d714c5f2d312835997899876450a97b -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c44c9e848692aed4ea2a529faa143473570035e3...48fd2ae85d714c5f2d312835997899876450a97b 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