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:
Neko Asakura 2026-03-27 13:04:17 -04:00 committed by GitHub
parent 1417737810
commit a492d9ff74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1171 additions and 1140 deletions

View file

@ -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;