Skip to content

Commit 995d777

Browse files
committed
Increase inline cache limit.
1 parent 53af92c commit 995d777

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PythonAbstractObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ public final boolean canBeIndex(@Shared("asIndexLookup") @Cached LookupInherited
858858

859859
@ExportMessage
860860
public Object asIndexWithState(ThreadState state,
861-
@CachedLibrary(limit = "1") PythonObjectLibrary lib,
861+
@CachedLibrary(limit = "5") PythonObjectLibrary lib,
862862
@Exclusive @Cached PRaiseNode raise,
863863
@Exclusive @Cached CallUnaryMethodNode callNode,
864864
@Exclusive @Cached IsSubtypeNode isSubtype,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public Object asIndexWithState(ThreadState threadState,
180180
@Exclusive @Cached GetLazyClassNode getClass,
181181
@Exclusive @Cached IsSubtypeNode isSubtypeNode,
182182
// arguments for super-implementation call
183-
@CachedLibrary(limit = "1") PythonObjectLibrary lib,
183+
@CachedLibrary(limit = "5") PythonObjectLibrary lib,
184184
@Exclusive @Cached PRaiseNode raise,
185185
@Exclusive @Cached CallUnaryMethodNode callNode,
186186
@Exclusive @Cached IsSubtypeNode isSubtype,

0 commit comments

Comments
 (0)