diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-07-22 18:56:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 18:56:10 (GMT) |
commit | 5a48ab01e93c92594eac777c499d1e728ddf1f7e (patch) | |
tree | 5290c6976cfbacf7664ef221c3c2057cff11faf7 /Objects/codeobject.c | |
parent | e99496e1c20253d0d2e2e016509cd9c2fa24dd85 (diff) | |
download | cpython-5a48ab01e93c92594eac777c499d1e728ddf1f7e.zip cpython-5a48ab01e93c92594eac777c499d1e728ddf1f7e.tar.gz cpython-5a48ab01e93c92594eac777c499d1e728ddf1f7e.tar.bz2 |
[3.11] GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) (GH-95143)
(cherry picked from commit e402b26b7fb953a2f0c17a0044bb6d6cbd726e54)
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r-- | Objects/codeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index 35576a2..40ac19d 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -1416,7 +1416,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--) { |