Skip to content

Commit 3a3dea6

Browse files
committed
Use shared raise node in PosixModuleBuiltins
1 parent c737c1a commit 3a3dea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PosixModuleBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3466,14 +3466,14 @@ public abstract static class AbstractIdConversionNode extends ArgumentCastNode {
34663466
@Specialization
34673467
long doInt(int value,
34683468
@Bind("this") Node inliningTarget,
3469-
@Exclusive @Cached PRaiseNode.Lazy raiseNode) {
3469+
@Shared @Cached PRaiseNode.Lazy raiseNode) {
34703470
return checkValue(inliningTarget, value, raiseNode);
34713471
}
34723472

34733473
@Specialization
34743474
long doLong(long value,
34753475
@Bind("this") Node inliningTarget,
3476-
@Exclusive @Cached PRaiseNode.Lazy raiseNode) {
3476+
@Shared @Cached PRaiseNode.Lazy raiseNode) {
34773477
return checkValue(inliningTarget, value, raiseNode);
34783478
}
34793479

0 commit comments

Comments
 (0)