diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-01-19 14:49:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 14:49:26 (GMT) |
commit | 7e49f27b41d5728cde1f8790586d113ddc25f18d (patch) | |
tree | 921c12198de0b9eb0b176a0ba45f9dc4249ed45c /Lib/test/test_dis.py | |
parent | efb81a60f5ce7e192095230a0f7ff9684d6f835a (diff) | |
download | cpython-7e49f27b41d5728cde1f8790586d113ddc25f18d.zip cpython-7e49f27b41d5728cde1f8790586d113ddc25f18d.tar.gz cpython-7e49f27b41d5728cde1f8790586d113ddc25f18d.tar.bz2 |
gh-114265: move line number propagation before cfg optimization, remove guarantee_lineno_for_exits (#114267)
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r-- | Lib/test/test_dis.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py index 097f05a..3ae81b2 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -577,14 +577,10 @@ dis_asyncwith = """\ RETURN_CONST 0 (None) %4d L12: CLEANUP_THROW - - -- L13: JUMP_BACKWARD_NO_INTERRUPT 25 (to L5) - -%4d L14: CLEANUP_THROW - - -- L15: JUMP_BACKWARD_NO_INTERRUPT 9 (to L11) - -%4d L16: PUSH_EXC_INFO + L13: JUMP_BACKWARD_NO_INTERRUPT 25 (to L5) + L14: CLEANUP_THROW + L15: JUMP_BACKWARD_NO_INTERRUPT 9 (to L11) + L16: PUSH_EXC_INFO WITH_EXCEPT_START GET_AWAITABLE 2 LOAD_CONST 0 (None) @@ -630,8 +626,6 @@ ExceptionTable: _asyncwith.__code__.co_firstlineno + 1, _asyncwith.__code__.co_firstlineno + 3, _asyncwith.__code__.co_firstlineno + 1, - _asyncwith.__code__.co_firstlineno + 1, - _asyncwith.__code__.co_firstlineno + 1, _asyncwith.__code__.co_firstlineno + 3, ) |