mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121)
This commit is contained in:
parent
79d2f549ad
commit
e402b26b7f
8 changed files with 20 additions and 200 deletions
|
@ -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--) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue