gh-93911: Specialize LOAD_ATTR_PROPERTY (GH-93912)

This commit is contained in:
Ken Jin 2022-06-17 23:13:17 +08:00 committed by GitHub
parent 0ff626f210
commit a51742ab82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 172 additions and 71 deletions

View file

@ -287,6 +287,7 @@ _specializations = {
"LOAD_ATTR_CLASS",
"LOAD_ATTR_INSTANCE_VALUE",
"LOAD_ATTR_MODULE",
"LOAD_ATTR_PROPERTY",
"LOAD_ATTR_SLOT",
"LOAD_ATTR_WITH_HINT",
# These will always push [unbound method, self] onto the stack.