mirror of
https://github.com/python/cpython.git
synced 2026-01-03 14:02:21 +00:00
gh-134584: Eliminate redundant refcounting from IS_OP (GH-143171)
Eliminate redundant refcounting from IS_OP
This commit is contained in:
parent
b3f2d80569
commit
a1c6308346
9 changed files with 1061 additions and 919 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue