mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
GH-115685: Split _TO_BOOL_ALWAYS_TRUE
into micro-ops (GH-116352)
This commit is contained in:
parent
0c81ce1360
commit
23db9c6227
8 changed files with 50 additions and 44 deletions
|
@ -456,6 +456,9 @@ remove_unneeded_uops(_PyUOpInstruction *buffer, int buffer_size)
|
|||
last->opcode = _NOP;
|
||||
buffer[pc].opcode = NOP;
|
||||
}
|
||||
if (last->opcode == _REPLACE_WITH_TRUE) {
|
||||
last->opcode = _NOP;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case _JUMP_TO_TOP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue