mirror of
https://github.com/python/cpython.git
synced 2026-04-15 00:00:57 +00:00
gh-145866: Convert LIST_EXTEND to leave its inputs on the stack to be cleaned up by _POP_TOP be cleaned up by _POP_TOP (GH-146383)
This commit is contained in:
parent
1417737810
commit
a492d9ff74
10 changed files with 1171 additions and 1140 deletions
|
|
@ -1543,6 +1543,11 @@ dummy_func(void) {
|
|||
i = iterable;
|
||||
}
|
||||
|
||||
op(_LIST_EXTEND, (list_st, unused[oparg-1], iterable_st -- list_st, unused[oparg-1], i)) {
|
||||
(void)list_st;
|
||||
i = iterable_st;
|
||||
}
|
||||
|
||||
op(_DICT_MERGE, (callable, unused, unused, dict, unused[oparg - 1], update -- callable, unused, unused, dict, unused[oparg - 1], u)) {
|
||||
(void)callable;
|
||||
(void)dict;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue