Skip to content

Commit e55041f

Browse files
christiangnrdmaleadt
authored andcommitted
Fix code_llvm with nightly julia
1 parent d47b9ad commit e55041f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/reflection.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ InteractiveUtils.code_warntype(err::KernelError; kwargs...) = code_warntype(err.
167167
struct jl_llvmf_dump
168168
TSM::LLVM.API.LLVMOrcThreadSafeModuleRef
169169
F::LLVM.API.LLVMValueRef
170+
@static if VERSION >= v"1.14.0-DEV.1823" # JuliaLang/julia#60698
171+
dump::Ptr{Nothing}
172+
jl_llvmf_dump(TSM::LLVM.API.LLVMOrcThreadSafeModuleRef, F::LLVM.API.LLVMValueRef) = new(TSM, F, C_NULL)
173+
end
170174
end
171175

172176
"""

0 commit comments

Comments
 (0)