Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1670729

Browse filesBrowse files
authored
gh-87849: fix SEND specialization family definition (GH-104268)
1 parent e629ab6 commit 1670729
Copy full SHA for 1670729

File tree

3 files changed

+177
-176
lines changed
Filter options

3 files changed

+177
-176
lines changed

‎Python/bytecodes.c

Copy file name to clipboardExpand all lines: Python/bytecodes.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ dummy_func(
813813
PREDICT(LOAD_CONST);
814814
}
815815

816-
family(for_iter, INLINE_CACHE_ENTRIES_FOR_ITER) = {
816+
family(send, INLINE_CACHE_ENTRIES_SEND) = {
817817
SEND,
818818
SEND_GEN,
819819
};
@@ -866,7 +866,7 @@ dummy_func(
866866
Py_DECREF(v);
867867
}
868868

869-
inst(SEND_GEN, (unused/1, receiver, v -- receiver)) {
869+
inst(SEND_GEN, (unused/1, receiver, v -- receiver, unused)) {
870870
PyGenObject *gen = (PyGenObject *)receiver;
871871
DEOPT_IF(Py_TYPE(gen) != &PyGen_Type &&
872872
Py_TYPE(gen) != &PyCoro_Type, SEND);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.