Skip to content

Commit 21f9efa

Browse files
committed
style fixes
1 parent 7f93b56 commit 21f9efa

File tree

1 file changed

+6
-7
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/classes

1 file changed

+6
-7
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/classes/IsSubtypeNode.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,10 @@ protected static boolean isSameType(IsSameTypeNode isSameTypeNode, Object cls, O
8686
}
8787

8888
/**
89-
* This method is used to search for a constant base type in the mro of
90-
* non-constant potential subtypes when all subtypes' MROs have the same
91-
* length. Since the entire base mro must strictly be behind the base, we
92-
* only need to search from the beginning of the mro to the length
93-
* difference.
89+
* This method is used to search for a constant base type in the mro of non-constant potential
90+
* subtypes when all subtypes' MROs have the same length. Since the entire base mro must
91+
* strictly be behind the base, we only need to search from the beginning of the mro to the
92+
* length difference.
9493
*/
9594
@ExplodeLoop(kind = LoopExplosionKind.FULL_UNROLL_UNTIL_RETURN)
9695
protected boolean isSubMro(Object base, PythonAbstractClass[] derivedMroAry, int mroDiff, IsSameTypeNode isSameTypeNode) {
@@ -105,8 +104,8 @@ protected boolean isSubMro(Object base, PythonAbstractClass[] derivedMroAry, int
105104
}
106105

107106
/**
108-
* This method is used to search in a constant length subtype mro for a
109-
* (non-constant) base type. It has to loop over the entire mro to do this.
107+
* This method is used to search in a constant length subtype mro for a (non-constant) base
108+
* type. It has to loop over the entire mro to do this.
110109
*/
111110
@ExplodeLoop(kind = LoopExplosionKind.FULL_UNROLL_UNTIL_RETURN)
112111
protected boolean isInMro(Object cls, MroSequenceStorage mro, int sz, IsSameTypeNode isSameTypeNode) {

0 commit comments

Comments
 (0)