summaryrefslogtreecommitdiff
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-08-09 10:40:21 +0100
committerGitHub <noreply@github.com>2021-08-09 10:40:21 +0100
commitac75f6bdd4748b3378dd321f862d13aa1898f77a (patch)
treedacf952f54673797cd885c3da50e06dc358468ac /Python/opcode_targets.h
parentb854557b49083d8625a433eb36aacb0c87d67c52 (diff)
downloadcpython-git-ac75f6bdd4748b3378dd321f862d13aa1898f77a.tar.gz
bpo-44826: Specialize STORE_ATTR (GH-27590)
* Generalize cache names for LOAD_ATTR to allow store and delete specializations. * Factor out specialization of attribute dictionary access. * Specialize STORE_ATTR.
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index d88c766c07..24ee44f2d0 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -43,10 +43,10 @@ static void *opcode_targets[256] = {
&&TARGET_LOAD_GLOBAL_ADAPTIVE,
&&TARGET_LOAD_GLOBAL_MODULE,
&&TARGET_LOAD_GLOBAL_BUILTIN,
- &&_unknown_opcode,
- &&_unknown_opcode,
- &&_unknown_opcode,
- &&_unknown_opcode,
+ &&TARGET_STORE_ATTR_ADAPTIVE,
+ &&TARGET_STORE_ATTR_SPLIT_KEYS,
+ &&TARGET_STORE_ATTR_SLOT,
+ &&TARGET_STORE_ATTR_WITH_HINT,
&&_unknown_opcode,
&&TARGET_WITH_EXCEPT_START,
&&TARGET_GET_AITER,