Skip to content

Commit

Permalink
minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Sep 5, 2024
1 parent 66485d6 commit 2dfcd4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/abstractinterpret/typeinfer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ struct JETCallback
analysis_cache::AnalysisCache
end

@static if VERSION v"1.11.0-DEV.798"
@static if VERSION v"1.11.0-DEV.1552" # nothing to do
elseif VERSION v"1.11.0-DEV.798"
function add_jet_callback!(mi::MethodInstance, analysis_cache::AnalysisCache)
callback = JETCallback(analysis_cache)
CC.add_invalidation_callback!(callback, mi)
Expand Down

0 comments on commit 2dfcd4e

Please sign in to comment.