Skip to content

Commit b766546

Browse files
committed
Report polymorphism in BuiltinFunctions.IterNode.
1 parent 0c2e690 commit b766546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,7 @@ private Object[] getArray(PTuple tuple) {
12911291
// iter(object[, sentinel])
12921292
@Builtin(name = ITER, minNumOfPositionalArgs = 1, maxNumOfPositionalArgs = 2)
12931293
@GenerateNodeFactory
1294+
@ReportPolymorphism
12941295
public abstract static class IterNode extends PythonBinaryBuiltinNode {
12951296
@Specialization(guards = "isNoValue(sentinel)", limit = "getCallSiteInlineCacheMaxDepth()")
12961297
static Object iter(VirtualFrame frame, Object object, @SuppressWarnings("unused") PNone sentinel,

0 commit comments

Comments
 (0)