From e402b26b7fb953a2f0c17a0044bb6d6cbd726e54 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Fri, 22 Jul 2022 11:04:20 -0700 Subject: GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) --- Objects/codeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/codeobject.c') diff --git a/Objects/codeobject.c b/Objects/codeobject.c index 76e430ae1c5..2f757c4d8a9 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -1418,7 +1418,7 @@ deopt_code(_Py_CODEUNIT *instructions, Py_ssize_t len) { for (int i = 0; i < len; i++) { _Py_CODEUNIT instruction = instructions[i]; - int opcode = _PyOpcode_Original[_Py_OPCODE(instruction)]; + int opcode = _PyOpcode_Deopt[_Py_OPCODE(instruction)]; int caches = _PyOpcode_Caches[opcode]; instructions[i] = _Py_MAKECODEUNIT(opcode, _Py_OPARG(instruction)); while (caches--) { -- cgit v1.2.3