From 5eb80a61f582802c3f1caa3bf4dc754847bf1e75 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 31 Jul 2023 08:55:33 -0700 Subject: GH-104909: Move unused cache entries from uops to macros (#107444) There's no need to use a dummy uop to skip unused cache entries. The macro syntax lets you write `unused/1` instead. Similarly, move `unused/5` from op `_LOAD_ATTR_INSTANCE_VALUE` to macro `LOAD_ATTR_INSTANCE_VALUE`. --- Python/executor_cases.c.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Python/executor_cases.c.h') diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index f3e24bc0479..c2f0d0a77b1 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -1009,10 +1009,6 @@ break; } - case _SKIP_CACHE: { - break; - } - case _GUARD_GLOBALS_VERSION: { uint16_t version = (uint16_t)operand; PyDictObject *dict = (PyDictObject *)GLOBALS(); -- cgit v1.2.3