Skip to content

Commit 767d5b0

Browse files
committed
LookupAttributeInMROOrder: add ExplodeLoop annotation kind (EXPLODE_UNTIL_RETURN)
1 parent 7d9d509 commit 767d5b0

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/nodes/attributes/LookupAttributeInMRONode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static LookupAttributeInMRONode create() {
6464
public abstract Object execute(Object klass, Object key);
6565

6666
@Specialization(guards = {"klass == cachedKlass", "key.equals(cachedKey)", "mroLength < 32"}, limit = "5", assumptions = "lookupStable")
67-
@ExplodeLoop
67+
@ExplodeLoop(kind = ExplodeLoop.LoopExplosionKind.FULL_EXPLODE_UNTIL_RETURN)
6868
protected Object lookupConstantMRO(@SuppressWarnings("unused") PythonClass klass, String key,
6969
@Cached("klass") @SuppressWarnings("unused") PythonClass cachedKlass,
7070
@Cached("key") @SuppressWarnings("unused") String cachedKey,

0 commit comments

Comments
 (0)