summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_cases.c.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-05-28 19:47:54 (GMT)
committerGitHub <noreply@github.com>2024-05-28 19:47:54 (GMT)
commit5cd3ffd6b70a63dbae4d34a1b4db033e19184159 (patch)
treee18917b055e6a75fb2ad65d16ed03d7d92081cc7 /Python/optimizer_cases.c.h
parentcfcc054dee87a5a3f18c99d83a2957bf3487de1d (diff)
downloadcpython-5cd3ffd6b70a63dbae4d34a1b4db033e19184159.zip
cpython-5cd3ffd6b70a63dbae4d34a1b4db033e19184159.tar.gz
cpython-5cd3ffd6b70a63dbae4d34a1b4db033e19184159.tar.bz2
GH-119258: Handle STORE_ATTR_WITH_HINT in tier two (GH-119481)
Diffstat (limited to 'Python/optimizer_cases.c.h')
-rw-r--r--Python/optimizer_cases.c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/optimizer_cases.c.h b/Python/optimizer_cases.c.h
index 4d5c803..1b76f14 100644
--- a/Python/optimizer_cases.c.h
+++ b/Python/optimizer_cases.c.h
@@ -1079,7 +1079,10 @@
break;
}
- /* _STORE_ATTR_WITH_HINT is not a viable micro-op for tier 2 */
+ case _STORE_ATTR_WITH_HINT: {
+ stack_pointer += -2;
+ break;
+ }
case _STORE_ATTR_SLOT: {
stack_pointer += -2;