Skip to content

Commit

Permalink
More x86 orcv2
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 6, 2024
1 parent 0dc217b commit 81c60c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/compiler/orcv2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,11 @@ function add!(mod)
end

function lookup(name)
LLVM.lookup(jit[].jit, name)
@static if sizeof(Int) == sizeof(Int64)
LLVM.lookup(jit[].jit, name)
else
UInt(LLVM.lookup(jit[].jit, name))
end
end

end # module

0 comments on commit 81c60c2

Please sign in to comment.