mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +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
|
@ -295,6 +295,9 @@ _PyCode_Quicken(PyCodeObject *code)
|
|||
else {
|
||||
assert(!_PyOpcode_Caches[opcode]);
|
||||
switch (opcode) {
|
||||
case EXTENDED_ARG:
|
||||
_Py_SET_OPCODE(instructions[i], EXTENDED_ARG_QUICK);
|
||||
break;
|
||||
case JUMP_BACKWARD:
|
||||
_Py_SET_OPCODE(instructions[i], JUMP_BACKWARD_QUICK);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue