Skip to content

Commit dde1056

Browse files
committed
Increase inline cache size of GraalHPyIsNumber
1 parent 4408192 commit dde1056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ public static final class GraalHPyIsNumber extends GraalHPyContextFunction {
16651665
Object execute(Object[] arguments,
16661666
@Cached HPyAsContextNode asContextNode,
16671667
@Cached HPyAsPythonObjectNode asPythonObjectNode,
1668-
@CachedLibrary(limit = "1") PythonObjectLibrary lib,
1668+
@CachedLibrary(limit = "3") PythonObjectLibrary lib,
16691669
@Cached HPyTransformExceptionToNativeNode transformExceptionToNativeNode) throws ArityException {
16701670
if (arguments.length != 2) {
16711671
CompilerDirectives.transferToInterpreterAndInvalidate();

0 commit comments

Comments
 (0)