diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-01-24 09:43:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 09:43:16 (GMT) |
commit | 8c183cddd3d0031c6d397738f73c20ee6bf61ce8 (patch) | |
tree | 6e0f0242f2ca63a3b97b44a9b612ede620e8c104 /Python/opcode_metadata.h | |
parent | 7589d713a14a1efbb0cbb7caa9fdbad2b081cf18 (diff) | |
download | cpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.zip cpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.tar.gz cpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.tar.bz2 |
gh-98831: rewrite CHECK_EG_MATCH opcode in the instruction definition DSL (#101269)
Diffstat (limited to 'Python/opcode_metadata.h')
-rw-r--r-- | Python/opcode_metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/opcode_metadata.h b/Python/opcode_metadata.h index e3d8ed3..3ceaca8 100644 --- a/Python/opcode_metadata.h +++ b/Python/opcode_metadata.h @@ -119,7 +119,7 @@ static const struct { [COMPARE_AND_BRANCH_STR] = { 2, 0, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IBC0 }, [IS_OP] = { 2, 1, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IB }, [CONTAINS_OP] = { 2, 1, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IB }, - [CHECK_EG_MATCH] = { -1, -1, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IX }, + [CHECK_EG_MATCH] = { 2, 2, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IX }, [CHECK_EXC_MATCH] = { 2, 2, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IX }, [IMPORT_NAME] = { 2, 1, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IB }, [IMPORT_FROM] = { 1, 2, DIR_NONE, DIR_NONE, DIR_NONE, true, INSTR_FMT_IB }, |