mirror of
https://github.com/python/cpython.git
synced 2026-01-03 22:12:27 +00:00
gh-134584: Eliminate redundant refcounting from _LOAD_ATTR_INSTANCE_VALUE (GH-142769)
Signed-off-by: Manjusaka <me@manjusaka.me>
This commit is contained in:
parent
92d4aeafd5
commit
6ee51a36b3
10 changed files with 451 additions and 331 deletions
|
|
@ -570,9 +570,10 @@ dummy_func(void) {
|
|||
assert(oparg >= 2);
|
||||
}
|
||||
|
||||
op(_LOAD_ATTR_INSTANCE_VALUE, (offset/1, owner -- attr)) {
|
||||
op(_LOAD_ATTR_INSTANCE_VALUE, (offset/1, owner -- attr, o)) {
|
||||
attr = sym_new_not_null(ctx);
|
||||
(void)offset;
|
||||
o = owner;
|
||||
}
|
||||
|
||||
op(_LOAD_ATTR_MODULE, (dict_version/2, index/1, owner -- attr)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue