mirror of
https://github.com/python/cpython.git
synced 2026-04-15 00:00:57 +00:00
gh-145866: Convert DICT_UPDATE to leave its inputs on the stack to be cleaned up by _POP_TOP (GH-146190)
This commit is contained in:
parent
8de70b31c5
commit
1516c26399
10 changed files with 1254 additions and 1223 deletions
|
|
@ -1832,6 +1832,11 @@ dummy_func(void) {
|
|||
n = names;
|
||||
}
|
||||
|
||||
op(_DICT_UPDATE, (dict, unused[oparg - 1], update -- dict, unused[oparg - 1], upd)) {
|
||||
(void)dict;
|
||||
upd = update;
|
||||
}
|
||||
|
||||
op(_RECORD_TOS, (tos -- tos)) {
|
||||
sym_set_recorded_value(tos, (PyObject *)this_instr->operand0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue