Skip to content

Commit c2dc2cd

Browse files
committed
Add missing '@TruffleBoundary'.
1 parent df2dda6 commit c2dc2cd

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/TypeBuiltins.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ static abstract class SubclassesNode extends PythonUnaryBuiltinNode {
457457
@Child private IsSubtypeNode isSubtypeNode = IsSubtypeNode.create();
458458

459459
@Specialization
460+
@TruffleBoundary
460461
PList getSubclasses(PythonClass cls) {
461462
// TODO: missing: keep track of subclasses
462463
return factory().createList(cls.getSubClasses().toArray());

0 commit comments

Comments
 (0)