mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-114265: move line number propagation before cfg optimization, remove guarantee_lineno_for_exits (#114267)
This commit is contained in:
parent
efb81a60f5
commit
7e49f27b41
4 changed files with 61 additions and 64 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue