From ac75f6bdd4748b3378dd321f862d13aa1898f77a Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Mon, 9 Aug 2021 10:40:21 +0100 Subject: 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. --- Python/opcode_targets.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Python/opcode_targets.h') 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, -- cgit v1.2.1