diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-10-26 16:30:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 16:30:18 +0100 |
commit | a0c414c35d0dc0d44a885fda448652e23de2482c (patch) | |
tree | 014f5cb67924fcc0ac17d97aeb879dc05a6ccac0 /Python/specialize.c | |
parent | 309efb39dc005a834bb67e9a6f27b6689f00ec9d (diff) | |
download | cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.tar.gz cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.zip |
gh-111354: define names for RESUME oparg values (#111365)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r-- | Python/specialize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/specialize.c b/Python/specialize.c index cd26ff54272..07fd93d29b0 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -10,6 +10,7 @@ #include "pycore_moduleobject.h" #include "pycore_object.h" #include "pycore_opcode_metadata.h" // _PyOpcode_Caches +#include "pycore_opcode_utils.h" // RESUME_AT_FUNC_START #include "pycore_pylifecycle.h" // _PyOS_URandomNonblock() #include "pycore_runtime.h" // _Py_ID() @@ -2541,6 +2542,6 @@ const struct _PyCode_DEF(8) _Py_InitCleanup = { .co_code_adaptive = { EXIT_INIT_CHECK, 0, RETURN_VALUE, 0, - RESUME, 0, + RESUME, RESUME_AT_FUNC_START, } }; |