mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00: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:
parent
0ac4e6c6cd
commit
059316ade6
10 changed files with 67 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue