gh-134584: Eliminate redundant refcounting from _STORE_ATTR_INSTANCE_VALUE (GH-142759)

Signed-off-by: Manjusaka <me@manjusaka.me>
This commit is contained in:
Nadeshiko Manju
2025-12-16 04:17:12 +08:00
committed by GitHub
parent 0ac4e6c6cd
commit 059316ade6
10 changed files with 67 additions and 16 deletions
+5
View File
@@ -99,6 +99,11 @@ dummy_func(void) {
GETLOCAL(oparg) = temp;
}
op(_STORE_ATTR_INSTANCE_VALUE, (offset/1, value, owner -- o)) {
(void)value;
o = owner;
}
op(_STORE_FAST, (value --)) {
GETLOCAL(oparg) = value;
}