Skip to content

Commit 67c89e6

Browse files
committed
[GR-11133] Add missing '@TruffleBoundary'.
PullRequest: graalpython/145
2 parents df2dda6 + c2dc2cd commit 67c89e6

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)