]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-104909: Move unused cache entries from uops to macros (#107444)
authorGuido van Rossum <guido@python.org>
Mon, 31 Jul 2023 15:55:33 +0000 (08:55 -0700)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 15:55:33 +0000 (08:55 -0700)
commit5eb80a61f582802c3f1caa3bf4dc754847bf1e75
treeffc01c0fff264f749a1c7666d367df1ae7822080
parenta22ff8e11c114e0c4c54c57b9e7f7520db9d5163
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`.
Include/internal/pycore_opcode_metadata.h
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h