File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/code Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,8 @@ public static RootCallTarget executeUncached(PCode code) {
200
200
201
201
@ Specialization (guards = {"cachedCode == code" , "isSingleContext()" }, limit = "2" )
202
202
static RootCallTarget doCachedCode (Node node , @ SuppressWarnings ("unused" ) PCode code ,
203
- @ SuppressWarnings ("unused" ) @ Cached ("code" ) PCode cachedCode ,
204
- @ Cached ("code.initializeCallTarget()" ) RootCallTarget cachedRootCallTarget ) {
203
+ @ SuppressWarnings ("unused" ) @ Cached (value = "code" , weak = true ) PCode cachedCode ,
204
+ @ Cached (value = "code.initializeCallTarget()" , weak = true ) RootCallTarget cachedRootCallTarget ) {
205
205
return cachedRootCallTarget ;
206
206
}
207
207
You can’t perform that action at this time.
0 commit comments