mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-134584: Eliminate redundant refcounting from _STORE_ATTR_INSTANCE_VALUE (GH-142759)
Signed-off-by: Manjusaka <me@manjusaka.me>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user