diff options
| author | Ken Jin <kenjin@python.org> | 2025-12-13 14:38:10 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-13 14:38:10 (GMT) |
| commit | e02a35c36535330bb86b4067104f537aa6da00e4 (patch) | |
| tree | 23ee4d6781201953e5c57246e4143e18e0518d5e /Python/optimizer_bytecodes.c | |
| parent | c98182be8d47a69b9a43c08f58bac7a70c109cc9 (diff) | |
| download | cpython-e02a35c36535330bb86b4067104f537aa6da00e4.zip cpython-e02a35c36535330bb86b4067104f537aa6da00e4.tar.gz cpython-e02a35c36535330bb86b4067104f537aa6da00e4.tar.bz2 | |
gh-134584: Cleanups for GH-135860 (GH-142604)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
| -rw-r--r-- | Python/optimizer_bytecodes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index 61f2dd1..9e76746 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -1097,7 +1097,7 @@ dummy_func(void) { } } - op(_CALL_TUPLE_1, (callable, null, arg -- res)) { + op(_CALL_TUPLE_1, (callable, null, arg -- res, a)) { if (sym_matches_type(arg, &PyTuple_Type)) { // e.g. tuple((1, 2)) or tuple(foo) where foo is known to be a tuple // Note: we must strip the reference information because it goes @@ -1107,6 +1107,7 @@ dummy_func(void) { else { res = sym_new_type(ctx, &PyTuple_Type); } + a = arg; } op(_GUARD_TOS_LIST, (tos -- tos)) { |
