Skip to content

Commit bb4be7c

Browse files
committed
Increase library limit for LenNode
1 parent 93cbc9e commit bb4be7c

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/modules/BuiltinFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ public Object iter(Object callable, Object sentinel) {
13111311
@GenerateNodeFactory
13121312
@ReportPolymorphism
13131313
public abstract static class LenNode extends PythonUnaryBuiltinNode {
1314-
@Specialization(limit = "getCallSiteInlineCacheMaxDepth()")
1314+
@Specialization(limit = "6")
13151315
public int len(VirtualFrame frame, Object obj,
13161316
@CachedLibrary("obj") PythonObjectLibrary lib) {
13171317
return lib.lengthWithFrame(obj, frame);

0 commit comments

Comments
 (0)