diff options
author | Guido van Rossum <guido@python.org> | 2023-07-31 08:55:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 08:55:33 -0700 |
commit | 5eb80a61f582802c3f1caa3bf4dc754847bf1e75 (patch) | |
tree | ffc01c0fff264f749a1c7666d367df1ae7822080 /Python/executor_cases.c.h | |
parent | a22ff8e11c114e0c4c54c57b9e7f7520db9d5163 (diff) | |
download | cpython-5eb80a61f582802c3f1caa3bf4dc754847bf1e75.tar.gz cpython-5eb80a61f582802c3f1caa3bf4dc754847bf1e75.zip |
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`.
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r-- | Python/executor_cases.c.h | 4 |
1 files changed, 0 insertions, 4 deletions
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(); |