gh-134584: Eliminate redundant refcounting from IS_OP (GH-143171)

Eliminate redundant refcounting from IS_OP
This commit is contained in:
Hai Zhu 2025-12-27 04:30:02 +08:00 committed by GitHub
parent b3f2d80569
commit a1c6308346
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 1061 additions and 919 deletions

View file

@ -478,8 +478,10 @@ dummy_func(void) {
r = right;
}
op(_IS_OP, (left, right -- b)) {
op(_IS_OP, (left, right -- b, l, r)) {
b = sym_new_type(ctx, &PyBool_Type);
l = left;
r = right;
}
op(_CONTAINS_OP, (left, right -- b)) {