From 4dde308821a4d6de5cc94e84c0d1831db8413e76 Mon Sep 17 00:00:00 2001 From: William Moses Date: Fri, 6 Dec 2024 00:11:24 -0600 Subject: [PATCH] Update orcv2.jl --- src/compiler/orcv2.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/orcv2.jl b/src/compiler/orcv2.jl index 795d1f71d4..3d9ccf5af9 100644 --- a/src/compiler/orcv2.jl +++ b/src/compiler/orcv2.jl @@ -267,9 +267,9 @@ end function lookup(name) @static if sizeof(Int) == sizeof(Int64) - LLVM.lookup(jit[].jit, name) + LLVM.lookup(jit[].jit, name).ptr else - UInt(reinterpret(UInt64, LLVM.lookup(jit[].jit, name))) + UInt(LLVM.lookup(jit[].jit, name).ptr) end end