From a0c414c35d0dc0d44a885fda448652e23de2482c Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:30:18 +0100 Subject: gh-111354: define names for RESUME oparg values (#111365) --- Python/specialize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Python/specialize.c') 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, } }; -- cgit v1.2.3