Skip to content

Commit b9d92f6

Browse files
committed
replace the final read with a read if we must
1 parent 001632c commit b9d92f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/attributes/ReadAttributeFromDynamicObjectNode.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ protected Object readDirectFinal(DynamicObject dynamicObject, Object key,
122122
}, //
123123
assumptions = {
124124
"layoutAssumption"
125-
})
125+
}, //
126+
replaces = "readDirectFinal")
126127
protected Object readDirect(DynamicObject dynamicObject, Object key,
127128
@Cached("key") Object cachedKey,
128129
@Cached("attrKey(cachedKey)") Object attrKey,

0 commit comments

Comments
 (0)