]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)
authorMark Shannon <mark@hotpy.org>
Thu, 30 Jul 2020 09:03:00 +0000 (10:03 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 09:03:00 +0000 (10:03 +0100)
commit6e8128f02e1d36e38e5866f9dc36e051caa47bc9
tree69cb790e96057a35333a9a2de94934d9ab3aab9d
parentba18c0b13ba3c08077ea3db6658328523823a33f
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)

* Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
12 files changed:
Lib/test/test_dis.py
Lib/test/test_peepholer.py
Lib/test/test_sys_settrace.py
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2020-07-17-11-31-54.bpo-41323.ChbZHh.rst [new file with mode: 0644]
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/compile.c
Python/importlib.h
Python/importlib_external.h
Python/importlib_zipimport.h
Python/peephole.c [deleted file]