Py_DECREF(self);
if (attr == NULL) goto pop_3_error;
STACK_SHRINK(2);
- stack_pointer[-1 - (0 ? 1 : 0)] = attr;
+ stack_pointer[-1] = attr;
next_instr += 1;
DISPATCH();
}
assert(descr != NULL);
Py_DECREF(owner);
attr = Py_NewRef(descr);
- stack_pointer[-1 - (0 ? 1 : 0)] = attr;
+ stack_pointer[-1] = attr;
next_instr += 9;
DISPATCH();
}
assert(descr != NULL);
Py_DECREF(owner);
attr = Py_NewRef(descr);
- stack_pointer[-1 - (0 ? 1 : 0)] = attr;
+ stack_pointer[-1] = attr;
next_instr += 9;
DISPATCH();
}
for eff in self.deep:
if eff.size:
terms.append(("-", maybe_parenthesize(eff.size)))
- elif eff.cond and eff.cond != "1":
+ elif eff.cond and eff.cond not in ("0", "1"):
terms.append(("-", f"({parenthesize_cond(eff.cond)} ? 1 : 0)"))
elif eff.cond != "0":
num -= 1
for eff in self.high:
if eff.size:
terms.append(("+", maybe_parenthesize(eff.size)))
- elif eff.cond and eff.cond != "1":
+ elif eff.cond and eff.cond not in ("0", "1"):
terms.append(("+", f"({parenthesize_cond(eff.cond)} ? 1 : 0)"))
elif eff.cond != "0":
num += 1