mirror of
https://github.com/python/cpython.git
synced 2026-04-15 00:00:57 +00:00
gh-145866: Convert SET_UPDATE to leave its inputs on the stack to be cleaned up by _POP_TOP (GH-145979)
This commit is contained in:
parent
982459132b
commit
0d37e423d5
10 changed files with 1030 additions and 981 deletions
|
|
@ -1326,6 +1326,11 @@ dummy_func(void) {
|
|||
set = sym_new_type(ctx, &PySet_Type);
|
||||
}
|
||||
|
||||
op(_SET_UPDATE, (set, unused[oparg-1], iterable -- set, unused[oparg-1], i)) {
|
||||
(void)set;
|
||||
i = iterable;
|
||||
}
|
||||
|
||||
op(_UNPACK_SEQUENCE_TWO_TUPLE, (seq -- val1, val0)) {
|
||||
val0 = sym_tuple_getitem(ctx, seq, 0);
|
||||
val1 = sym_tuple_getitem(ctx, seq, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue