Skip to content

Commit d2d7a73

Browse files
committed
Make sure that the information in compiled is correct
1 parent 3c80a5d commit d2d7a73

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/irgen.jl

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ function irgen(@nospecialize(job::CompilerJob))
8080
compiled[job.source] =
8181
(; compiled[job.source].ci, func, specfunc)
8282

83+
for mi in keys(compiled)
84+
mi == job.source && continue
85+
ci, func, specfunc = compiled[mi]
86+
compiled[mi] = (; ci, func=safe_name(func), specfunc=safe_name(specfunc))
87+
end
88+
8389
# minimal required optimization
8490
@timeit_debug to "rewrite" begin
8591
if job.config.kernel && needs_byval(job)

0 commit comments

Comments
 (0)