Skip to content

Commit 8555dee

Browse files
authored
GH-98686: Get rid of BINARY_OP_GENERIC and COMPARE_OP_GENERIC (GH-99399)
1 parent 6f8b0e7 commit 8555dee

File tree

8 files changed

+161
-206
lines changed

8 files changed

+161
-206
lines changed

Include/internal/pycore_opcode.h

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/opcode.h

Lines changed: 58 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lib/opcode.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ def pseudo_op(name, op, real_ops):
282282
"BINARY_OP_ADD_FLOAT",
283283
"BINARY_OP_ADD_INT",
284284
"BINARY_OP_ADD_UNICODE",
285-
"BINARY_OP_GENERIC",
286285
"BINARY_OP_INPLACE_ADD_UNICODE",
287286
"BINARY_OP_MULTIPLY_FLOAT",
288287
"BINARY_OP_MULTIPLY_INT",
@@ -316,7 +315,6 @@ def pseudo_op(name, op, real_ops):
316315
],
317316
"COMPARE_OP": [
318317
"COMPARE_OP_FLOAT_JUMP",
319-
"COMPARE_OP_GENERIC",
320318
"COMPARE_OP_INT_JUMP",
321319
"COMPARE_OP_STR_JUMP",
322320
],
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove the ``BINARY_OP_GENERIC`` and ``COMPARE_OP_GENERIC``
2+
"specializations".

0 commit comments

Comments
 (0)