From 167072938342981b96d06d739cd97185207b64dd Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Thu, 11 May 2023 05:52:06 -0600 Subject: gh-87849: fix SEND specialization family definition (GH-104268) --- Python/bytecodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/bytecodes.c') 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); -- cgit v1.2.1