File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7373
7474# on 1.11 (JuliaLang/julia#52572, merged as part of JuliaLang/julia#52233) we can use
7575# Julia's cached method lookup to simply look up method instances at run time.
76- if VERSION >= v" 1.11.0-DEV.1552"
76+ @static if VERSION >= v" 1.11.0-DEV.1552"
7777
7878# XXX : version of Base.method_instance that uses a function type
7979@inline function methodinstance(@nospecialize(ft:: Type ), @nospecialize(tt:: Type ),
@@ -395,7 +395,7 @@ CC.InferenceParams(interp::GPUInterpreter) = interp.inf_params
395395CC. OptimizationParams(interp:: GPUInterpreter ) = interp. opt_params
396396#= CC.=# get_inference_world(interp:: GPUInterpreter ) = interp. world
397397CC. get_inference_cache(interp:: GPUInterpreter ) = interp. inf_cache
398- if HAS_INTEGRATED_CACHE
398+ @static if HAS_INTEGRATED_CACHE
399399 CC. cache_owner(interp:: GPUInterpreter ) = interp. token
400400else
401401 CC. code_cache(interp:: GPUInterpreter ) = WorldView(interp. code_cache, interp. world)
You can’t perform that action at this time.
0 commit comments