Skip to content
Prev Previous commit
Next Next commit
fixup
  • Loading branch information
brandtbucher committed Feb 2, 2023
commit 49083fa4e671cb44aedfca18129a31b97a2b3112
2 changes: 1 addition & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dummy_func(
PyObject **stack_pointer,
PyObject *kwnames,
int throwflag,
binaryfunc binary_ops[],
binaryfunc binary_ops[]
)
{
_PyInterpreterFrame entry_frame;
Expand Down
2 changes: 2 additions & 0 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -2892,6 +2892,8 @@ static int compiler_addcompare(struct compiler *c, location loc,
default:
Py_UNREACHABLE();
}
/* cmp goes in top bits of the oparg, while the low bits are used by quickened
* versions of this opcode to store the comparison mask. */
ADDOP_I(c, loc, COMPARE_OP, (cmp << 4) | compare_masks[cmp]);
return SUCCESS;
}
Expand Down