gh-134584: Eliminate redundant refcounting from _LOAD_ATTR_WITH_HINT (GH-143062)

Eliminate redundant refcounting from _LOAD_ATTR_WITH_HINT
This commit is contained in:
Hai Zhu 2025-12-23 08:28:08 +08:00 committed by GitHub
parent 9e51301234
commit 5b5ee3c4bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 54 additions and 21 deletions

View file

@ -634,9 +634,10 @@ dummy_func(void) {
}
}
op(_LOAD_ATTR_WITH_HINT, (hint/1, owner -- attr)) {
op(_LOAD_ATTR_WITH_HINT, (hint/1, owner -- attr, o)) {
attr = sym_new_not_null(ctx);
(void)hint;
o = owner;
}
op(_LOAD_ATTR_SLOT, (index/1, owner -- attr)) {