Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add intrinsic names to opcode.py
  • Loading branch information
jkchandalia committed Apr 30, 2023
commit 119c6285be78dffb548e9d788c68ceeab7e00885
15 changes: 15 additions & 0 deletions Lib/opcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,21 @@ def pseudo_op(name, op, real_ops):
("NB_INPLACE_XOR", "^="),
]

_intrinsic_1_descs = [
"INTRINSIC_INVALID",
"INTRINSIC_PRINT",
"INTRINSIC_IMPORT_STAR",
"INTRINSIC_STOPITERATION_ERROR",
"INTRINSIC_ASYNC_GEN_WRAP",
"INTRINSIC_UNARY_POSITIVE",
"INTRINSIC_LIST_TO_TUPLE",
]

_intrinsic_2_descs = [
'INTRINSIC_INVALID',
'INTRINSIC_PREP_RERAISE_STAR',
]

_specializations = {
"BINARY_OP": [
"BINARY_OP_ADD_FLOAT",
Expand Down