Skip to content

Commit fa8a1b2

Browse files
committed
Fix resetting oparg on exception
1 parent cd676db commit fa8a1b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode/PBytecodeRootNode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,7 @@ Object executeFromBci(VirtualFrame virtualFrame, Frame localFrame, Frame stackFr
14391439
// to be replaced with the exception
14401440
stackFrame.setObject(stackTop, pe);
14411441
bci = decodeBCI((int) newTarget);
1442+
oparg = 0;
14421443
}
14431444
}
14441445
}

0 commit comments

Comments
 (0)