aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-07-07 11:03:27 -0700
committerGitHub <noreply@github.com>2023-07-07 18:03:27 +0000
commitb3648f036e502db7e7da951ec4eb1f205cb3d74e (patch)
tree9600a81da3577cc7a5172568b5289e80dedeab1a /Python/generated_cases.c.h
parent11038c56ad80dde2cdf65190e78a59d579c94b3a (diff)
downloadcpython-b3648f036e502db7e7da951ec4eb1f205cb3d74e.tar.gz
cpython-b3648f036e502db7e7da951ec4eb1f205cb3d74e.zip
gh-104584: Allow unspecialized instructions in superblocks (#106497)
This adds several of unspecialized opcodes to superblocks: TO_BOOL, BINARY_SUBSCR, STORE_SUBSCR, UNPACK_SEQUENCE, LOAD_GLOBAL, LOAD_ATTR, COMPARE_OP, BINARY_OP. While we may not want that eventually, for now this helps finding bugs. There is a rudimentary test checking for UNPACK_SEQUENCE. Once we're ready to undo this, that would be simple: just replace the call to variable_used_unspecialized with a call to variable_used (as shown in a comment). Or add individual opcdes to FORBIDDEN_NAMES_IN_UOPS.
Diffstat (limited to 'Python/generated_cases.c.h')
0 files changed, 0 insertions, 0 deletions