mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user