File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/object Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,13 @@ public abstract class GetDictIfExistsNode extends PNodeWithContext {
71
71
@ Specialization (guards = {"object.getShape() == cachedShape" , "hasNoDict(cachedShape)" }, limit = "1" )
72
72
static PDict getNoDictCachedShape (@ SuppressWarnings ("unused" ) PythonObject object ,
73
73
@ SuppressWarnings ("unused" ) @ Cached ("object.getShape()" ) Shape cachedShape ) {
74
+ assert doPythonObject (object , DynamicObjectLibrary .getUncached ()) == null ;
74
75
return null ;
75
76
}
76
77
77
78
@ Specialization (guards = "hasNoDict(object.getShape())" , replaces = "getNoDictCachedShape" )
78
79
static PDict getNoDict (@ SuppressWarnings ("unused" ) PythonObject object ) {
80
+ assert doPythonObject (object , DynamicObjectLibrary .getUncached ()) == null ;
79
81
return null ;
80
82
}
81
83
You can’t perform that action at this time.
0 commit comments