Skip to content

Commit 71ed9d9

Browse files
committed
Run the always inliner for llvmcall bodies.
1 parent 10d96db commit 71ed9d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/irgen.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ function irgen(@nospecialize(job::CompilerJob), method_instance::Core.MethodInst
7373
end
7474
internalize!(pm, exports)
7575

76+
# inline llvmcall bodies
77+
always_inliner!(pm)
78+
7679
can_throw(job) || add!(pm, ModulePass("LowerThrow", lower_throw!))
7780

7881
add_lowering_passes!(job, pm)

0 commit comments

Comments
 (0)