diff options
| author | Mark Shannon <mark@hotpy.org> | 2020-07-30 10:03:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 10:03:00 +0100 |
| commit | 6e8128f02e1d36e38e5866f9dc36e051caa47bc9 (patch) | |
| tree | 69cb790e96057a35333a9a2de94934d9ab3aab9d /Lib/test/test_dis.py | |
| parent | ba18c0b13ba3c08077ea3db6658328523823a33f (diff) | |
| download | cpython-git-6e8128f02e1d36e38e5866f9dc36e051caa47bc9.tar.gz | |
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)
* Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
Diffstat (limited to 'Lib/test/test_dis.py')
| -rw-r--r-- | Lib/test/test_dis.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py index ac5836d288..4533a016a2 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -360,8 +360,6 @@ dis_tryfinally = """\ 16 CALL_FUNCTION 0 18 POP_TOP 20 RERAISE - 22 LOAD_CONST 0 (None) - 24 RETURN_VALUE """ % (_tryfinally.__code__.co_firstlineno + 1, _tryfinally.__code__.co_firstlineno + 2, _tryfinally.__code__.co_firstlineno + 4, @@ -385,8 +383,6 @@ dis_tryfinallyconst = """\ 16 CALL_FUNCTION 0 18 POP_TOP 20 RERAISE - 22 LOAD_CONST 0 (None) - 24 RETURN_VALUE """ % (_tryfinallyconst.__code__.co_firstlineno + 1, _tryfinallyconst.__code__.co_firstlineno + 2, _tryfinallyconst.__code__.co_firstlineno + 4, |
