Skip to content

Commit d717167

Browse files
authored
Remove method_table from ci_cache_populate args (#493)
1 parent 5fc9c6d commit d717167

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/jlgen.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ end
489489

490490
## codegen/inference integration
491491

492-
function ci_cache_populate(interp, cache, mt, mi, min_world, max_world)
492+
function ci_cache_populate(interp, cache, mi, min_world, max_world)
493493
src = CC.typeinf_ext_toplevel(interp, mi)
494494

495495
# inference populates the cache, so we don't need to jl_get_method_inferred
@@ -558,10 +558,9 @@ end
558558
function compile_method_instance(@nospecialize(job::CompilerJob))
559559
# populate the cache
560560
cache = ci_cache(job)
561-
mt = method_table(job)
562561
interp = get_interpreter(job)
563562
if ci_cache_lookup(cache, job.source, job.world, job.world) === nothing
564-
ci_cache_populate(interp, cache, mt, job.source, job.world, job.world)
563+
ci_cache_populate(interp, cache, job.source, job.world, job.world)
565564
end
566565

567566
# create a callback to look-up function in our cache,

0 commit comments

Comments
 (0)