Skip to content

Commit b6ba621

Browse files
committed
CExtNodes.ObSizeNode fix isFallback guard
1 parent 95e2bd4 commit b6ba621

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/CExtNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3281,7 +3281,7 @@ static long doOther(Object object,
32813281
}
32823282

32833283
static boolean isFallback(Object object) {
3284-
return !(object instanceof PInt);
3284+
return !(object instanceof PInt || object instanceof Integer || object instanceof Long);
32853285
}
32863286
}
32873287

0 commit comments

Comments
 (0)