mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-104635: Eliminate redundant STORE_FAST instructions in the compiler (gh-105320)
This commit is contained in:
parent
ffeaec7e60
commit
aa5b762bd3
4 changed files with 58 additions and 10 deletions
|
@ -808,8 +808,9 @@ dis_extended_arg_quick_code = """\
|
|||
%3d 2 LOAD_CONST 1 (Ellipsis)
|
||||
4 EXTENDED_ARG 1
|
||||
6 UNPACK_EX 256
|
||||
8 STORE_FAST_STORE_FAST 0 (_, _)
|
||||
10 RETURN_CONST 0 (None)
|
||||
8 POP_TOP
|
||||
10 STORE_FAST 0 (_)
|
||||
12 RETURN_CONST 0 (None)
|
||||
"""% (extended_arg_quick.__code__.co_firstlineno,
|
||||
extended_arg_quick.__code__.co_firstlineno + 1,)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue