mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
GH-104584: Fix incorrect uoperands (GH-107513)
This commit is contained in:
parent
de51dede5b
commit
5e584eb704
2 changed files with 4 additions and 1 deletions
|
@ -579,7 +579,8 @@ pop_jump_if_bool:
|
|||
for (int i = 0; i < nuops; i++) {
|
||||
oparg = orig_oparg;
|
||||
uint64_t operand = 0;
|
||||
int offset = expansion->uops[i].offset;
|
||||
// Add one to account for the actual opcode/oparg pair:
|
||||
int offset = expansion->uops[i].offset + 1;
|
||||
switch (expansion->uops[i].size) {
|
||||
case OPARG_FULL:
|
||||
if (extras && OPCODE_HAS_JUMP(opcode)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue