diff options
| author | Savannah Ostrowski <savannah@python.org> | 2025-12-15 23:18:44 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 23:18:44 (GMT) |
| commit | bef63d2fb81ae28760040157ea589541bed47d02 (patch) | |
| tree | df24d3b3f0dec554a2f43869ac12db1c9be1e262 /Python/optimizer_bytecodes.c | |
| parent | f277781bba684322dffffe45cd878f4652ccf7e4 (diff) | |
| download | cpython-bef63d2fb81ae28760040157ea589541bed47d02.zip cpython-bef63d2fb81ae28760040157ea589541bed47d02.tar.gz cpython-bef63d2fb81ae28760040157ea589541bed47d02.tar.bz2 | |
GH-134584: Remove redundant refcount from `_STORE_ATTR_SLOT` (#142729)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
| -rw-r--r-- | Python/optimizer_bytecodes.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index b97b4c3..decf988 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -114,6 +114,12 @@ dummy_func(void) { ss = sub_st; } + op(_STORE_ATTR_SLOT, (index/1, value, owner -- o)) { + (void)index; + (void)value; + o = owner; + } + op(_STORE_SUBSCR_DICT, (value, dict_st, sub -- st)) { (void)value; st = dict_st; |
