Skip to content

Commit

Permalink
GH-98686: Get rid of BINARY_OP_GENERIC and COMPARE_OP_GENERIC (GH-99399)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher authored Nov 17, 2022
1 parent 6f8b0e7 commit 8555dee
Show file tree
Hide file tree
Showing 8 changed files with 161 additions and 206 deletions.
58 changes: 29 additions & 29 deletions Include/internal/pycore_opcode.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 58 additions & 60 deletions Include/opcode.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Lib/opcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ def pseudo_op(name, op, real_ops):
"BINARY_OP_ADD_FLOAT",
"BINARY_OP_ADD_INT",
"BINARY_OP_ADD_UNICODE",
"BINARY_OP_GENERIC",
"BINARY_OP_INPLACE_ADD_UNICODE",
"BINARY_OP_MULTIPLY_FLOAT",
"BINARY_OP_MULTIPLY_INT",
Expand Down Expand Up @@ -316,7 +315,6 @@ def pseudo_op(name, op, real_ops):
],
"COMPARE_OP": [
"COMPARE_OP_FLOAT_JUMP",
"COMPARE_OP_GENERIC",
"COMPARE_OP_INT_JUMP",
"COMPARE_OP_STR_JUMP",
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove the ``BINARY_OP_GENERIC`` and ``COMPARE_OP_GENERIC``
"specializations".
Loading

0 comments on commit 8555dee

Please sign in to comment.