diff --git a/src/utils.jl b/src/utils.jl index aa94e766f8..a82ccc93c0 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -212,6 +212,17 @@ end return res end +@inline function lookup_world( + @nospecialize(sig::Type), + world::UInt, + mt::Core.Compiler.CachedMethodTable, + min_world::Ref{UInt}, + max_world::Ref{UInt}, +) + res = lookup_world(sig, world, mt.table, min_world, max_world) + return res +end + @inline function lookup_world( @nospecialize(sig::Type), world::UInt,