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:
Nadeshiko Manju 2026-01-02 01:27:02 +08:00 committed by GitHub
parent 1fb8e0eb51
commit d00d39f58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 442 additions and 331 deletions

View file

@ -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)) {