diff options
author | Carl Meyer <carl@oddbird.net> | 2023-05-11 05:52:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 12:52:06 +0100 |
commit | 167072938342981b96d06d739cd97185207b64dd (patch) | |
tree | 7dd89a275fa623df8a32fcfc491dc8ef3a2c5c71 /Python/bytecodes.c | |
parent | e629ab6adf19544d5ee3f87bd1a9e9ff90808a08 (diff) | |
download | cpython-git-167072938342981b96d06d739cd97185207b64dd.tar.gz |
gh-87849: fix SEND specialization family definition (GH-104268)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 82c1004441..1c09dc6be3 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -813,7 +813,7 @@ dummy_func( PREDICT(LOAD_CONST); } - family(for_iter, INLINE_CACHE_ENTRIES_FOR_ITER) = { + family(send, INLINE_CACHE_ENTRIES_SEND) = { SEND, SEND_GEN, }; @@ -866,7 +866,7 @@ dummy_func( Py_DECREF(v); } - inst(SEND_GEN, (unused/1, receiver, v -- receiver)) { + inst(SEND_GEN, (unused/1, receiver, v -- receiver, unused)) { PyGenObject *gen = (PyGenObject *)receiver; DEOPT_IF(Py_TYPE(gen) != &PyGen_Type && Py_TYPE(gen) != &PyCoro_Type, SEND); |