diff options
| author | Mark Shannon <mark@hotpy.org> | 2023-06-02 10:46:18 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-02 10:46:18 (GMT) |
| commit | 4bfa01b9d911ce9358cf1a453bee15554f8e4c07 (patch) | |
| tree | bd61d8459bf30d42abf0be7258de91360bea434b /Python/opcode_metadata.h | |
| parent | 601ae09f0c8eda213b9050892f5ce9b91f0aa522 (diff) | |
| download | cpython-4bfa01b9d911ce9358cf1a453bee15554f8e4c07.zip cpython-4bfa01b9d911ce9358cf1a453bee15554f8e4c07.tar.gz cpython-4bfa01b9d911ce9358cf1a453bee15554f8e4c07.tar.bz2 | |
GH-104584: Plugin optimizer API (GH-105100)
Diffstat (limited to 'Python/opcode_metadata.h')
| -rw-r--r-- | Python/opcode_metadata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/opcode_metadata.h b/Python/opcode_metadata.h index 75c7dc1..69a0cc0 100644 --- a/Python/opcode_metadata.h +++ b/Python/opcode_metadata.h @@ -265,6 +265,8 @@ _PyOpcode_num_popped(int opcode, int oparg, bool jump) { return 0; case JUMP_BACKWARD: return 0; + case ENTER_EXECUTOR: + return 0; case POP_JUMP_IF_FALSE: return 1; case POP_JUMP_IF_TRUE: @@ -661,6 +663,8 @@ _PyOpcode_num_pushed(int opcode, int oparg, bool jump) { return 0; case JUMP_BACKWARD: return 0; + case ENTER_EXECUTOR: + return 0; case POP_JUMP_IF_FALSE: return 0; case POP_JUMP_IF_TRUE: @@ -933,6 +937,7 @@ const struct opcode_metadata _PyOpcode_opcode_metadata[256] = { [IMPORT_FROM] = { true, INSTR_FMT_IB }, [JUMP_FORWARD] = { true, INSTR_FMT_IB }, [JUMP_BACKWARD] = { true, INSTR_FMT_IB }, + [ENTER_EXECUTOR] = { true, INSTR_FMT_IB }, [POP_JUMP_IF_FALSE] = { true, INSTR_FMT_IB }, [POP_JUMP_IF_TRUE] = { true, INSTR_FMT_IB }, [POP_JUMP_IF_NOT_NONE] = { true, INSTR_FMT_IB }, |
