mirror of
https://github.com/python/cpython.git
synced 2026-01-26 01:02:13 +00:00
gh-134584: Eliminate redundant refcounting from _LOAD_ATTR_SLOT (GH-143320)
Signed-off-by: Manjusaka <me@manjusaka.me> Co-authored-by: Ken Jin <kenjin4096@gmail.com>
This commit is contained in:
parent
1fb8e0eb51
commit
d00d39f58e
10 changed files with 442 additions and 331 deletions
|
|
@ -661,9 +661,10 @@ dummy_func(void) {
|
|||
o = owner;
|
||||
}
|
||||
|
||||
op(_LOAD_ATTR_SLOT, (index/1, owner -- attr)) {
|
||||
op(_LOAD_ATTR_SLOT, (index/1, owner -- attr, o)) {
|
||||
attr = sym_new_not_null(ctx);
|
||||
(void)index;
|
||||
o = owner;
|
||||
}
|
||||
|
||||
op(_LOAD_ATTR_CLASS, (descr/4, owner -- attr)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue