gh-134584: JIT: Remove redundant refcount from STORE_FAST (GH-143336)

This commit is contained in:
Ken Jin 2026-01-03 02:22:21 +08:00 committed by GitHub
parent 98258326a9
commit f7a03bb944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 954 additions and 293 deletions

View file

@ -109,8 +109,10 @@ dummy_func(void) {
o = owner;
}
op(_STORE_FAST, (value --)) {
op(_SWAP_FAST, (value -- trash)) {
JitOptRef tmp = GETLOCAL(oparg);
GETLOCAL(oparg) = value;
trash = tmp;
}
op(_STORE_SUBSCR_LIST_INT, (value, list_st, sub_st -- ls, ss)) {